Hi Allan,

On Fri, 2005-10-28 at 12:44 +0200, Allan Rasmusson wrote:
> Hi.
>     I've produced some volume renderings which needs to be printed on 
> paper. For this I needed to invert the greyscale of the volume 
> rendering. See http:www.daimi.au.dk/~alras/ArtTest4.png for 
> clarification. I haven't found any way to change the blendfunc in the 
> VolRen library besides hardcoding it in OSGBrick.cpp. Is there another 
> way to do this?

That link didn't seem to work, but in general there is no way to change
the blendfunc, as it is necessary for the blending math. What would you
want to change it to? Subtractive Blending? 

One idea would be to create a normal image, copy it into a texture and
use a little shader to invert the resulting image. Or if it's just a
single image for a publication, you could just invert the image file. or
you could just change it in OSGBrick.cpp and make it dependent on an
environment variable.

Yours

        Dirk




-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to