Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 3d...
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
metachief




PostPosted: Mon Apr 21, 2008 5:13 pm   Post subject: 3d...

Hello fellow programmers, I have messed around on turing for about one year. Finally I am running out of ideas for new things to create, so I thought that i should give 3D graphics a try.
Does anyone have suggestions on how I should start? It is a confusing consept for me scince I only know how to do 2D games and programs. I assume it involves a lot of triginometry, so I should probably wait until I pass grade 11. Although, I could try simple things. Not a game, but at least 3D model making.
If you have any knowledge on 3D graphics and concepts, I would appreciate a response...
Thank you in advance
Sponsor
Sponsor
Sponsor
sponsor
Sean




PostPosted: Mon Apr 21, 2008 5:26 pm   Post subject: RE:3d...

3D incorporates a new co-ordinate, a z co-ordinate. There is a lot to do, and the Tutorial isn't the way we need it. Who knows, someone may have a link.
syntax_error




PostPosted: Mon Apr 21, 2008 5:47 pm   Post subject: RE:3d...

raycasting.
Saad




PostPosted: Mon Apr 21, 2008 5:56 pm   Post subject: Re: RE:3d...

syntax_error @ Mon Apr 21, 2008 5:47 pm wrote:
raycasting.

Oh god raycasting looks really bad and should really be avoided.


Regardless of that last comment here's a tutorial on projecting 3D points onto a 2D screen.
Wiki also has a good link although its explanations involve knowledge of matrices, although you should know how to use them before making a 3d engine as it makes your life much easier
CodeMonkey2000




PostPosted: Mon Apr 21, 2008 6:15 pm   Post subject: RE:3d...

I would suggest that you ditch turing altogether for something like this. Turing is far too slow, and you are wasting your time. If you are serious about this you should go on to Pascal/C++/Ruby/anything that's not turing with SDL (still 2D). Once you are familiar with that then you go on to openGL (3D).
HellblazerX




PostPosted: Mon Apr 21, 2008 6:19 pm   Post subject: Re: 3d...

Saad wrote:

Oh god raycasting looks really bad and should really be avoided.

I disagree. Although ray-casting isn't true 3D, it's a good way to transition from 2D to 3D programming. When I made my ray-casting program, I used this tutorial as a guide. Mind you, the tutorial has only the concepts and the formulas you need, so there isn't any examples in code. The author did make a ray-casting engine, but the engine was made in Java, and it was very difficult to follow along with (few comments, hard to read, bad variable names).
CodeMonkey2000




PostPosted: Mon Apr 21, 2008 6:26 pm   Post subject: RE:3d...

That's a good tutorial, but the problem I had was that he didn't really explain where he got the formulas. With a little thinking you should be able to derive them too (and I recommend that you do as the coordinate system he is using is different from turing's).
I Smell Death




PostPosted: Wed Apr 23, 2008 10:10 am   Post subject: RE:3d...

the magic math is
X = x/z
Y = y/z
that will get a 3D coordinate's location on the 2D screen.
Sponsor
Sponsor
Sponsor
sponsor
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 8 Posts ]
Jump to:   


Style:  
Search: