Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

hundel

SIMPLE - Simulate Moving Background

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

Here's a simple one for some group input. I have two types of starfield backgrounds - spherical and flat backdrop. The backdrop is a new preference option for low-end users. The game allows multiple cameras with lots of motion logic along any axis. Currently, I store the pos and lookat points (but may need to start calculating angles based on these). The flat backdrop always uses the full drawing surface, and a logic is associated with it for animating texture coordinates. I want the logic to simulate the motion of the starfield according to the rotation of the camera. I am open to solutions which discard any regular relation between the look at point and the portion of the background texture that's visible. In other words, the background could have no recognizable features (be tiled. Therefore, a solution might not show the same part of the starfield as the spheremap background version if they were in the same camera state, and running side by side. Also (obviously) the stars can be at an infinite distance so camera movement can be ignored. Given those conditions, this should be simple. Any thoughts? [edited by - hundel on July 23, 2002 9:12:03 AM] [edited by - hundel on July 23, 2002 9:13:08 AM]

Share this post


Link to post
Share on other sites
Advertisement
Maybe have a skybox. Adding an extra 5 polys shouldnt be a strain since the bottleneck is the fillrate.

Or maybe im just confused.

Share this post


Link to post
Share on other sites

  • 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!