Hi Kiff,
I use terrapage and a couple of things you should take care about.
If you have footprints when you build your terrapage database you need to
make sure that your database only contains the footprint and not the terrain
as well, otherwise you will get z fighting
I always move my terrain around the eyepoint rather than move the eyepoint
around the terrain, so that you always maintain as much decimal part
accuracy as possible.
You should explicitly control the near/far clipping distances in your
viewing. This should help reduce any tearing or popping of the terrain
Hope this helps. I use the above techniques and can fly around databases of
several thousand kilometers with textures of 10m down to 0.5m resolution and
buildings and light points firmly fixed to the terrain
Mark
[EMAIL PROTECTED]
Date: Fri, 29 Feb 2008 10:40:41 +0800
From: "Kiff Loh" <[EMAIL PROTECTED]>
Subject: [osg-users] OSG with TerraPage. Buildings and lights
flickering
To: <[email protected]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii"
Hi
I have a large area TerraPage visual database loaded in OSG. When my 3D
building models and light points (flt or ive) are planted close to the
origin, everything works well. But when they are planted at somewhere
far away, everything starts shaking and flickering, even at distances of
less than 1km viewpoint. My X Y is only 5 digits.
I've tried creating a matrix for my models and lights, creating external
files etc. None of them works. I have to significantly lift models above
the ground (eg 1m-20m) to have any positive results. I've heard that
setting footprint and cutting up the terrain for my buildings, the
problem will be resolved. But what about the lights flickering?
Can anyone help? Is lifting my stuff above the ground the only way to
solve this problem?
777
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.21.2/1304 - Release Date: 29-Feb-08
8:18 AM
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org