Posted: 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.
Posted: Fri Jan 19, 2007 2:00 pm Post subject: RE:My first shot at 3D
Oh...so i guess nobody has any opinions...
DemonZ
Posted: 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
Posted: Fri Jan 19, 2007 11:03 pm Post subject: RE:My first shot at 3D
Are you sure you're in grade 10?
Tycoon
Posted: 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
rdrake
Posted: 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 .
Regardless, have some bits.
Tycoon
Posted: 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 .
Regardless, have some bits.
Very well written advice.
(Following those 2 simple guidelines indeed, keeps you sane.
Robert
Posted: 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. Good job!
Sponsor Sponsor
FunkyMunky
Posted: 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
Will keep working on it, i should post the final version once its down, if i manage to finish it that is.
LaZ3R
Posted: 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!!
agnivohneb
Posted: Mon Jan 22, 2007 10:29 am Post subject: Re: My first shot at 3D
THIS IS CRAZY How did you do that?!?!?!?!?!
FunkyMunky
Posted: 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 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
Posted: 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
Posted: 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
CodeMonkey2000
Posted: 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 if you hold "e" and let it go for a while, and then hold w to bring it back, the car gets warpped.