From: Preet <prismatic.proj...@gmail.com>
Date: Sat, 6 Oct 2012 01:02:47 -0400
Local: Sat, Oct 6 2012 1:02 am
Subject: Re: [osg-users] How can I get the viewer's camera to 'ignore' a node's geometry?
Sergey's suggestion (invalidating the geometry's bounds with a custom
compute bounds callback) sort of worked, but led into another issue. If I zoom out far enough, the Earth surface geometry disappears. Specifically, if the camera is pointing at the center of the Earth, the Earth geometry disappears when the camera eye is further than ~5.13E6m from the surface of the Earth. Changing the near and far planes don't have any effect here. However, if I disable culling I don't have this problem (but disabling
So right now I'm:
* Setting the near and far plane manually
And that works fine up until I move the camera out far enough as I
Preet
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||