OPenGL again

How do u write a program to simulate a solar system?
With options like change camera view(on the fly),change light source, change light source color such as diffuse, ambient and specular...and also shading like flat or smooth....
Also a menu to change all the above for the user?
Does anyone has a example of a complete program?
Thanks.....desperate
LVL 1
Neo78Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

laeuchliCommented:
Is this homework? It is sort of a big project. What I recommend is getting the OPENGL SuperBible(form amazon) it has what you are looking for and will explain it.
0
Neo78Author Commented:
Well getting that Bible would be great but delivery would take a long time...and time is one thing I don't have...I'm scratching all over my head to get it done....Oh well, if there any other help u can give I would appreciate it..Thanx all the same..
0
laeuchliCommented:
if you up the points to 150 and it's not a homework problem, I could email you the source. If it is then I can't.send your e-mail address to jesse@laeuchli.com

0
Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

Neo78Author Commented:
Ok ok......I've added the points to 150.....and it's not homework.....it's like a self-study and I've been spending on it for too long.....And if you have the source, can u e-mail it to me pls..?
I'll send my e-mail to your address...

Thankx.///
0
laeuchliCommented:
Ok I sent the source, if you have any questions about it post them here, and I will explain it to you.
0
laeuchliCommented:
upps, I goofed it, sorry, the source I was about to send, I had not seen for a while(it was quite a search to find the disk), and the planet demo turned out to be a demo on picking. Then they had a demo on rotating planets, but it was not what you wanted. I am really really sorry that I got your hopes up. I would like, but I am using glide for my 3d programs. Sorry. What I suggest, is that you use the planet roateing demo that I sent you and rotate the view when the mouse is clicked for the camera change. It is already flat shaded, and form there is should be easy to custimize. Really Sorry.
Jesse
0
Neo78Author Commented:
Thanx for the source...I tried well, adding stuff to it but I was lost.....Can u possibly how to add planets to your code (total of 9 planets in the solar system), and how do u change the properties for the light source like the position, materials like ambient, diffuse and specular for the light source?? Does your program has any navigation? What else can u tell me about your code and what can I do to it?
 
Thanx....I know this is too much but I really need it....
0
laeuchliCommented:
Well, how much do you know about opengl, do you have a web site you goto? Do you have a book? What do you know? Tell me what you know and maybe I can help you
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C++

From novice to tech pro — start learning today.