is demo supposed to be 2D ?

iceman79

08-02-2008 00:15:02

Hi,

So I've gotten my PLSM2 demo to build and run (albeit with some occasional crashes).

I have one burning question.

Is the screen output supposed to be 2D ?

Or 3D ?

Mine now just looks like a flat pancake terrain, and I'd like to know if thats what I'm supposed to be seeing.

I thought the output would be in more 3D.

If it was supposed to be 3D, does anyone have suggestions on what I may have done wrong ?

I've run the mapsplitter app without errors.

If its supposed to be 2D, does anyone have any suggestions on how to load up a 3D demo with paging ?

Thanks so much !

Maxi

09-02-2008 00:51:34

Hi Iceman

I'm not shure if I got your problem right, but if your terrain looks like a 2D plane there might be two reasons:

1. Your camera is above the terrain in a distance that is to large to see different altitudes.

2. The terrain is a plane :)

Nodrev

11-02-2008 12:10:46

or the scaleY parameter in the map config is too low.

iceman79

13-02-2008 00:07:23

Hmmm,

which config file specifies the scaleY paramater ?

I thought I found it yesterday, but now my searching is not working on words in textfiles ... go microsoft !!! lol

Nodrev

13-02-2008 14:17:21

in the map config... it's something like "Alpes.cfg"
Read wiki for informations: http://www.ogre3d.org/wiki/index.php/Paging_Scene_Manager_config_files
<edit>i didn't have Ogre at work, so i can't help you more</edit>

iceman79

13-02-2008 16:28:01

Ah yes of course, now I remember how I found it lol.

Anyways, the current scale settings are:

ScaleX=9000
ScaleY=9000
ScaleZ=9000

I changed ScaleY to 90000, but all that did was make the green trees look blurry instead of jagged.

I can zoom in on the image by using the up and down keys or 'a', 'q', 's', 'd', but the 2D effect does not seem to go away.

Any other ideas ?

Thanks !!!

iceman79

14-02-2008 16:26:45

Ya know, after experimenting with some other terrain display programs I'm starting to think that maybe my camera is not positioned correctly, ie from a top down view.

But I'm having trouble moving my camera so it points horizontally.

Any suggestions ?

Thanks !

yggl

14-02-2008 18:51:46

I built the demo (cvs head with ogre 1.4.6, VS2005 on vista) and noticed the mouse is not controlling camera pitch and yaw. Something is wrong with the FrameListener.

You must have the same issue.

I had to modify UpArrow and DownArrow keys to do camera pitch. This way I can "fly down" to my terrain and view horizontally instead of only vertically. Hope this helps.


Ya know, after experimenting with some other terrain display programs I'm starting to think that maybe my camera is not positioned correctly, ie from a top down view.

But I'm having trouble moving my camera so it points horizontally.

Any suggestions ?

Thanks !

NoodlesOnMyBack

19-02-2008 07:06:13

i had the same problem at first but if you press the M key you can control the camera (you have to hold down the CTRL key to move faster or the space bar work as well, if you do not do this you will move but so slow that it seems you are not moving), and if you press F2 (i think) you can 'walk' over the surface of the terrain, but this demo its very crashy and not working very good.
I also noticed that pressing N loads another map.

Thorinos

13-05-2008 15:16:04

You can also press CTRL+SPACEBAR for additionnal speed.