Changeset 313 for experimental/distortionNG/main.cpp
- Timestamp:
- Sep 4, 2011, 11:24:46 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
experimental/distortionNG/main.cpp
r311 r313 107 107 108 108 osg::ref_ptr<osg::Geode> geode = new osg::Geode; 109 geode->addDrawable( distortionNG::createMesh(16, 9) );109 geode->addDrawable( extViewer::createMesh(16, 9) ); 110 110 geode->getOrCreateStateSet()->setMode( GL_LIGHTING, osg::StateAttribute::OFF ); 111 111 geode->getOrCreateStateSet()->setAttributeAndModes( new osg::PolygonOffset(1.0f, 1.0f) );
Note: See TracChangeset
for help on using the changeset viewer.