Hi Vincent, hi Manfred,
On Thu, 2005-03-31 at 17:16 +0200, Manfred Weiler wrote:
>
> Buy maybe you can just patch the original OSGDVRSimpleShader.
> e.g. check for the number of color channels in the image and use one
> or the other call for registering the textures.
That's what I just did and commited, the next dailybuild should have it.
Note that the DVRVolume expects to see a SliceThickness attachment in
the image to account for non-cubic voxels. Just add
imageP->setAttachmentField( "SliceThickness", "1 1 1" );
to your image and it should work just fine.
Note that using RGB will not work well, as the volume will not be
transparent, you should use RGBA.
Yours
Dirk
--
-- Dirk Reiners OpenSG Forum [EMAIL PROTECTED]
-- The OpenSG Open Source Scenegraph: http://www.opensg.org
-- Announcements: http://lists.sf.net/lists/listinfo/opensg-announce
-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/Info/Sentarus/hamr30
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users