Jump to content
  • Advertisement

Archived

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

joke_dst

Viewing planet from orbit-engine

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

Hello everyone! I have made a little engine that takes a map of a planet ant then shows a view from space of it. What it does is calculates texturecoordinates for each pixel, using the fact that the planet is round. I do therefor not need to use polygons, ant the transitions are smooth and nice. I use a simple arccos()-calculation for this, puts it in a array and then quickly maps using ofset-adding to make the planet rotate. But it looks odd sometimes! This is because there is no perspective-correction! Has anyone ever made anything similar? Have you managed texturecorrection? I thought about some sort of raycasting, since it doesn''t have to be to fast, but i dunno. Help, anyone? joke/dst

Share this post


Link to post
Share on other sites
Advertisement

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