Changeset 13041 for OpenSceneGraph/trunk/src/osgPlugins/bsp/Q3BSPReader.cpp
- Timestamp:
- 03/21/12 18:36:20 (14 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgPlugins/bsp/Q3BSPReader.cpp
r12292 r13041 126 126 127 127 protected: 128 128 129 129 int m_tessellation; 130 130 std::vector<BSP_VERTEX> m_vertices; … … 286 286 } 287 287 288 289 288 289 290 290 osg::Geometry* patch_geom = new osg::Geometry; 291 291 //tessellate the patch … … 296 296 stateset->setTextureAttributeAndModes(0,texture,osg::StateAttribute::ON); 297 297 } 298 298 299 299 if(lightmap_texture) 300 300 { 301 301 stateset->setTextureAttributeAndModes(1,lightmap_texture,osg::StateAttribute::ON); 302 302 } 303 303 304 304 //patch_group->addChild(map_geode); 305 305 … … 308 308 } 309 309 } 310 310 311 311 312 312 } … … 365 365 366 366 return obj_geom; 367 367 368 368 369 369 }
