Thanks! I will try this way.
2008/4/14, Serge Lages <[EMAIL PROTECTED]>:
>
> Hi Emilio,
>
> I think the best way to achieve what you want is to render your scene
> using two osg::Camera (two pass), first render your scene and then render
> the object you want to be in the first plane. Each camera
Hi Emilio,
I think the best way to achieve what you want is to render your scene using
two osg::Camera (two pass), first render your scene and then render the
object you want to be in the first plane. Each camera have it's own near/far
clip planes.
Cheers,
On Mon, Apr 14, 2008 at 3:06 PM, Emilio
Hi Joachim,
It's true, I can set the clipping plane nearer to me. But then I get
z-fighting effects in my scene, due to loss of precision in depth buffer
when near plane is close to 0.0 (and far plane has a high value due to the
size of my landscape).
Kind regards,
Emilio.
2008/4/14, Joachim E.
Hi Emilio,
the near clipping plane defines the border between things that are "in
front" or "behind" you (resp. the camera).
Since you cannot see what is behind you, I should expect that
deactivating the clipping will not accomplish what you're looking for.
If you want to see more of the ship
Hi all,
Thank you for your responses.
I realize that I didn't explain myself very well. What I am looking for is a
way to render a first person model in front of my scene (in my case, the bow
of a ship). I thought that with Node::setCullingActive() I could accomplish
this effect, I mean, to rende
_
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robert
Osfield
Sent: Thursday, April 10, 2008 10:30 AM
To: OpenSceneGraph Users
Subject: Re: [osg-users] How to disable culling of a node
HI Emilo,
You can't switching of OpenGL clipping, you can only move the near and fa
HI Emilo,
You can't switching of OpenGL clipping, you can only move the near and far
planes to encompass you model so it doesn't clip it - its the way that
graphics pipeline in hardware works. The OSG by default will automatically
compute the near and far planes to prevent clipping, but since you
Hi,
Emilio Lozano wrote:
> Hi all,
>
> I'`m trying to get a node always drawn without being affected by near
> clipping plane defined in projection perspective. With the following
> simple code what I expected to get is that the cow was not clipped by
> near or far planes, but the cow is still
Hi all,
I'`m trying to get a node always drawn without being affected by near
clipping plane defined in projection perspective. With the following simple
code what I expected to get is that the cow was not clipped by near or far
planes, but the cow is still clipped.
Could you give me any hints?
9 matches
Mail list logo