Hello Thiago,

Thiago Bastos wrote:
> Maybe I'm missing something obvious, but I couldn't find a way to have a 
> StateChunk that affects the whole scene (or parts of it) in OpenSG 1.8.

yes, unfortunately there is not a good way to do this in 1, it always 
comes down to adding/removing the chunk from all materials.

> For instance, I would like to have a PolygonChunk that sets polygon-mode 
> to GL_LINE or GL_FILL, to render a scene in wireframe.
> Until recently I was doing direct calls to OpenGL for things like this, 
> but now I want everything to be cluster-able.
> 
> If it's not possible with stock OpenSG 1.8, I ask: is it possible with 
> OpenSG 2.0?

yes, there is a ChunkOverrideGroup that can be used for this purpose.

> BTW, do you consider OpenSG 2.0 to be in a "usable state for most projects"?
> Since we're reviewing all our codebase (currently OpenSG 1.8) to make a 
> single-threaded application work in a cluster, maybe this would be a 
> good time to go with OpenSG 2.0.
> Specially if it may easy our pain with incorrect and/or missing 
> beginEditCP calls...

hm, I know Gerrit has most/all his projects running off 2.0 and the 
things we are working on over here also use it. In general my impression 
is that it works decent and the increased strictness wrt. to reference 
counts and object lifetime have turned up some nasty bugs in 
applications (which despite sometimes being hard to track down, I 
consider a good thing ;) ).

        Hope it helps,
                Carsten

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to