Changeset 2981 for GTP/trunk/App/Demos/Vis/FriendlyCulling/src/chcdemo.cpp
- Timestamp:
- 09/30/08 00:32:16 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/chcdemo.cpp
r2980 r2981 658 658 // the diffuse color buffer 659 659 fbo->AddColorBuffer(ColorBufferObject::BUFFER_FLOAT_32, ColorBufferObject::WRAP_CLAMP_TO_EDGE, ColorBufferObject::FILTER_NEAREST, ColorBufferObject::FILTER_NEAREST); 660 661 660 // the positions buffer 662 661 fbo->AddColorBuffer(ColorBufferObject::BUFFER_FLOAT_32, ColorBufferObject::WRAP_CLAMP_TO_EDGE, ColorBufferObject::FILTER_NEAREST, ColorBufferObject::FILTER_NEAREST); 663 664 662 // the normals buffer 665 663 fbo->AddColorBuffer(ColorBufferObject::BUFFER_FLOAT_16, ColorBufferObject::WRAP_CLAMP_TO_EDGE, ColorBufferObject::FILTER_NEAREST, ColorBufferObject::FILTER_NEAREST); 666 667 664 // another color buffer 668 665 fbo->AddColorBuffer(ColorBufferObject::BUFFER_FLOAT_32, ColorBufferObject::WRAP_CLAMP_TO_EDGE, ColorBufferObject::FILTER_NEAREST, ColorBufferObject::FILTER_NEAREST); … … 1138 1135 //traverser->RenderScene(); 1139 1136 1140 /*1141 state.Reset();1142 aeroplane->Render(&state);1143 */1144 1145 1137 #if 0 1146 1138 SceneEntityContainer::const_iterator sit, sit_end = sceneEntities.end(); … … 1155 1147 renderQueue->Enqueue(*sit); 1156 1148 #endif 1149 1157 1150 renderQueue->Apply(); 1158 1151 }
Note: See TracChangeset
for help on using the changeset viewer.