#### Archived

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

# 3D -> 2D

This topic is 5831 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

Is there any equation that allows to convert 3D coordinates to 2D coordinates (without perspective). If you don''t know what I mean go to http://flux5.w.interia.pl/picture.gif

##### Share on other sites
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 on other sites
The picture you linked to gives you a possible answer. Just ignore the third coordinate. This is called projection to the xy plane.

##### 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.

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

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

1. 1
Rutin
29
2. 2
3. 3
4. 4
5. 5

• 12
• 13
• 11
• 10
• 13
• ### Forum Statistics

• Total Topics
632954
• Total Posts
3009445
• ### Who's Online (See full list)

There are no registered users currently online

×