Hi everyone. I’m having a few problems with something I’m working on. I need to create a multi-storey carpark where you can drive around it in a car, but I don’t know where to start, i.e, how do I make the ramps and different levels, how do I make it look like you’re in a car, and how do I get the speedo and fuel gauge to work in conjunction with the speed of the car?
I’m completely baffled by this and have been using “the big red book” of OpenGL, but was hoping someone would be able to give me a hand?
Thanks in advance.
To be frank, your post sounds like :
“Hey, i just read the whole alphabet, now I want to write a book like ‘The lord of the rings’, can you tell me how ?”
Long way to go, OpenGL is just a small part of this, the graphics.
I would suggest to drop GL, model your carpark in Blender, then use the Blender Game Engine to play with the car and collisions etc. You can script your game in python to do your gauges etc.
If you insist on programming it youself, then I suggest you look at Open Dynamics Engine (http://ode.org). There are some sample projects included which means you have a working code for physics and graphics.
In simplest case, all you have to do is to create new scene for one of exsting projects (there should be a sample application including simple “car” and some platforms to drive on).
I would suggest to drop GL
Didn’t expect to hear that here
But it’s true. If yuo’re beginning programmer with no experience in 3D or physics programming then you have a very long way to go. If you need this project for some reason, then go for Blender or ODE.
If you want to learn graphics/physics programming then don’t try to learn everything at once. Start with 2D graphics, then 2D physics, 3D graphics and finally 3D physics.