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

Username:   Password: 
 RegisterRegister   
 My first shot at 3D
Index -> Programming, Turing -> Turing Submissions
Goto page 1, 2  Next
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
FunkyMunky




PostPosted: Wed Jan 17, 2007 10:48 pm   Post subject: My first shot at 3D

For my grade 10 ISU I've been working on a type of racing game in a 3D Engine. It's going to be a very basic game as I'm short on time. Basically u will be able to slide across the screen from left to right avoiding obstacles as you go. Currently i just have an engine that renders my car model and does the left and right animations. I will admit that a lot of the things i did was from looking at other 3D engines and implementing them in mine. I wanted to see what you guys thought, and maybe some suggestions? Also if anyone could help me with backface culling or proper shading, that would be really nice because i just can't seem to get it working properly. Read the commands.txt for keys to use.

Thanks for any help/constructive criticism



Racing 3D Beta3.1.zip
 Description:

Download
 Filename:  Racing 3D Beta3.1.zip
 Filesize:  9.18 KB
 Downloaded:  355 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
FunkyMunky




PostPosted: Fri Jan 19, 2007 2:00 pm   Post subject: RE:My first shot at 3D

Oh...so i guess nobody has any opinions...
DemonZ




PostPosted: Fri Jan 19, 2007 8:47 pm   Post subject: Re: My first shot at 3D

OK ill admit, thats pretty darn good, if not amazing. Some suggestions though, try to increase the FPS to at least 20 frames/second so that it runs more smoother, and maybe add some tires on the wheels because right now it looks only like the body of the car, so you need wheels, other than that its very well done, but maybe for extra try to make some better polygon shading when the car turns from left to right or vice versa, to make it look more detailed, other than that well, done, bravo.
CodeMonkey2000




PostPosted: Fri Jan 19, 2007 11:03 pm   Post subject: RE:My first shot at 3D

Are you sure you're in grade 10?
Tycoon




PostPosted: Sat Jan 20, 2007 12:23 am   Post subject: Re: My first shot at 3D

Very well done, I tip my hat to you. That is excellant, you know how much we can learn from that. Finish it now Razz
rdrake




PostPosted: Sat Jan 20, 2007 1:20 am   Post subject: RE:My first shot at 3D

Most excellent job.

Only a few nitpicks with regard to the code:

  • Spacing is your friend. Space your code out a bit more so it's easier to read. The Turing Style Guidelines are a good thing to read.
  • Use less cryptic variable names. You specified what each means, but 500 lines down from there, are you still going to remember?

Just a few suggestions to keep you sane Smile.

Regardless, have some bits.
Tycoon




PostPosted: Sat Jan 20, 2007 2:24 am   Post subject: Re: RE:My first shot at 3D

rdrake @ Sat Jan 20, 2007 1:20 am wrote:
Most excellent job.

Only a few nitpicks with regard to the code:

  • Spacing is your friend. Space your code out a bit more so it's easier to read. The Turing Style Guidelines are a good thing to read.
  • Use less cryptic variable names. You specified what each means, but 500 lines down from there, are you still going to remember?

Just a few suggestions to keep you sane Smile.

Regardless, have some bits.


Very well written advice. Smile
(Following those 2 simple guidelines indeed, keeps you sane.
Robert




PostPosted: Sat Jan 20, 2007 12:21 pm   Post subject: RE:My first shot at 3D

For some reason, I had to take out the Font.New line and use defFontID instead.

I also keep getting a "Color value of -1 is out of bounds." on line 180.

This seems like an isolated problem on my machine, as no one else is having these problems.

Anyways, I'm impressed by just the description of what you did. Razz Good job!
Sponsor
Sponsor
Sponsor
sponsor
FunkyMunky




PostPosted: Sat Jan 20, 2007 12:56 pm   Post subject: Re: My first shot at 3D

I'm going to work on wheels very soon, just didn't have time yet.

Thats for the advice rdrake, will clean up my code

As for shading thats as good as i can do so far, because i've tried my best to clean it up, but i just can't get it perfectly right

I will try to increase the FPS, once i manage to remove the rendering of unseen faces then it should increase, only i'm having problems with that atm

Thanks for the help/advice everyone Smile

Will keep working on it, i should post the final version once its down, if i manage to finish it that is.
LaZ3R




PostPosted: Sun Jan 21, 2007 8:48 pm   Post subject: Re: My first shot at 3D

Were you taught how to do all this in Grade 10? That's too impressive... This can really turn into a cool 3D racing game if you keep up the work! I don't even think I can do that... and I'm in GRADE 11!! Very Happy
agnivohneb




PostPosted: Mon Jan 22, 2007 10:29 am   Post subject: Re: My first shot at 3D

THIS IS CRAZY Nuty Eyes Scramble Very Shocked Blowing up How did you do that?!?!?!?!?!
FunkyMunky




PostPosted: Mon Jan 22, 2007 7:03 pm   Post subject: Re: My first shot at 3D

No we didn't learn to do this in class, i took it on my own to learn it Smile the best i've seen in my class other than mine was mario and a crude tanks game, everyone else is very simple 2D stuff, anyways i've pretty much finished it as far as i will get, so here is my final version , oh btw use backspace to get out of high scores

I didn't have time to clean up my code and i don't think i will

http://www.megaupload.com/?d=TJ53MBRA
Windsurfer




PostPosted: Mon Jan 22, 2007 7:56 pm   Post subject: Re: RE:My first shot at 3D

spearmonkey2000 @ Fri Jan 19, 2007 11:03 pm wrote:
Are you sure you're in grade 10?

Hey! I was in grade 10 when I made a 3D FPS using Pascal on 30Mhz Macs!

But seriously, this is great, and should have a lot of potential! Keep us updated!
Clayton




PostPosted: Mon Jan 22, 2007 8:16 pm   Post subject: Re: My first shot at 3D

and you were in grade 11 when you made Forces Laughing
CodeMonkey2000




PostPosted: Mon Jan 22, 2007 8:28 pm   Post subject: RE:My first shot at 3D

No, it's just that im in grade 10, and dont know much about 2d vectors, or even trigonometry, let alone any 3d stuff. (pascal has a built in graphics module?) Oh I found a bug Razz if you hold "e" and let it go for a while, and then hold w to bring it back, the car gets warpped.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Submissions
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 2  [ 24 Posts ]
Goto page 1, 2  Next
Jump to:   


Style:  
Search: