OpenGL Projects is new initiative in the field of education.OpenGL Projects is one site that provides source code and materials for VTU 6th sem CSE students. Our first Program is - Solar System. Download source code of solar system in OpenGL and read the description below.
Description: Program to demonstrate how to use a local coordinate method to position parts of a model in relation to other model parts. Draws a simple solar system, with a sun, planet and a moon.
Based on sample code from the OpenGL programming guide by Woo, Neider, Davis. Addison-Wesley.
Software accompanying the book: 3D Computer Graphics: A Mathematical Introduction with OpenGL, by S. Buss, Cambridge University Press, 2003.
USAGE: Press "r" key to toggle (off and on) running the animation.
Press "s" key to single-step animation.
The up arrow key and down array key control the time step used in the animation rate.
Each key press multiplies or divides the times by a factor of two (2).
Press ESCAPE to exit.
Project Code: Downloads *
* Also required the header file Download .h file
worst project
ReplyDeleteWhat you didn't like in it?
ReplyDeleteneed some project with easy source code so that we can understand the code by own..
ReplyDeleteCan i add more planet to it?
ReplyDeleteIf yes then how? can you email me the source code for the modification.
my email is coolmrbabu24@yahoo.com
does this project work ??
ReplyDeletey is it worst??
ReplyDeleteYes it works perfectly.
ReplyDeleteYou try to downloads both the main file and the header file as well. If you try to not get both, the program will not run.
What is the problem? Unless you post the problem it will not going to get solve. Try to post what is not happening or what has happened. Tell the problem!
give us the simplest code possible.we need to explain everything to our teachers.orelse give explaination of eac function for what reason it is used.
ReplyDeletedere is no option for downloading the main code.
ReplyDeletethere is no download option for main code ... please let me how to download
ReplyDeleteDownload link is revised now anyone can download it.............
ReplyDeletedue to to some problem it had not been public so not avial to download
ReplyDeleteglRotatef( 360.0*DayOfYear/365.0, 0.0, 1.0, 0.0 );
ReplyDeletei am bit confused with this line of code :( could u help plz
360 is for the angle of sphere
ReplyDeleteDayOfYear of the year represent the day
365 is total no of days taken
please get me source code on solar system on computer graphics using opengl
ReplyDeletedownload link for the purpose of downloading
ReplyDelete`key_r' cannot be used as a function
ReplyDeletewhat to do now??
yOU ARE MISSSING THE FOLLOWING FUNCTION -
ReplyDeletestatic void Key_r(void)
{
if ( singleStep ) { // If ending single step mode
singleStep = GL_FALSE;
spinMode = GL_TRUE; // Restart animation
}
else {
spinMode = !spinMode; // Toggle animation on and off.
}
}
hello sir ....can give me a abstract n report for solar system plzzzzz
ReplyDeletei need a abstract n project report....can u mail me to ch.sangmesh@gmail.com plzzz
ReplyDeletei need a abstract n project report....can u mail me to prithvipru@gmail.com please.....
ReplyDeletei need a abstract n project report....can u mail me to tejupm30@gmail.com plzz plz
ReplyDeleteit really helps! thank you <3
ReplyDeleteI am getting tons of errors:(
ReplyDeleteSolar.c:66: warning: conflicting types for ‘Key_up’
Solar.c:66: error: static declaration of ‘Key_up’ follows non-static declaration
Solar.c:39: error: previous implicit declaration of ‘Key_up’ was here
Solar.c:71: warning: conflicting types for ‘Key_down’
Solar.c:71: error: static declaration of ‘Key_down’ follows non-static declaration
Solar.c:42: error: previous implicit declaration of ‘Key_down’ was here
Solar.c: In function ‘Animate’:
Solar.c:83: error: ‘GL_COLOR_BUFFER_BIT’ undeclared (first use in this function)
Solar.c:83: error: ‘GL_DEPTH_BUFFER_BIT’ undeclared (first use in this function)
Solar.c:85: error: ‘spinMode’ undeclared (first use in this function)
Solar.c:133: error: ‘singleStep’ undeclared (first use in this function)
Solar.c:134: error: ‘GL_FALSE’ undeclared (first use in this function)
Solar.c: In function ‘OpenGLInit’:
Solar.c:144: error: ‘GL_FLAT’ undeclared (first use in this function)
Solar.c:147: error: ‘GL_DEPTH_TEST’ undeclared (first use in this function)
Solar.c: In function ‘ResizeWindow’:
Solar.c:160: error: ‘GL_PROJECTION’ undeclared (first use in this function)
Solar.c:165: error: ‘GL_MODELVIEW’ undeclared (first use in this function)
Solar.c: In function ‘main’:
Solar.c:175: error: ‘GLUT_DOUBLE’ undeclared (first use in this function)
Solar.c:175: error: ‘GLUT_RGB’ undeclared (first use in this function)
Solar.c:175: error: ‘GLUT_DEPTH’ undeclared (first use in this function)
Please help me!!
ReplyDeleteDocuments/c/CHARD/Solar.h:1:1: error: unterminated comment
ReplyDeleteDocuments/c/CHARD/Solar.c:31:13: warning: conflicting types for ‘Key_r’ [enabled by default]
Documents/c/CHARD/Solar.c:31:13: error: static declaration of ‘Key_r’ follows non-static declaration
Documents/c/CHARD/Solar.c:21:3: note: previous implicit declaration of ‘Key_r’ was here
Documents/c/CHARD/Solar.c:67:13: error: redefinition of ‘Key_r’
Documents/c/CHARD/Solar.c:31:13: note: previous definition of ‘Key_r’ was here
Documents/c/CHARD/Solar.c:78:13: warning: conflicting types for ‘Key_s’ [enabled by default]
Documents/c/CHARD/Solar.c:78:13: error: static declaration of ‘Key_s’ follows non-static declaration
Documents/c/CHARD/Solar.c:25:3: note: previous implicit declaration of ‘Key_s’ was here
Documents/c/CHARD/Solar.c:84:13: warning: conflicting types for ‘Key_up’ [enabled by default]
Documents/c/CHARD/Solar.c:84:13: error: static declaration of ‘Key_up’ follows non-static declaration
Documents/c/CHARD/Solar.c:58:3: note: previous implicit declaration of ‘Key_up’ was here
Documents/c/CHARD/Solar.c:89:13: warning: conflicting types for ‘Key_down’ [enabled by default]
Documents/c/CHARD/Solar.c:89:13: error: static declaration of ‘Key_down’ follows non-static declaration
Documents/c/CHARD/Solar.c:61:3: note: previous implicit declaration of ‘Key_down’ was here
[gomzy@gomzy ~]$
[gomzy@gomzy ~]$ gcc -lGL -lGLU -lglut Documents/c/CHARD/Solar.c -o s
In file included from Documents/c/CHARD/Solar.c:1:0:
Documents/c/CHARD/Solar.h:1:1: error: unterminated comment
Documents/c/CHARD/Solar.c:31:13: warning: conflicting types for ‘Key_r’ [enabled by default]
Documents/c/CHARD/Solar.c:31:13: error: static declaration of ‘Key_r’ follows non-static declaration
Documents/c/CHARD/Solar.c:21:3: note: previous implicit declaration of ‘Key_r’ was here
Documents/c/CHARD/Solar.c:67:13: error: redefinition of ‘Key_r’
Documents/c/CHARD/Solar.c:31:13: note: previous definition of ‘Key_r’ was here
Documents/c/CHARD/Solar.c:78:13: warning: conflicting types for ‘Key_s’ [enabled by default]
Documents/c/CHARD/Solar.c:78:13: error: static declaration of ‘Key_s’ follows non-static declaration
Documents/c/CHARD/Solar.c:25:3: note: previous implicit declaration of ‘Key_s’ was here
Documents/c/CHARD/Solar.c:84:13: warning: conflicting types for ‘Key_up’ [enabled by default]
Documents/c/CHARD/Solar.c:84:13: error: static declaration of ‘Key_up’ follows non-static declaration
Documents/c/CHARD/Solar.c:58:3: note: previous implicit declaration of ‘Key_up’ was here
Documents/c/CHARD/Solar.c:89:13: warning: conflicting types for ‘Key_down’ [enabled by default]
Documents/c/CHARD/Solar.c:89:13: error: static declaration of ‘Key_down’ follows non-static declaration
Documents/c/CHARD/Solar.c:61:3: note: previous implicit declaration of ‘Key_down’ was here
what to do?????
can u hlp to resolve this,,, error cmes when i jst copy ur cody past it as it is and run in vc++
ReplyDeleteBig Styluses, little styluses, little styluses that expand into big
ReplyDeletestyluses - You can get a starter kit that has all the stuff you need to take advantage of all the great features of
the 3DS and the items that come in the starter kit
are the color of the 3DS. Further, to spice things up, Nintendo
is also re-releasing vintage. Even the DSi XL has the same (albeit larger) screens on both the upper and lower parts of the console.
Review my blog post :: 3ds emulator
By way of this technique people will have a way to download themes,
ReplyDeleteextensions, programs, etc. It is the toughest precious stone that is 2nd.
No jailbreak means no open, easy as that.
my website ... download Redsn0w - http://www.fotos-amor.net -
Asking questions are in fact pleasant thing if you are not understanding anything entirely, except
ReplyDeletethis post offers pleasant understanding yet.
Also visit my weblog; zombie survival gear
Hello There. I found your blog using msn. This is an extremely well written article.
ReplyDeleteI'll be sure to bookmark it and come back to rewad more of your
useful information. Thanks for the post. I'll definitely comeback.
Take a look at my blog :: venapro negative reviews
Magnificent beat ! I would like to apprentice while you amend your web site,
ReplyDeletehow can i subscribe for a blog web site? The account aided me a acceptable deal.
I had been a little bit acquainted of this your broadcast
provided bright clear idea
Here is my web site; clash of clans builder hack
These are nothing but video plays that bike race cheats can be installed on the road.
ReplyDeleteWith Snake, and bike race cheats a day in age technology has added
a new game anyway so they do something too that's gamification. Keep in mind the growing popularity of free mobile games tend to
be as simple as it gains more traction in the market.
Visit my homepage bike race unlimited money
Very nice openGl project............
ReplyDeleteYes indeed it is
ReplyDeleteYes it works perfectly.
ReplyDeleteYou try to downloads both the main file and the header file as well. If you try to not get both, the program will not run.
What is the problem? Unless you post the problem it will not going to get solve. Try to post what is not happening or what has happened. Tell the problem!
The King Casino Company - Ventureberg
ReplyDeleteIt was born in 출장샵 1934. The Company septcasino offers luxury hotels, If you don't have https://deccasino.com/review/merit-casino/ a poker ventureberg.com/ room in your house, then you'll find a poker room in the wooricasinos.info
Great and that i have a dandy offer: House Renovation What To Do First home renovation quotes
ReplyDelete