C/C++ Car Sim Source Code

Hi,
I know C/C++ and a bit of OpenGL. I've been looking around, and I can't seem to find any good OpenGL Basecode for creating a Car Simulator. What I'm looking for is some C/C++/OpenGL code for a basic 3rd person car simulator. I want to study the code, and see how it works, as well as play around with the code. I'd prefer OpenGL but DirectX would be OK (OpenGL would be preferred). I just want some base code that wqould be simple to read through, and that I could modify into a small game.

Note: I'm not enrolled in any classes, I just want to play around with the code to a simple 3rd person driving sim (for fun). I don't want advice on how to lear about 3D programming, or suggestions on something else, that someone thinks, would work better for me. I'd simply like what I asked for above.
Thanks!
qqqqqqqqqAsked:
Who is Participating?
 
qqqqqqqqqAuthor Commented:
any ideas. I'm willing to add hundreds of more points.
0
 
DanRollinsCommented:
This isn't that tired old traffic simulator homework assignment rearing its head again, is it?  Remind me... which college (or is it a correspondence school) uses that as an extra credit assignment?

-- Dan

0
Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

 
qqqqqqqqqAuthor Commented:
Traffic Simulator? I've taken the liberty of read through somke of the questions you've posted on, and have found out that you have a real problem with accepting when someone isn't doing homework. If someone does anything similar to somthing that you think might be featured in some book used by some class, they must be cheaters trying to get a better grade than they deserve. I agree that people who do that don't deserve a quick answer without learning what they are doing. However I'm not enrolled in any college or correspomdemce school. This isn't any assaignment at all, so it's definatley not extra credit. Also, what I'm asking for has nothing to do with traffic. I just want a simple basecode for a sim that lets me drive a car around a simple environment from a 3rd person view. Traffic to me implies other cars. I don't want any of that. Please stop be deconstructive and post only comments relative to the question. If you feel a need to spew your suspicions please don't bother doing it here. I told you the truth in my first post and find it annoying that you can't accept that. If you have a solution please post it. If not please don't degrade this question and deter other experts from posting to this question. Thank you.
Note to experts: Once again, I repeat: This is not homework or any type of school or work related problem. I'd just like to see some code please.
0
 
DanRollinsCommented:
>> I've taken the liberty of read through somke of the questions you've posted on

Perhaps you were logged in under a different name when you were doing all of the reading.  Your slightly-hysterical tone of voice sounds vaguely familiar.

For fun, I'll accept that this is not homework of any kind.  Perhaps you will listen to some simple advice:

Questions that get answered here sounds like this:

"I am working on a 3-D driving simulation program.  My first-pass prototype is working quite well.  Now I need to add feature X, but when I do, the progran does Y.  Here is the code that is misbehaving..."

Questions that don't have a chance of getting answered sound like this:

"I don't have a clue as to how to do Z.  Will all of you experts please spend three of four weeks developing lots of code for me?  I'll give you many points."

=-=-=-=-=-
Don't you understand that what you are asking for is at least a 10,000-line program?  

If you ask an expert to pound in a nail for you, he might do it.  If you ask him to build a skyscraper... you will be ignored or laughed out of town.

-- Dan
0
 
qqqqqqqqqAuthor Commented:
I'm created my account some time ago, but this is my first post on EE so I don't se how my voice could sound familiar. I wasn't really asking for the experts to do any work but give me a link to a tutorial or a website with some code. I thought that experts in this field might know of certain websites that provide this information as a search on google provides very little information. I hope you aren't mis understanding me and assuming that I'm asking anyone to write any code at all.

-Sorry for the misunderstanding
0
 
gunnCommented:
Try http://www.gamedev.net . They have lots of articles and maybe some sample code on programming games, including simulations. It's probably the closest you will find. Writing these things is difficult, so when people do it, they usually charge.
0
 
bluprintCommented:
www.game-development.com might get you somewhere also... I don't know if they specifically will have what you are looking for, but they do have a lot of turorial-related stuff.
0
 
qqqqqqqqqAuthor Commented:
bluprint: it asks for a password and then crashes.
0
 
gunnCommented:
Remove the dash and it works just fine....

http://www.gamedevelopment.com/
0
 
bluprintCommented:
sorry about that, I meant

www.game-developer.com

I think it's a pretty decent site...
0
 
mudface061200Commented:
Be sure to look at:

GarageGames.com
nehe.gamedev.net

They are sites I visit regularly.  Hope that helps.

-m
0
 
gunnCommented:
Some great websites here to check with. If you're still into figuring this out, there is a pretty cool book title "Physics For Game Developers" that has a specific section on simulating automobiles ( + aircraft, ships and hovercraft). It's fairly basic physics, but the book does a great job of explaining it and getting good results.

Do a search at amazon.com, its there.
0
 
ASPGuruCommented:
qqqqqqqqq, still with us?

ASPGuru
0
 
qqqqqqqqqAuthor Commented:
yes, i'm very busy, and I'll read through the posts tomorrow. thanks for sticking with me!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.