osg
c草菜鸟
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
osg中设置模移动旋转缩放
osg::ref_ptrosg::Node>xcModel = osgDB::readNodeFile("Models/www.ive"); if(xcModel.valid()) { osg::ref_ptrosg::MatrixTransform> xcTrans = new osg::MatrixTransform; xcTr原创 2017-07-31 17:25:04 · 1631 阅读 · 0 评论 -
osg::Geomtery多图元重叠闪烁问题
void DrawGeom(){if(!_geom.valid()) { _geom = new osg::Geometry; _geom->setDataVariance(osg::Object::DYNAMIC);\ _geom->getOrCreateStateSet()->setMode(GL_BLEND,osg:原创 2017-07-28 22:02:05 · 3218 阅读 · 0 评论 -
OSG 让模型变成你想要的颜色 (贴纹理)
#include #include #include #include #include #include osg::Image* createImage( int width, int height,osg::Vec3 color ){ osg::ref_ptrosg::Image> image = new osg::Image; image->a原创 2017-08-14 16:15:23 · 8469 阅读 · 0 评论
分享