
-----------------------------------
MihaiG
Mon Jan 03, 2005 12:42 pm

Drawing in 3D space!!
-----------------------------------
how do you make object in 3-D space?.. i.e make a cube and be able to rotate it?? 
......help would be appreciated

-----------------------------------
Delos
Mon Jan 03, 2005 1:38 pm


-----------------------------------
First of all, you need to set up an engine that is capable of interpretting points on an xyz-plane onto an xy-plane.  Once you've done that, you'll need to create an algorithm that will handle the various points on the cube, and calculate where they need to be next as it rotates.  This will incorporate some pretty trig work.

If you're interested, check up Catalyst's 3D engine (I think it's still around), if not any of the other 3D engines that are lying here and there.
Inspiration is certain.

-----------------------------------
Cervantes
Mon Jan 03, 2005 5:08 pm


-----------------------------------
[url=http://www.compsci.ca/v2/viewtopic.php?t=6819]Your questions has been asked before.
Answer: http://freespace.virgin.net/hugo.elias/routines/3d_to_2d.htm

Enjoy :)
