: PCJohn
Sent: Thursday, August 05, 2010 12:41 AM
To: OpenSceneGraph Users
Subject: Re: [osg-users] threading and captureCurrentState
Yes. There is. Oh. I see. Sorry for confusion, you call it attribute
stack and that is a correct name for it.
Anyway, there is State::_attributeMap
mailto:osg-users@lists.openscenegraph.org
*Subject:* Re: [osg-users] threading and captureCurrentState
Yes. There is. Oh. I see. Sorry for confusion, you call it
attribute stack and that is a correct name for it.
Anyway, there is State::_attributeMap that is composed
: Tuesday, August 03, 2010 4:38 PM
To: OpenSceneGraph Users osg-users@lists.openscenegraph.org
Subject: [osg-users] threading and captureCurrentState
Hi,
I see a threading issue when capturing current attributes in cull phase.
My code placed in my derived ShadowTechnique::cull():
void MyShadowVolume
I see. Apologies for the misinformation.
WL
--
From: PCJohn pec...@fit.vutbr.cz
Sent: Wednesday, August 04, 2010 9:33 AM
To: OpenSceneGraph Users osg-users@lists.openscenegraph.org
Subject: Re: [osg-users] threading and captureCurrentState
Hi
the side effect that OpenGL context often remains
valid beetwen Render stages .
Wojtek
--
From: PCJohn pec...@fit.vutbr.cz
Sent: Tuesday, August 03, 2010 4:38 PM
To: OpenSceneGraph Users osg-users@lists.openscenegraph.org
Subject: [osg-users
Hi Tim,
Tim Moore wrote:
On Wed, Aug 4, 2010 at 9:33 AM, PCJohn pec...@fit.vutbr.cz
mailto:pec...@fit.vutbr.cz wrote:
Hi,
captureCurrentState name is misleading - it is not capturing state
from OpenGL.
It should be, maybe, getCurrentState. It is just taking last
pushed
On Wed, Aug 4, 2010 at 2:19 PM, PCJohn pec...@fit.vutbr.cz wrote:
Hi Tim,
Tim Moore wrote:
On Wed, Aug 4, 2010 at 9:33 AM, PCJohn pec...@fit.vutbr.cz wrote:
Hi,
captureCurrentState name is misleading - it is not capturing state from
OpenGL.
It should be, maybe, getCurrentState. It
Yes. There is. Oh. I see. Sorry for confusion, you call it
attribute stack and that is a correct name for it.
Anyway, there is State::_attributeMap that is composed of
AttributeStack structs and they have a member attributeVec that is
serving as a stack of attributes.
Hi,
I see a threading issue when capturing current attributes in cull phase.
My code placed in my derived ShadowTechnique::cull():
void MyShadowVolume::cull( osgUtil::CullVisitor cv )
{
ref_ptr StateSet currentState = new StateSet;
cv.getState()-captureCurrentState( *currentState );
, August 03, 2010 4:38 PM
To: OpenSceneGraph Users osg-users@lists.openscenegraph.org
Subject: [osg-users] threading and captureCurrentState
Hi,
I see a threading issue when capturing current attributes in cull phase.
My code placed in my derived ShadowTechnique::cull():
void MyShadowVolume
10 matches
Mail list logo