Need help with 3D cube I'm making...
Author |
Message |
LaZ3R
|
Posted: Sat May 12, 2007 8:53 pm Post subject: Need help with 3D cube I'm making... |
|
|
I've so far produced 35 lines of text which allows you to increase and decrease the size of a cube along with move it left and right on your screen. I want to allow the user to also have the ability to rotate this cube for absolutely no reason at all since this program is just a test anyways . Is there anything special I need to know in order to create a rotating 3D object? Really would love some help with this |
|
|
|
|
|
Sponsor Sponsor
|
|
|
LaZ3R
|
Posted: Sat May 12, 2007 9:11 pm Post subject: RE:Need help with 3D cube I\'m making... |
|
|
Sigh... After some thinking, I realize my cube won't work too well with rotation considering I'm using drawbox
I'll need to redo this obviously, but does this mean I can only create 3D objects in turing by making line by line as part of the shape??? |
|
|
|
|
|
DIIST
|
Posted: Sat May 12, 2007 11:05 pm Post subject: Re: Need help with 3D cube I'm making... |
|
|
There is always drawfillpolygon . You draw face by face, thats the way i did it in my engine. Not the greatest in the world but you could check it out as an example. Another option is to draw pixel by pixel and do ray tracing. But its not recommended if you want something to run real time in Turing. |
|
|
|
|
|
|
|