#include <osg/Notify>
#include <osg/MatrixTransform>
#include <osg/PositionAttitudeTransform>
#include <osg/Geometry>
#include <osg/Geode>
#include <osgUtil/Optimizer>
#include <osgDB/Registry>
#include <osgDB/ReadFile>
#include <osgDB/WriteFile>
#include <osgGA/TrackballManipulator>
#include <osgGA/FlightManipulator>
#include <osgGA/DriveManipulator>
#include <osgSim/OverlayNode>
#include <osgViewer/Viewer>
#include <iostream>
//创建一个四边形节点
osg::ref_ptr<osg::Node>createCircle()
{
//创建一个叶节点对象
osg::ref_ptr<osg::Geode>geode = new osg::Geode;
//创建一个几何体对象
osg::ref_ptr<osg::Geometry>
OSG+VC++实现颜色渐变
最新推荐文章于 2023-05-23 16:11:34 发布