Jump to content

  • Log In with Google      Sign In   
  • Create Account

Near Camera View Frustum Culling - Too Aggressive

  • You cannot reply to this topic
2 replies to this topic

#1 PhillipHamlyn   Members   -  Reputation: 349

Like
0Likes
Like

Posted Yesterday, 01:19 PM

Hi,

 

I generally cull my landscape using the camera frustum. When the camera gets close to the ground or any other object, I find it being culled before it passes out of visibility. My guess is that the points which make up the triangle are outside the frustum, but the surface formed by them is/should be still visible to the camera.

 

My best idea to prevent this is to use a different culling frustum to the camera frustum, perhaps just moving the "camera position" "back" some way - is this a normal technical to counter the over-vigorous frustum culling ?

 

Phillip



Sponsor:

#2 Seabolt   Members   -  Reputation: 459

Like
0Likes
Like

Posted Yesterday, 03:34 PM

The simplest solution would probably be to just create a spherical bounding volume and test against that. That way if any part of model is in view, it will be shown, though you'll get a lot more false positives.


Perception is when one imagination clashes with another

#3 PhillipHamlyn   Members   -  Reputation: 349

Like
0Likes
Like

Posted Today, 02:38 PM

Seabolt,

 

That sounds quite drastic - it would tend to at least double the number of positives I get wouldn't it ? Or is the bounding volume not centred on the camera - is the camera on the circumference looking at the sphere centre ?

 

Phillip







PARTNERS