April 26, 2024, 12:44:16 PM

News:

IonicWind Snippit Manager 2.xx Released!  Install it on a memory stick and take it with you!  With or without IWBasic!


Offroad 3D Car Scene

Started by ExMember001, July 11, 2007, 12:18:16 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ExMember001

July 11, 2007, 12:18:16 AM Last Edit: September 22, 2007, 12:29:26 AM by KrYpT
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  3.9mb

pistol350

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.
;)
Regards,

Peter B.

ExMember001

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

pistol350

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
Regards,

Peter B.

ExMember001

go for it man!
if you improve it post the code please ;)

ExMember001

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.

pistol350

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
Regards,

Peter B.

ExMember001

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.