IonicWind Software

Aurora Compiler => 3D Graphics => Topic started by: ExMember001 on July 11, 2007, 12:18:16 AM

Title: Offroad 3D Car Scene
Post by: ExMember001 on July 11, 2007, 12:18:16 AM
Hello  ;D
Here's my first attempt to 3D programing with Aurora...
This scene is not a game, that's why i'm still calling it a scene.
You have a car and you can move across the map with it... ;)

in the zip you get the code and the compiled exe
to compile:
1- Open the project file (Offroad.awp) with Aurora v1.0 RC1 or higher
2- Create an import library for bass.dll
3- Compile

New Improved version availlable july 13th 2007
Download (http://www.kcsoft.ca/3d/Offroad3D.zip)  3.9mb
Title: Re: Offroad 3D Car Scene
Post by: pistol350 on July 11, 2007, 05:33:00 AM
Great work Krypt!
It's great as a first contact with 3D in Aurora!

Let's come to the negative points now  ;D
It may be due to the mesh and other resources loaded ,but on my PC the program uses much memory. (about 40 Mo)  :o :o :o

Anyway,, thank you for this example.
;)
Title: Re: Offroad 3D Car Scene
Post by: ExMember001 on July 11, 2007, 05:58:55 AM
thanx pistol.
yes, there is a lots of negative things ;)
well,ive just trow out the best meshes ive found in... fps is also low when crossing meshes ...
still lots of tweaks to do  ;D
Title: Re: Offroad 3D Car Scene
Post by: pistol350 on July 11, 2007, 07:04:17 AM
Yeah!
Anyway, there are also many positive points in your code and guys like me who are not very familiar with 3D may find many things to learn from it!
I am about to start to tweak your code a bit to understand it better.But the first thing that i will try to improve is the trees loading (as you stated the problem in your previous topic)
since i am sure that there is a way to use several meshes from the same file other than loading the same file several times.

Cheers!
Peter
Title: Re: Offroad 3D Car Scene
Post by: ExMember001 on July 11, 2007, 09:31:49 PM
go for it man!
if you improve it post the code please ;)
Title: Re: Offroad 3D Car Scene
Post by: ExMember001 on July 13, 2007, 05:43:07 AM
just update the file, here's the changes made:
-Fixed car sound when movements
-Fixed Speed indicator
-kinda fixed the collisions when going backward
-Tryed to fix the fps
-Try to get the car movement more realistic...
-Added S key for cutting off engine and apply handbrake ;)
-Added tires sound (brake and turn)
-Added sound volume controls in code
-Changed trees with other one to reduce 3ds files size

see first post for download link.
Title: Re: Offroad 3D Car Scene
Post by: pistol350 on July 13, 2007, 12:17:47 PM
Nice update!
As i see, you fixed the redundant tree loading problem by adding several different trees.
It is a good thing.
I am trying to set the camera to a different view, why not First person view  :P and even better, implementing various optional views. :D
Title: Re: Offroad 3D Car Scene
Post by: ExMember001 on July 13, 2007, 09:15:21 PM
thanx, the camera need to follow the back of the car first ;)
i was thinking also about a way to move the camera around the car with the mouse.