Advertisement

camera position for 2d in 3d

Started by February 17, 2003 02:59 AM
2 comments, last by Enselic 22 years ago
I'm wondering how to find out the z-value for a camera which should be placed such that the z = 0 plane is acting like a 3d screen. Assume that i work with a "normal" fov. I'm doing this in D3D. Here's my divine Paint-art to show you what I mean. Thanks! [edited by - Enselic on February 17, 2003 4:01:08 AM]
[s]--------------------------------------------------------[/s]chromecode.com - software with source code
wouldn''t your camera just lie at z=0 and oriented in the negative z-axis (assuming that z is facing into the screen), ofcouse this is when you have a near clipping plane very close to 0, This is the plane with point passing through z=0 and with a normal of (0,0,-z)
Advertisement

You answered you''re own question, look at you''re diagram... the camera lies somewere behind or in front of the plain, looking towards it, the Z doesn''t matter as long as the Z''s are not the same .

~SPH

P.S. This may not come out just like 2D becouse in 3D one often applies perspective...
AIM ME: aGaBoOgAmOnGeR
The z matter. If you are faar away (relative to z-plane) you see more than if you would be closer!

And the prespecive: I want it :-)

[s]--------------------------------------------------------[/s]chromecode.com - software with source code

This topic is closed to new replies.

Advertisement