seljo
09-03-2009 22:06:00
I am newbie to OGRE, just trying to evaluate whether the terrain paging features will satisfy my requirements, but I can't seem to get the demo to work.
When I run the demo I get an "Access violation reading location 0x00000000" in ..\PagingLandScape2\src\OgrePagingLandScapeOctreeSceneManager.cpp line 1758
mPagingLandScapeOctree->traversal(RegisterCameraTraversal(c), 0);
mPagingLandScapeOctree appears to be null when it shouldn't be.
Watch window of mPagingLandScapeOctree :
- mPagingLandScapeOctree 0x00000000 {mChildren=0x00000028 mNodes=[...]() mMovingNodes=[...]() ...} Ogre::PagingLandScapeOctree *
+ Ogre::OcclusionElement {mIsRegisteredToCam=??? nodeDataPerCam=[...]() mDebugRectangle2d=??? } Ogre::OcclusionElement
+ mChildren 0x00000028 Ogre::PagingLandScapeOctree * [2][2][2]
mNodes [...]() std::list<Ogre::PagingLandScapeOctreeNode *,std::allocator<Ogre::PagingLandScapeOctreeNode *> >
mMovingNodes [...]() std::list<Ogre::PagingLandScapeOctreeNode *,std::allocator<Ogre::PagingLandScapeOctreeNode *> >
mStaticNodes [...]() std::list<Ogre::PagingLandScapeOctreeNode *,std::allocator<Ogre::PagingLandScapeOctreeNode *> >
+ mBox {mMinimum={...} mMaximum={...} mExtent=??? ...} Ogre::AxisAlignedBox
+ mCullBox {mMinimum={...} mMaximum={...} mExtent=??? ...} Ogre::AxisAlignedBox
mWireBoundingBox CXX0030: Error: expression cannot be evaluated
+ mHalfSize {x=??? y=??? z=??? } Ogre::Vector3
+ mCullHalfSize {x=??? y=??? z=??? } Ogre::Vector3
mNumNodes CXX0030: Error: expression cannot be evaluated
mParent CXX0030: Error: expression cannot be evaluated
mSceneMgr CXX0030: Error: expression cannot be evaluated
mOcclusionBoundingBox CXX0030: Error: expression cannot be evaluated
Anyone have any Ideas?
VC++9.0 (VS2008) debug build.
I have read this post to the end, but to no avail. I am unsure what he did to make his project run... http://www.ogre3d.org/addonforums/viewtopic.php?f=2&t=7265&start=60
I downloaded the tarball from here http://ogreaddons.svn.sourceforge.net/viewvc/ogreaddons/trunk/paginglandscape/
I ran into compile errors that i managed to resolve and posted solutions here: http://www.ogre3d.org/addonforums/viewtopic.php?f=2&t=9479
When I run the demo I get an "Access violation reading location 0x00000000" in ..\PagingLandScape2\src\OgrePagingLandScapeOctreeSceneManager.cpp line 1758
mPagingLandScapeOctree->traversal(RegisterCameraTraversal(c), 0);
mPagingLandScapeOctree appears to be null when it shouldn't be.
![Confused :?]({SMILIES_PATH}/icon_confused.gif)
Watch window of mPagingLandScapeOctree :
- mPagingLandScapeOctree 0x00000000 {mChildren=0x00000028 mNodes=[...]() mMovingNodes=[...]() ...} Ogre::PagingLandScapeOctree *
+ Ogre::OcclusionElement {mIsRegisteredToCam=??? nodeDataPerCam=[...]() mDebugRectangle2d=??? } Ogre::OcclusionElement
+ mChildren 0x00000028 Ogre::PagingLandScapeOctree * [2][2][2]
mNodes [...]() std::list<Ogre::PagingLandScapeOctreeNode *,std::allocator<Ogre::PagingLandScapeOctreeNode *> >
mMovingNodes [...]() std::list<Ogre::PagingLandScapeOctreeNode *,std::allocator<Ogre::PagingLandScapeOctreeNode *> >
mStaticNodes [...]() std::list<Ogre::PagingLandScapeOctreeNode *,std::allocator<Ogre::PagingLandScapeOctreeNode *> >
+ mBox {mMinimum={...} mMaximum={...} mExtent=??? ...} Ogre::AxisAlignedBox
+ mCullBox {mMinimum={...} mMaximum={...} mExtent=??? ...} Ogre::AxisAlignedBox
mWireBoundingBox CXX0030: Error: expression cannot be evaluated
+ mHalfSize {x=??? y=??? z=??? } Ogre::Vector3
+ mCullHalfSize {x=??? y=??? z=??? } Ogre::Vector3
mNumNodes CXX0030: Error: expression cannot be evaluated
mParent CXX0030: Error: expression cannot be evaluated
mSceneMgr CXX0030: Error: expression cannot be evaluated
mOcclusionBoundingBox CXX0030: Error: expression cannot be evaluated
Anyone have any Ideas?
VC++9.0 (VS2008) debug build.
I have read this post to the end, but to no avail. I am unsure what he did to make his project run... http://www.ogre3d.org/addonforums/viewtopic.php?f=2&t=7265&start=60
I downloaded the tarball from here http://ogreaddons.svn.sourceforge.net/viewvc/ogreaddons/trunk/paginglandscape/
I ran into compile errors that i managed to resolve and posted solutions here: http://www.ogre3d.org/addonforums/viewtopic.php?f=2&t=9479