Hi Allan,
On Sat, 2005-10-29 at 13:14 +0200, Allan Rasmusson wrote:
>
> I'm using glBlendFunc(GL_ZERO, GL_ONE_MINUS_SRC_ALPHA); (at line 1578 in
> OSGBrick.cpp)
Hm, that really only works for drawing black on white without color,
which is a little too specialized for my taste.
> I've been thinking about this solution as well. It just seemed at bit
> overkill, but I think I will try it.
OK. Using a TextureGrabBackground and TextureForeground you can do it
with a single additional viewport.
> This was the first solution, but it's just way to cumbersome. It is very
> difficult to have an idea of the final image when changing the
> LookupTable just a bit. A real-time solution is definitely needed.
Yeah, that's what I though.
> I find this a bit of a clumsy hack. I don't like a solution where one
> needs to edit the source of a newly download OpenSG version. (I'm sure
> you are NOT going to put hacks like this in the cvs :-)
Not if I can avoid it. ;)
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