2012年7月13日
摘要: 代码osg::ref_ptr<osg::Group> createParticle(osg::ref_ptr<osg::Group> root){ //osg::ref_ptr<osg::Group> root = new osg::Group() ; //创建粒子系统模板 osgParticle::Particle ptemplate; //设置生命周期 ptemplate.setLifeTime(2); //设置粒子大小变化范围 ptemplate.setSizeRange(osgParticle::rangef(0.01f, 1.0f)); ... 阅读全文
posted @ 2012-07-13 11:53 筋肉强打 阅读(2271) 评论(0) 推荐(1) 编辑