Hi Jan,

On Tue, 2004-10-19 at 07:16, Jan Meseth wrote:
> Hi,
> 
> I currently need to implement an application in OpenSG which requires in
> some parts to turn on or off writes to the color and depth buffer (i.e.
> glColorMask(), glDepthMask() ). I expected to find such options in some
> of the StateChunks but unfortunately couldn't find any. 
> 
> Therefore my question is: does anyone know of a way to do so in OpenSG
> on a per-material basis?

nobody's needed it yet, so we haven't implemented it. 

The best way to do that would be to implement a StateChunk for it. Given
that both of those calls are core OpenGL, it should be pretty simple to
do that, the ClipPlaneChunk might be a good example for it.

Yours

        Dirk




-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to