OSG绘制基本图形实验一
天津理工大学
计算机科学与
技术学院
实验报告
2015至2016学年 第
二学期附录(可包括源程序清单或其它说明)
源代码:
#include <
>#include<osg/Geode>
#include<osg
DB/ReadFile>
#include<osgUtil/SmoothingVisitor>
#include<osgViewer/Viewer>
#include <osg/Geometry>
#include<osg/Matrixd>
#include<osg/MatrixTransform>
#include<osg/ShapeDrawable>
#include<osgText/Text>
#include <osgText/Font>
#include <
>void createContent1(osgText::Text& textObject,const char* string);
osg::Geode* draw()
{osg::ref_ptr<osg::Node> node = new osg::Node;
osg::re ...
附件列表