Changeset 1177 for GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/include
- Timestamp:
- 08/02/06 15:22:19 (19 years ago)
- Location:
- GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/include/OgreKdTree.h
r1173 r1177 429 429 enum RenderMethod 430 430 { 431 KDRM_RECURSE, 432 KDRM_STACK, 433 KDRM_SAW, 434 KDRM_CHC 431 KDRM_INTERNAL, 432 KDRM_GTP_VFC, 433 KDRM_GTP_SWC, 434 KDRM_GTP_CHC 435 435 436 }; 436 437 … … 488 489 void recQueueVisibleObjects(KdTree::Node * node, unsigned long currentFrame, 489 490 Camera* cam, RenderQueue* queue, bool onlyShadowCasters, bool showBoxes); 490 // stack based rendering function491 void stackQueueVisibleObjects(KdTree::Node * root, unsigned long currentFrame,492 Camera* cam, RenderQueue* queue, bool onlyShadowCasters, bool showBoxes);493 491 494 492 // the root node of the kdtree -
GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/include/OgreKdTreeSceneManager.h
r1175 r1177 32 32 virtual const String& getTypeName(void) const; 33 33 34 /** Override from SceneManager to create SceneNodes as instance of KdTreeSceneNode 35 */ 34 36 virtual SceneNode* createSceneNode(void); 37 /** Override from SceneManager to create SceneNodes as instance of KdTreeSceneNode 38 */ 35 39 virtual SceneNode* createSceneNode(const String& name); 40 36 41 /** Override from SceneManager so that sub entities can be assigned an id for item buffer. 37 42 */ … … 42 47 virtual void _updateNode(KdTreeSceneNode *node); // TODO: 43 48 44 //virtual void _updateSceneGraph(Camera* cam); 49 /** Override from scene manager to st up culling manager 50 */ 51 virtual void _updateSceneGraph(Camera* cam); 52 /** Override from Scenemanager, employ kd-tree based culling 53 or CHC 54 */ 45 55 virtual void _findVisibleObjects(Camera *cam, bool onlyShadowCasters); 46 56 //virtual void _renderVisibleObjects(); 47 57 58 /** Render a list of scenenodes 59 */ 48 60 virtual void _renderNodes(const KdRenderableList& nodelist, Camera * cam, 49 61 bool onlyShadowCasters, int leavePassesInQueue);
Note: See TracChangeset
for help on using the changeset viewer.