Wish someone could of told me, you cant put clipplanes within clip planes, you
cant make holes!
Is it possible to have more than one clipNode in a scene? if i try 2 clipnodes
everything gets clipped to the second node.
Any ideas?
If I cant use more than one clipNode in a scene im thinking
2009/5/24 Paul Martz pma...@skew-matrix.com:
http://www.sstk.co.uk/portalRendering/portal.php
Unless I'm missing something, couldn't you do this in OSG using an Occluder
(for host-side culling) and the stencil buffer (to control screen
rendering)?
You don't even need that.
Just set up the
Just to let people know, portals is not quite what im looking for, its more of
an extended type portal, i believe a portal is a plane with a texture of a
scene applied to give to look of a scene within a scene, im looking for scenes
within scenes but with models coming out from the portal front
2009/5/24 Paul Griffiths gaffe...@gmail.com:
Just to let people know, portals is not quite what im looking for, its more
of an extended type portal, i believe a portal is a plane with a texture of a
scene applied to give to look of a scene within a scene, im looking for
scenes within scenes
Ive worked out whats required to get my effect working , though im only
guessing right now at the math required.
Just need 4 clipPlanes facing into the into the scene surrounding the panel.
Simple, in theory lol
Cheers,
PaulG
[Image: http://img411.imageshack.us/img411/713/clipplanes.png ]
Paul Griffiths wrote:
Ive worked out whats required to get my effect working , though im only
guessing right now at the math required.
Just need 4 clipPlanes facing into the into the scene surrounding the panel.
Simple, in theory lol
Cheers,
PaulG
Given 3 points on a plane, the plane
Simon wrote:
Paul Griffiths wrote:
Ive worked out whats required to get my effect working , though im only
guessing right now at the math required.
Just need 4 clipPlanes facing into the into the scene surrounding the
panel. Simple, in theory lol
Cheers,
PaulG
Given 3
I have a second idea to get my desired effect, but i would much prefer
single-sided clipPlanes.
If anyone know of other ways too then please do post.
[Image: http://img507.imageshack.us/img507/8462/idea.png ]
--
Read this topic online here:
My second idea of how to create my effect has a flaw, if the rear contents of 2
scrollpanels overlap then ill get the contents of the scrollpanels inside each
other.
If anyone knows how to create single-sided clipPlanes which only clip when
viewed from one side and when viewed from the other
Most state attributes, including ClipPlane, have a 1-to-1 correspondence
with OpenGL state, so you can look up what they do:
http://www.opengl.org/sdk/docs/man/xhtml/glClipPlane.xml
The short answer is that plain vanilla ClipPlane won't do this. However, you
could easily attach an UpdateCallback
Paul Martz wrote:
Most state attributes, including ClipPlane, have a 1-to-1 correspondence
with OpenGL state, so you can look up what they do:
http://www.opengl.org/sdk/docs/man/xhtml/glClipPlane.xml
The short answer is that plain vanilla ClipPlane won't do this. However, you
could easily
How do you disable a clipPlane?
osg::ClipPlane plane = this-clipNode-getClipPlane(2);
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=12833#12833
___
osg-users mailing list
-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Paul
Griffiths
Sent: Saturday, May 23, 2009 11:02 AM
To: osg-users@lists.openscenegraph.org
Subject: Re: [osg-users] Single-sided ClipPlane?
How do you disable a clipPlane?
osg::ClipPlane plane
Enabling/disabling clipPlanes won't do the job, your looking at the side and
into the scroll window at the same time.
From what i can work out, clipPlanes slice all the way along the model and
remove the outer half, so any clipping applied is going to effect what I see
at the front of the
2009/5/23 Paul Griffiths gaffe...@gmail.com:
Enabling/disabling clipPlanes won't do the job, your looking at the side and
into the scroll window at the same time.
From what i can work out, clipPlanes slice all the way along the model and
remove the outer half, so any clipping applied is
Simon Hammett wrote:
2009/5/23 Paul Griffiths :
Enabling/disabling clipPlanes won't do the job, your looking at the side
and into the scroll window at the same time.
From what i can work out, clipPlanes slice all the way along the model
and remove the outer half, so any
http://www.sstk.co.uk/portalRendering/portal.php
Unless I'm missing something, couldn't you do this in OSG using an Occluder
(for host-side culling) and the stencil buffer (to control screen
rendering)?
Paul Martz
Skew Matrix Software LLC
http://www.skew-matrix.com
+1 303 859 9466
[Image: http://img177.imageshack.us/img177/9184/singlesidedclipplane.png ]
This is the effect im after, if i can have single sided clipPlanes then i can
construct a clipBox behind my window so from the outside it clips my
scrollpanel behind so my window has virtually no depth, but from looking
18 matches
Mail list logo