[Papervision3D] Frustrum Clipping frustrating me
bh at pano-life.de
Thu Sep 9 03:41:21 PDT 2010
I have a plane 256 by 256 pixels with a bitmapMaterial on z=127 right
in front of my camera xyz=0.
Now I rotate the camera onRenderTick rotationY+=value.
I then get the weirdest clipping errors playing with zoom, focus,
useCulling, useClipping, autoClipping, autoCulling, segements of the
plane for hours... nothing.
I do a little research and find this:
Sounds great. I try it out and it clips nicely BUT what seems to happen
is this: clip the plane -> rotate the camera -> render
The result ist that I can see the clipped border. When I stop the camera
rotation I can watch the clipping catching up until
my plane fills the viewport nicely again.
As in the blogpost by andy it works nicely I tried out his script as a
flexproject, as an actionscript project and in flash itself, same
problem as I have... doesn?t work
Anybody knows how to fix this?
In the blog post some guy seemed to have the same problem:
I think there is a bug with the edges -- seems be ok until you rotate
the camera. Here's and example...
It seems like, when the camera rotates, the scene is clipped before the
planes are updated.
Joe Wheeler <http://usecake.com>
Ok I found a fix but I think it will probably need to be optimised.
I've basically stuck this:
On line 145 --- just before this line:
_matrix.copy( renderSessionData.camera.transform );"
Class Name would have been nice.
Help is much appreciated and thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Papervision3D