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?
 
laeuchliConnect With a Mentor Commented:
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
 
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
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
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
 
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
All Courses

From novice to tech pro — start learning today.