Re: [osg-users] Height Above Terrain for PagedLOD node converted from Proxy node

2008-07-03 Thread Kiff Loh

Hi,
 
Is there any chance of querying the height of this terrain with OSG 1.2? 
 
OSG 1.2 doesn't have this osgSim::HeightAboveTerrain class. 
 
Kiff
 
 Message: 5 Date: Wed, 2 Jul 2008 11:41:38 +0100 From: Robert Osfield 
 [EMAIL PROTECTED] Subject: Re: [osg-users] Height Above Terrain for 
 PagedLOD node converted from Proxy node To: OpenSceneGraph Users 
 osg-users@lists.openscenegraph.org Message-ID: [EMAIL PROTECTED] 
 Content-Type: text/plain; charset=ISO-8859-1  2008/7/2 Kiff Loh [EMAIL 
 PROTECTED]:  Hi,   I've just converted some OpenFlight files to Paged 
 ive by replacing the  Proxy nodes to PagedLOD nodes in the master flight, 
 thanks to Brian Hill.  Can anyone advise me on how do I do a terrain height 
 query with this new  pagedLOD database?  osgSim::HeightAboveTerrain.   
 --
_
Get your free suite of Windows Live services today!
http://www.get.live.com/wl/all___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] Height Above Terrain for PagedLOD node converted from Proxy node

2008-07-02 Thread Kiff Loh

Hi,
 
I've just converted some OpenFlight files to Paged ive by replacing the Proxy 
nodes to PagedLOD nodes in the master flight, thanks to Brian Hill. Can anyone 
advise me on how do I do a terrain height query with this new pagedLOD 
database? 
 
Kiff
_
Help Splitzo Sally Before It’s Too Late! 
http://www.thegirlwhosplitinto5.com/___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] Paging Openflight

2008-06-27 Thread Kiff Loh

Hi, I read some very interesting posts by Robert and Brian Hill on paging an 
openflight database. Robert says, 'The OSG natively supports database paging, 
and its automatically set up in osgViewer::Viewer/CompositeViewer when your 
scene contains osg::PagedLOD nodes - it's PagedLOD nodes that provide the 
information about the what to page in. The OpenFlight loaders doesn't know 
about paging itself, the format itself doesn't support as far as I'm aware.  If 
you wish to use it forpaging then you'll need to take the database and convert 
to an OSG native format and insert PagedLOD nodes where appropriate.'How do I 
'take the database and convert to an OSG native format and insert PagedLOD'? I 
actually managed to download ConvertPagedLOD.cpp from another post by Brian R 
Hill. Do I compile it in OSG environment, and then try to 'convert the 
osg::ProxyNodes to osg::PagedLODs'? How do I set the osg::PagedLODs center and 
radius?
 
Thanks for the help.Kiff
_
Easily edit your photos like a pro with Photo Gallery.
http://get.live.com/photogallery/overview___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] Maximum database size without paging

2008-06-19 Thread Kiff Loh

Hi, I'm in the midst of converting a very large database of openflight files 
and textures into ive to be loaded in osgviewer. It seems that when my ive 
files are close to 1 Gb of size, my osgconv will crash from a windows error. 
When I break my flt files into a few ive files and load them with osgviewer, 
the same thing happen. I'm using osg 1.2, but I guess 2.4 will have the same 
problem. 1) Is there a maximum size (eg ive) that can be loaded into osg? Could 
the limit be on my graphics card memory or system RAM?2) Is there advantage to 
have 1 big ive, or a few smaller ive files?3) Is the limit more on textures 
size, or number of triangles? Kiff
_
Easily edit your photos like a pro with Photo Gallery.
http://get.live.com/photogallery/overview___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] TerraPage tile having own origin

2008-03-06 Thread Kiff Loh
Hi,

 

I'm building a large visual database using Terra Page and running on
OSG. I read that from Terra Vista help that Terra Vista allows the TXP
database to have an origin for each tile instead of the whole gaming
area. It states that This setting requires an extra offset for the
runtime. 

 

Anyone knows how do we load such a database in OSG? I may need such a DB
because my current XYZ is causing a lot of jittering from terrain to
models and lights.

 

Below is an extract from Terra Vista Help.

 

Use this field to tell Terra Vista whether the coordinates in your
output TXP database are offset with respect to the origin of the Gaming
Area, or with respect to each tile. This could, for example, help if
your coordinates were getting too large. Your choices here are:

 

Origin.  When set to Origin each tile will be relative to the origin of
the database. This is the default setting.

 

Tile.  If set to Tile, each TerraPage tile will be relative to its own
origin. This setting requires an extra offset for the runtime. The
advantage of using Tile, is that there is more numerical accuracy for
larger databases. 

 

 

Kiff

 

-Original Message-



___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] Changing day night textures of models in TerraPage OSG

2008-03-06 Thread Kiff Loh
Hi,

How do we change the Day/Night/Dry/Wet textures of 3D models and runways
that are planted in Terra Page? 

Anyone can help?

Kiff

-Original Message-


___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] OSG with TerraPage. Buildings and lights flickering

2008-02-28 Thread Kiff Loh
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

 

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] LOD problems using OSG with TerraPage

2008-02-17 Thread Kiff Loh
Hi,

I'm using OSG viewer to see a txp terrain generated by Terra Vista. I
have 10m and 1m imagery, with multiple LODs.

I noticed that when I'm doing low level flying using OSG viewer, my most
detailed LOD sometimes switches to the 2nd LOD. I'm flying just above
the terrain, so it is quite impossible that the 2nd distances switched
in.

I've tried 3 LOD (10m) with high resolution insets (1m), 3 LOD (10m)
with 6 LOD AOI (1m), and I noticed the problem pops most of the time
when I generate the database. I've tried shifting the 2nd LOD to 50,000m
to avoid the problem, but it still appears.

Please help. 

777



-Original Message-


___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org