Re: [osg-users] Usage of the command line of osgTerrain

2010-07-16 Thread Robert Osfield
Hi Ting,

On Fri, Jul 16, 2010 at 2:16 AM, ting zhang bee...@sina.com wrote:
 Do you know what kind of technique is used in the runtime generation. I 
 analysed osgTerrain, unfortunately,  I cannot find any runtime generation 
 techniques of terrains in osgTerrain, am I right?

There is only one technique available in osgTerrain right now - the
osgTerrain::GeometryTechnique which is a brute force tessellation of
the tiles, where a regular grid is generated, and only very simple
down sampling is provided in the form of a coarser regular grid.

The design of osgTerrain is that it allows you to provide your own
custom TerrainTechnique so you can implement any tessellation approach
you want.

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


Re: [osg-users] Usage of the command line of osgTerrain

2010-07-15 Thread ting zhang
Hi, Robert

Thank you very much. Since osgTerrain is both used in VPB and osgEarth, is it 
related with the runtime generation of terrains? I used osgEarth, I found that 
the runtime generation of terrains in osgEarth is excellent. When I viewed a 
new detailed scene, the scene came to me quickly like googleEarth. This is what 
I meant real-time generation before, actually it's runtime generation, quite 
unlike the pre-generation of terrains in VPB. Do you know what kind of 
technique is used in the runtime generation. I analysed osgTerrain, 
unfortunately,  I cannot find any runtime generation techniques of terrains in 
osgTerrain, am I right?
... 

Thank you!

Cheers,
ting

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=30054#30054





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


Re: [osg-users] Usage of the command line of osgTerrain

2010-07-07 Thread Robert Osfield
Hi Ting,

On Tue, Jul 6, 2010 at 10:37 PM, ting zhang bee...@sina.com wrote:
    Thank you very much. But I heard that the osgTerrain OSG example in osg 
 2.8.0 or even higher version has some features about the real-time generation 
 of terrains. Is this true or not? thank you again.

It all depends upon what you mean by real-time generation of
terrains as this is so open ended it could mean many different
things.  osgTerrain builds it's geometry and state it uses for
rendering from height fields and imagery, this is all done
automatically for you.  You can also control various parameters like
sample density and vertical exaggeration at runtime via the
osgTerrain::Terrain control node.

osgTerrain also works well with paged databases, either ones that are
created offline by the likes of VirtualPlanetBuilder, or on the fly by
3rd party NodeKits like osgEarth.

Whether this answers your question I have no idea.

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


Re: [osg-users] Usage of the command line of osgTerrain

2010-07-06 Thread Robert Osfield
Hi Ting,

The old osgterrain example was written for testing purposes of niche
features rather than an educational example, so unfortunately isn't a
great place to lean how to use osgterrain as it's way too complicated.

Both VirtualPlanetBuilder and osgEarth build osgTerrain based
databases so these might be a good place to look for another reference
on how to build osgTerrain databases.

Robert.

On Mon, Jul 5, 2010 at 10:39 PM, ting zhang bee...@sina.com wrote:
 Hi,
 I am learning osgTerrain recently. But I am confused about the command line 
 of osgTerrain OSG examples. Would someone kindly provide me a example of the 
 usage of the command line of osgTerrain. Thank you.
 ...

 Thank you!

 Cheers,
 ting

 --
 Read this topic online here:
 http://forum.openscenegraph.org/viewtopic.php?p=29706#29706





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

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


Re: [osg-users] Usage of the command line of osgTerrain

2010-07-06 Thread ting zhang
Hi,
Thank you very much. But I heard that the osgTerrain OSG example in osg 
2.8.0 or even higher version has some features about the real-time generation 
of terrains. Is this true or not? thank you again.
... 

Thank you!

Cheers,
ting

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=29756#29756





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


[osg-users] Usage of the command line of osgTerrain

2010-07-05 Thread ting zhang
Hi,
I am learning osgTerrain recently. But I am confused about the command line of 
osgTerrain OSG examples. Would someone kindly provide me a example of the usage 
of the command line of osgTerrain. Thank you.
... 

Thank you!

Cheers,
ting

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=29706#29706





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