Hi,
My Apologies. The sentence in the middle should read:
"What goes into the apply method? Simply pushing the modelview
matrix and calling the osg::ClipPlane::apply method and then popping it does
not work. The ModelViewMatrix appears to be correctly set."
Cheers,
Yuri
--
Re
Hi,
Robert,
You outlined how to use a custom osg::ClipPlane to enable multiple ClipNodes
per scene:
“You can create you own equivilant by subclassing from osg::ClipPlane and
overriding the apply() then setting the modelview matrix you want and applying
the clipplanes and then restoring it aft
g] On Behalf Of Robert
> Osfield
> Sent: Tuesday, May 18, 2010 12:58 AM
> To: OpenSceneGraph Users
> Subject: Re: [osg-users] reuse of clipping planes?
>
> Hi Jason,
>
> RenderBin's don't have any positional state setup so you can't use
> them directly to ena
12:58 AM
To: OpenSceneGraph Users
Subject: Re: [osg-users] reuse of clipping planes?
Hi Jason,
RenderBin's don't have any positional state setup so you can't use
them directly to enable more clipping planes. Only RenderStage's set
up the positional state.
The FlightGear&
graph.org
> [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Robert
> Osfield
> Sent: Thursday, May 13, 2010 1:21 AM
> To: OpenSceneGraph Users
> Subject: Re: [osg-users] reuse of clipping planes?
>
> Hi Jason,
>
> Clip planes are an example of positional state, other
ks!
Jason
-Original Message-
From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Robert
Osfield
Sent: Thursday, May 13, 2010 1:21 AM
To: OpenSceneGraph Users
Subject: Re: [osg-users] reuse of clipping planes?
Hi Jason,
Clip
Hi Jason,
Clip planes are an example of positional state, other examples are
lights and eye linear texgen. All positional state requires a
specific modelview matrix to be bound to them to position them
correctly in space, so unlike other OpenGL/OSG state you can't just
push/pop and state sort the
Evidently most graphics hardware only supports 6-8 clipping planes and our
application requires more than that so I need to somehow reuse clipping
planes. I searched the archives and saw there was some discussion of this
back in 2007 (something about possibly using the render bin instead of th
8 matches
Mail list logo