Solved

C/C++ Car Sim Source Code

Posted on 2002-03-10
15
5,832 Views
Last Modified: 2012-08-14
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!
0
Comment
Question by:qqqqqqqqq
  • 5
  • 3
  • 2
  • +3
15 Comments
 

Author Comment

by:qqqqqqqqq
Comment Utility
any ideas. I'm willing to add hundreds of more points.
0
 
LVL 49

Expert Comment

by:DanRollins
Comment Utility
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
 

Author Comment

by:qqqqqqqqq
Comment Utility
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
 
LVL 49

Expert Comment

by:DanRollins
Comment Utility
>> 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
 

Author Comment

by:qqqqqqqqq
Comment Utility
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
 

Expert Comment

by:gunn
Comment Utility
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
 
LVL 1

Expert Comment

by:bluprint
Comment Utility
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
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 

Author Comment

by:qqqqqqqqq
Comment Utility
bluprint: it asks for a password and then crashes.
0
 

Expert Comment

by:gunn
Comment Utility
Remove the dash and it works just fine....

http://www.gamedevelopment.com/
0
 
LVL 1

Expert Comment

by:bluprint
Comment Utility
sorry about that, I meant

www.game-developer.com

I think it's a pretty decent site...
0
 
LVL 1

Expert Comment

by:mudface061200
Comment Utility
Be sure to look at:

GarageGames.com
nehe.gamedev.net

They are sites I visit regularly.  Hope that helps.

-m
0
 
LVL 11

Accepted Solution

by:
ASPGuru earned 300 total points
Comment Utility
0
 

Expert Comment

by:gunn
Comment Utility
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
 
LVL 11

Expert Comment

by:ASPGuru
Comment Utility
qqqqqqqqq, still with us?

ASPGuru
0
 

Author Comment

by:qqqqqqqqq
Comment Utility
yes, i'm very busy, and I'll read through the posts tomorrow. thanks for sticking with me!
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

What is RenderMan: RenderMan is a not any particular piece of software. RenderMan is an industry standard, defining set of rules that any rendering software should use, to be RenderMan-compliant. Pixar's RenderMan is a flagship implementation of …
As game developers, we quickly learn that Artificial Intelligence (AI) doesn’t need to be so tough.  To reference Space Ghost: “Moltar, I have a giant brain that is able to reduce any complex machine into a simple yes or no answer. (http://www.youtu…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now