Hi Johannes,
Johannes Brunen wrote:
> Hello again,
>
> I have another question for which I didn't find a proper answer:
>
> Is it possible to draw part of the scene with logical operations
> enabled?
> Something like this
>
> glPushAttrib(GL_ENABLE_BIT);
> glEnable(GL_COLOR_LOGIC_OP);
> glLogicOp(GL_XOR);
> glDisable(GL_LIGHTING);
> glDisable(GL_DEPTH_TEST);
>
> How can I set the state machine into the xor drawing state with the
> OpenSG framework?
There is no built-in support for logic ops right now (nobody ever asked for
it).
The way to add it is to add a StateChunk for it, which is not hard but not
trivial either.
I don't have the time to do it right now, maybe somebody else can help.
Sorry
Dirk
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users