On 1/22/07, Robert Osfield <[EMAIL PROTECTED]> wrote:

Hi Serge,

On 1/22/07, Serge Lages <[EMAIL PROTECTED]> wrote:
> Hi Zach,
>
> Thanks for the tip, but I've already tested it. :) And I would like to
keep
> the database pager to compile my objects with display lists.
>
> Btw, is there any way to write the textures embedded into the IVE files
> directly in dds ? It should be much faster, as they don't need to be
> uncompressed.

The osgTerrain/osgdem database generation and the osgconv application
both support creating of OpenGL compressed (including the DXT series)
textures that are writable to the .ive format.

OpenGL compressed mipmapped textures are the most efficient way of
storing texture data on local disk for the purposes on streaming to
the GPU.  If you have to stream data over the internet then bandwidth
becomes the bottleneck so using JPEG would be better.

If you are getting frame drops then aside from using OpenGL compressed
textures one can also just reduce the texture size so there is small
size of data that has to be copied down at any one time.


Hi Robert,

Thank you very much, I will look at osgTerrain or osgconv to directly write
compressed OpenGL textures.
About the internet streaming, NASA's WorldWind sends dds textures, and I
suspect Google Earth to also do it, so I think that it's a good compromise
between compression and performance. I will give it a try and report back my
results. :)

Thanks again !

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

Reply via email to