![]() |
Earth looks beautiful. Check out my openGL app
Check out this OpenGL project i coded last week. I just thought i created something beautiful and i felt like sharing :)
(everything virus checked, no worries) Download: http://www.cjultra.com/opengl/planet.zip You also need to put this file in your system32 folder: http://www.cjultra.com/opengl/glut32.dll Instructions: Extract the contents of the zip file in a folder. Run main.exe You will see a blank window. Now you can use the right click menu to draw. Click on the following selections: - Draw planet sphere - Planet texture -> earth.bmp - Draw cloud sphere - Cloud texture -> clouds.bmp - Cloud transparency - Cloud shadows You can use the left mouse button to drag and rotate the planet. Also you can use the Animate option in the right click menu to make it rotate smoothly (clouds and planet rotate at different speeds). You can use the wireframe mode to see the wireframe model of the planet. You can use culling for increasing the performance; it doesnt draw the opposite surface that is not visible to the camera if it is enabled. You can use your own textures with the program. But they have to be 2:1 in size and the dimensions have to be power of 2 and extensions need to be bmp. So they have to be like 1024x512 or 512x256 or 256x128 etc.. When you run main.exe, it will detect them all and add to the list inside the program. here are a few resized screenshots (but it looks much better when you run it from your PC): http://www.cjultra.com/opengl/1.gif http://www.cjultra.com/opengl/3.gif here is the sourcecode: http://www.cjultra.com/opengl/main.cpp http://www.cjultra.com/opengl/Glext.h |
impressive!
|
|
cool beans bro :thumbsup
|
wow! awesome work buddy! :thumbsup
|
if you think your graphics card can handle it, try using these images to get more detail
http://www.oera.net/How2/PlanetTexs/..._2500x1250.jpg http://www.oera.net/How2/PlanetTexs/..._2500x1250.jpg you have to resize them to 2048x1024 and convert to bmp and put in the same folder where the proggy is. and there are some more here: http://www.oera.net/How2/TextureMaps.htm |
youre the shit boro
|
cool.
|
Pretty damn cool Lane!
:thumbsup Oz |
Quote:
|
| All times are GMT -7. The time now is 12:28 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123