Jump to content
  • Advertisement
Sign in to follow this  
Mattlab

Skybox help....

This topic is 4812 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Can anyone help me in designing a skybox? I have limited C++ skills and was just wondering if I could do this. I want to try and learn how to make a nice skybox. I want it too look beautiful.

Share this post


Link to post
Share on other sites
Advertisement
Well, I don't know what you're planning on making it with in terms of graphics rendering, but NeHe has a tutorial (number 29, or 32, I think) that uses a skybox. You could take the code from there and modify it as you like.

Share this post


Link to post
Share on other sites
A skybox is pretty much what it sounds like. It's a stationary box that has sky textures applied to the walls. The most important thing for making a nice skybox is to have high quality textures that will be applied to the walls. As far as programming one goes, check out the NeHe link above, it will certainly help.

The short of it is this: You create 5 quads (maybe 6 if you are doing the ground as well) that are not transformed when you move around the scene. This just means you render the skybox quads (or tris if you do it that way) before you do any other object rendering/transformation. The hard part is in generating or designing the textures to use.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!