Nothing Happend (manual render)

willthrom

12-03-2008 11:49:48

Hi,

I test PLS2 in Flight Simulator proyect. I don't use FrameLisneter, all by my self with RenderOne and etc,etc.

I try to load cannon map, no errors is showed, but i can't see it.

In gcanyon_heigh_4k2k.cfg exist some options which i cant find in wiki/forum etc.

# where to put camera on load.
BaseCameraViewpoint.x=-4702.0f
BaseCameraViewpoint.y=250245.0f
BaseCameraViewpoint.z=-19140.0f

Baselookat.x=0.0f
Baselookat.y=0.0f
Baselookat.z=0.0f

I don't know if the issue is because my camera if set out of range. I erase this opction in config gcannon file. and set my camera in 0,35000,0. but still i can see nothing.

Where the map is created? center in 0,0,0? left_down corner in 0,0,0? Camera direcction have to be 0,-1,0? ( I move the camera arround and dont see the map)

Any step to check the map is loaded well?
where i have to set the camera?

sceneMgr = root->createSceneManager("PagingLandScapeSceneManager", "PagingLandScapeDemo" );
camera = sceneMgr->createCamera("PlayerCam");
sceneMgr->setWorldGeometry( Ogre::String("paginglandscape2.cfg") );




Version 1.4.6 (Eihort)
PLM2 CVS (tag HEAD)
PreCompile Demo run well ( if i compile the demo myselft, both keyboard and camera controls is very diferent)

Thank you very much i'm sorry about my english

willthrom

12-03-2008 13:43:10

Finally I see the cannon terrain, but I have to set the camera to "(-6800,150548,-2990);" And I don't know why.

Where terrain is created????

thank you

willthrom

12-03-2008 14:26:19

I notice that If a set camera to (-2800,300000,0) terrain is not showed, but if I set to (-2900,300000,0) I can see terrain where camera is in the center.

If a set camera to (-2800,300000,0) and I move with direccion (0,-1,0) I still see nothing BUT if with direccion (-0.01,-1,0) when camera position x is -2850 terrain is showed and center in the screen.

?¿?¿?¿?¿?
Is it a bug? or what?

thank you.