Jump to content
  • Advertisement
Sign in to follow this  
Qaia

Backgrounds for full 3D camera rotation

This topic is 2312 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

What is the most efficient and preferred way to implement static backgrounds involving full 3D camera rotation? For example, space and aquatic sims environments. The background is exactly that, just a backdrop to create the overall encapsulating environment allowing the character to explore the 3D universe unhindered.

I was thinking there are two general approaches:

1) Use a 3D model that encapsulates the universe (like a box) with the inside of the model textured; or

2) Use a 2D sprite sheet that maps coordinates on the sheet to the camera position.

The downside to 1) is that because it is a 3D model (needless) collision calculations would constantly be performed. The downside to 2) is that the engine has to constantly perform the mapping calculations and reload the sprite sheet accordingly.

Which of these two approaches is preferred? Are there any other approaches used?

Share this post


Link to post
Share on other sites
Advertisement
#1 is the most efficient and what you described is called a skybox. However, there should be no collision detection applied to the cube.

Share this post


Link to post
Share on other sites
Perfect! Skybox is exactly what I was looking for. Thanks! About the collision detection, I'm guessing I'll have to create a new content pipeline processor specifically for skyboxes, since my current implementation processes all 3D models with their corresponding hitboxes.

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!