On Jan 18, 2008 8:56 AM, hesicong2006 <[EMAIL PROTECTED]> wrote:
> Hi everyone,
> I have a volume data which is 256*256*256 cube, and I found it very slow
> when ray-casting. And I notice the video memory usage is 74M. I want to
> compress it to an hardware-support compressed format (S3TC_DXT1 or
> S3TC_DXT3 or S3TC_DXT5), but I found no example demonstrate how to use
> it. I tried to use
> osg::Texture3D::setInternalFormatMode(osg::Texture::InternalFormatMode::USE_S3TC_DXT1_COMPRESSION),
> but the video memory usage appears same as before.
> My computer has a Nvidia Geforce 8800 with latest driver, 3D compress
> texture is support by this hardware.
> Could anyone tell me if another steps needed to use 3D texture compress?

I've just 3D texture compression before and found an improvement.  The
osgvolume example has support for using texture compression.   Just
run osgvolume --help for details.






Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to