ywywdh / papervision3d

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

yUp=true and camera.unproject #95

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Set the yUp property of a camera to false
2. Use the unproject-method of the camera

What is the expected output? What do you see instead?
The y gets inversed.
If using the method for mouse-clicks a click at the top sends the ray
downwards. I have to pass the method a negative y for it to work.

What version of the product are you using? On what operating system?
Papervision3D Public Beta 2.0 - Great White (20.08.25) Revision 714

Please provide any additional information below.
Also setting yUp to false seems to inverse the back-face-culling winding.
For instance, to see a cube from outside its faces have to be flipped.

Original issue reported on code.google.com by ogg...@gmail.com on 6 Sep 2008 at 11:18

GoogleCodeExporter commented 9 years ago
Andy ? 

Original comment by r.hauw...@gmail.com on 17 Oct 2008 at 1:43

GoogleCodeExporter commented 9 years ago
Any update? 

Original comment by r.hauw...@gmail.com on 21 Nov 2008 at 1:21

GoogleCodeExporter commented 9 years ago
Fixed unproject.  For cube - it would be easiest to just build it with 
insideFaces ==
Cube.ALL when you know you will have yUP

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