Outerra forum

Outerra Engine => Ideas & Suggestions & Questions => Topic started by: Simbuilder5 on December 16, 2011, 02:59:12 am

Title: Realistic rotations and orbits
Post by: Simbuilder5 on December 16, 2011, 02:59:12 am
Is there a way to make realistic orbits and rotations with the earth, moon and sun. Also, will there be eclipses?
Title: Re: Realistic rotations and orbits
Post by: cameni on December 16, 2011, 03:43:42 am
Yes, the plan is to use available data for realistic positions of bodies. At the moment sun position is computed for given time of day and day of year.

Eclipses probably too, when there's some time to implement it for such a rare event, though we don't aim to be an astronomical simulator - there's plenty of those out there.
Title: Re: Realistic rotations and orbits
Post by: TheSquiffy on December 16, 2011, 06:03:25 am
Yes, the plan is to use available data for realistic positions of bodies. At the moment sun position is computed for given time of day and day of year.

Eclipses probably too, when there's some time to implement it for such a rare event, though we don't aim to be an astronomical simulator - there's plenty of those out there.

Hi cameni,
even if not an astronomical simulator, do you think outerra will support/implement something to see other planets like:

http://4.bp.blogspot.com/-mC5hb3f7Wx8/TuCvHuwKwpI/AAAAAAAAANA/9GNwIUYv3U8/s400/TerrainWithTrees2.jpg (http://4.bp.blogspot.com/-mC5hb3f7Wx8/TuCvHuwKwpI/AAAAAAAAANA/9GNwIUYv3U8/s400/TerrainWithTrees2.jpg)

( taken from this blog: http://johnwhigham.blogspot.com/2011/12/seeing-wood-for-trees.html (http://johnwhigham.blogspot.com/2011/12/seeing-wood-for-trees.html) )

Sq.
Title: Re: Realistic rotations and orbits
Post by: cameni on December 16, 2011, 06:24:01 am
Actually, for that you don't need anything special, just to render the other planet. Atmospheric lighting takes care of the rest. See, for example, this topic: http://www.outerra.com/forum/index.php?topic=158.0 (http://www.outerra.com/forum/index.php?topic=158.0)
Title: Re: Realistic rotations and orbits
Post by: ZeosPantera on December 18, 2011, 01:41:29 am
we don't aim to be an astronomical simulator - there's plenty of those out there.

But how many have Games being made in them?..

none.
Title: Re: Realistic rotations and orbits
Post by: BlankCache on December 20, 2011, 02:31:38 pm
Wow. So after the moon is rendered and I look up to the sky Ill see the moon and not some "skybox" thing?  Wow. Thats gona be awsome!!!
Title: Re: Realistic rotations and orbits
Post by: venku122 on December 24, 2011, 04:14:42 pm
Yes, the plan is to use available data for realistic positions of bodies. At the moment sun position is computed for given time of day and day of year.

Eclipses probably too, when there's some time to implement it for such a rare event, though we don't aim to be an astronomical simulator - there's plenty of those out there.
like Kerbal Space Program  :)
Title: Re: Realistic rotations and orbits
Post by: C. Shawn Smith on December 25, 2011, 04:56:21 am
Wow. So after the moon is rendered and I look up to the sky Ill see the moon and not some "skybox" thing?  Wow. Thats gona be awsome!!!

Oddly enough, I know a little bit about the math regarding that, so if Cameni or Pig gets something wrong, they're GOING to hear about it if and when they implement it.

j/k ... I wouldn't know math from a cheese cracker.
Title: Re: Realistic rotations and orbits
Post by: Simbuilder5 on January 03, 2012, 07:48:43 pm
Would there be a problem with the earth hurdling 67,000 Mph around the sun?
Title: Re: Realistic rotations and orbits
Post by: cameni on January 04, 2012, 08:31:44 am
It's matter of properly chosen reference frames. Ultimately, everything is converted into camera space for rendering. Positions of planets and moons are going to be computed in a solar coordinate system; to render the moon you'd add the difference of camera and moon positions to coordinates of objects in the local moon-space system .. etc.
Title: Re: Realistic rotations and orbits
Post by: Simbuilder5 on January 05, 2012, 03:31:45 am
Ok I think I understand.