Bug? Orthogonal camera and terrains

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
porcus
Posts: 149
Joined: Sun May 27, 2007 6:24 pm
Location: Germany

Bug? Orthogonal camera and terrains

Post by porcus »

I have problems with orthogonal cameras and terrains.
It looks like it's the same as in the following topic:
http://irrlicht.sourceforge.net/phpBB2/ ... ra+terrain
(which is already 6 years old).
Is there now any fix or workaround available ?
I already tried messing up the view frustum, disabling automatic culling and
resetting the transformation matrices all the time but nothing worked so far.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

I guess it's due to the LOD calculations, which are affected by the camera. Easiest thing would be to switch from terrain scene node to terrainMesh. This has no LOD and will work with orthoCams as well. For the terrain scene node I guess we have to apply some mathematics and update the engine code. Patches are welcome.
Post Reply