Hi All;
First of all I want to make a very simple flight simulator; I have "Portland"
terrain which I download from "http://www.openeaagles.com/visualdb.html" sites.
It produced by terrapage. When I try to open it instead of JoeDirt.flt in NPS
tutorial with tank, it is open but after a second the tank get invisible! Why ?
Second question;
I have a aircraft model and I can rotate around of it. My tree like this;
mRoot
-------->mLightGroup
-------->mLightSource
-------->mLight
-------->mModelGroup
-------->mTransform (osg::MatrixTransform)
-------->mModel (aircraft model .osg)
As you see, my aircraft could rotated with osg::MatrixTransform functions by
user. I couldn't find out where should I "XXX.addchild(mTerrainNode)" my
terrain! I try a lot of combination but anytime the terrain didn't appear on
the screen with aircraft! What is wrong? I am using mTerrainNode =
osgDB::readNodeFile( mTerrainPathName ); function to read. Should I use
different class or namespace to read or manipulate?
Please help me! Thank a lot!
_________________________________________________________________
Windows Live Messenger'ın için ücretsiz güncelleştirme!
http://get.live.com
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org