Hi all,

On 2/22/07, Schmidt, Richard, SDGE1 <[EMAIL PROTECTED]> wrote:

Hi,
We just did some work using the pagedLOD stuff, which fits the topic
well. But instead of pregenerating tiles, we are generating the tiles on
the fly. Our geometry generator is implemented as a osg plugin, so we
can use the databasepager as a background worker. :-) Well, it's kind of
a hack but since the pager is implemented really nice we get the
requested tiles fast. Infact we can create (rastered) vmap level 0 tiles
using this online process.


On my project we do both, we load pregenerated tiles then switch to
procedurals one when there is no more tiles to load. It's also implemented
with an osg plugin.

Well, if I will continue working on that, I would make the following
design decisions:

* Split up the code into the rasterizer and the stuff for generating
paged hierarchies. Both are mostly independent from another and require
just a small interface. We would have like three interfaces for
** landscape geometry
** scene geometry
** landscape textures
and there you are allowed to attach your arbitrary GIS tool.


It is what we have done, we don't use osgdem and we have made another tool
allowing to preprocess terrain, textures and content (scenes on the terrain)
separately. Like that you can process any layer of textures that you want
and blend them at run-time for example. We have made a custom PagedLOD
allowing to recompose the nodes at run-time (by taking the terrain geometry,
the textures and the content).

* Allow pagedLOD setup loading nodes from a cache as well as requesting
them via "pseudo plugin" which generates stuff online.

* Cache online generated nodes and invalidate nodes to create the online
again.

* If you still want the whole process offline, just write a node visitor
which writes the files to an archive.

So that our heading, would be great if we could use some stuff from
osgDem (again).


Currently our system allows loading all the data from :
- separated ive files (like osgdem).
- one big archive (not an osga one, we have done a special archive type
special for lod trees)
- databases, like pgsql, mysql or sqlite.

I hope that most of these features should be integrated to OpenPlanetBuilder
(or VirtualWorldBuilder, or anything :)).

--
Serge Lages
http://www.magrathea-engine.org
_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to