Archived

This topic is now archived and is closed to further replies.

TheVoid

3D -> 2D

Recommended Posts

3d->2d is all relative to the view plane. For example, the results you desired must mean the view plane must be parallel to object you wish to render. Not all objects in your scene will work right for your method - it''s only for a single object. Hope that makes sense.

---
Brent Gunning | My Site

Share this post


Link to post
Share on other sites
Easy way:

Pick an axis, then drop that axis componet from your 3D cords. Bingo, you have a 2D projection plane looking down the axis you did away with and no scaling.

Orthographic Projection:

The projections are onto one of the cord planes x=0, y=0, or z=0. Basicly the same as above but more proper wording. To do an orthographic projection from an arbitrary view you first must determain your objects position in view space from world space, and then drop what will be your cord representing depth in the view space before putting it in 2D screen space.


[Edit]Typos will be the end of me![/Edit]

[edited by - thewayout_is_through on November 1, 2002 9:34:06 PM]

Share this post


Link to post
Share on other sites