ywywdh / papervision3d

Automatically exported from code.google.com/p/papervision3d
0 stars 0 forks source link

Weird shaped edged the frustum when the camera rotates #148

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Turn on frustum clipping 
2. continually rotate the camera on any axis

What is the expected output? What do you see instead?
Here's an example - http://testing.usecake.com/game2.html - note how the road 
doesn't reach 
the edges of the viewport once the camera starts rotating. 

What version of the product are you using? On what operating system?
Public Beta 2.0 - Great White / December 3rd, 2008

Please provide any additional information below.
It seems like, when the camera rotates, the scene is clipped before the 
camera's transformation 
matrix is updated so the clipping planes not correctly calculated. I found a 
hack/fix. I’ve basically 
stuck this:

renderSessionData.camera.updateTransform();

On line 145 — just before this line:

_matrix.copy( renderSessionData.camera.transform );

Original issue reported on code.google.com by misus...@gmail.com on 12 Dec 2008 at 10:25

GoogleCodeExporter commented 9 years ago
I think this might be a Tim thing

Original comment by neori...@gmail.com on 29 Dec 2008 at 4:57

GoogleCodeExporter commented 9 years ago

Original comment by tim.k...@gmail.com on 29 Dec 2008 at 5:49

GoogleCodeExporter commented 9 years ago
Tim, any update on this bug?  Do i need to look into it?

Original comment by azu...@gmail.com on 30 Mar 2009 at 1:40

GoogleCodeExporter commented 9 years ago
This issue still exists in Rev 935.
Attaching a simple test code.

In BasicRenderEngine/QuadrantRenderEngine,
need to call renderSessionData.camera.transformView()
before calling clipping.reset(renderSessionData)
(transformView is currently called in
BasicProjectionPipeline.project(renderSessionData).)

Original comment by ichize...@gmail.com on 16 Feb 2010 at 10:38

Attachments: