Jump to content

[SOLVED] Stereo culling problem


photo

Recommended Posts

Hi,

 

I'm working on headtracking support and found some problem with the culling when defining your own frustums.

 

When setting stereo frustums using the functions

 

engine.surround.setLeftProjection();

engine.surround.setRightProjection();

engine.surround.setLeftModelview();

engine.surround.setRightModelview();

 

I noticed that objects at the left and right edges of each screen

sometimes disappear.

 

More objects disappear when calculating the matrixes using higher eye

seperation.

With an eye seperation equal to zero, no objects disappear (left and

right matrixes equal to the mono matrix).

 

Maybe the mono versions of the frustums are used for the culling in

stead of the stereo versions?

 

when I set a mono frustum that is a kind of envelope of the left plus right frustums, the problem is almost gone.

In that case no objects dissapear, but there still is some problem with schadows that dissapear at the edges of the screen.

Link to comment
  • 2 weeks later...
  • 2 months later...

Fixed, will be available in the next SDK.

 

Still a problem with the shadow (I checked the 28 dec 2011 release).

Objects do not dissapear anymore. But the shadow dissapears to early when objects is at the left side of the middle screen.

And shadow pops up to late when entering the right screen.

Link to comment
  • 2 weeks later...
  • 7 months later...
×
×
  • Create New...