Rafa Gaitan wrote:
Well, we are not experimented in the use of DatabasePager... but I thought that could be necessary to have the PagedLOD files previously on disk. If we create tiles during navigation.. and textures could change in any moment, or even elevation maps.. then is not possible to have geometry tiles on disk, is more easy to have tiles in memory.. but unloading those less used, and regenerate the tile if is necessary view it. But if you have any other suggestion, I'm very open minded! :).

As Robert mentioned, OSG uses "loaders" to bring in files "from disk". Loaders are plugins, which you can write, which take a "filename" and deliver a scene subgraph when finished. However, nothing says that the filename has to be a filesystem path, or that the data actually originates from a file on disk that is specified by that path. In my case, the "filename" is a tile ID, encoded as a string. My plugin creates the data from both in-memory and on-disk resources, and delivers the resulting data to the scene graph.

When the scene graph is not using the tile data, PagedLOD discards the scene subgraph on its own, and when it is needed again, it calls the plugin to load/create the data again.

but by now I prefer to continue the current development, because is not clear to me in a unique generated earth mesh.. apply height fields and texture tiles.

  Sorry, I don't understand what you're asking there.

You can try out our OSG-based viewer (NatureView Express, for Windows) with some small sample scenes here:
http://3dnature.com/scenesample.html

Rafa.

--
Chris 'Xenon' Hanson aka Eric Hammil | http://www.3DNature.com/ eric at logrus
 "I set the wheels in motion, turn up all the machines, activate the programs,
  and run behind the scenes. I set the clouds in motion, turn up light and 
sound,
  activate the window, and watch the world go 'round." -Prime Mover, Rush.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to