Skip to main content
gamedev.net
🔒 Locked

Background Problem

Started by darkrapture Mar 6, 2007 at 4:09 PM 3 replies 700+ views
Original Post
darkrapture
darkrapture
Hi guys. I am new in OpenGl so can i ask you for help? I am interested in that how can i draw a background in 3d dimension. For example if my scene is in the space, i want to see stars everywhere around me. Stars, suns, meteors will be texture but how can i draw it in this way? Thank you very much!
darkrapture
darkrapture
Whank you very much! But is this possible with a sphere, or the texture mapping will be hard?
Simian Man
Simian Man
I've only done it using premade textures I found online.

I imagine making the textures line up right would be quite difficult, but it would probable be easier in your case since it is a space background, and thus largely black.
darkrapture
darkrapture
One more stupid question. When i start the program with that background (stars, suns and so on...), moving(for example) the camera back, soon i see the color(glClearColor) even in the cube (i want to mark that i am into the cube when the color appears). I think is some kind of buffer, but i don't know how to set it.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.