Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Hi Pete,

I'd like to read the position of the sun from FS into my program - ie, its heading and its angle from the horizon.

I've looked in the offset table in the documenation and I can't see anything.

I'm assuming that FS has to calculate this to put the sun in the right place and do the sun glare effect when you fly towards it.

What are the chances that FSUIPC can give this info?

Thanks,

Paul

Posted

I'd like to read the position of the sun from FS into my program - ie, its heading and its angle from the horizon.

I've looked in the offset table in the documenation and I can't see anything.

I'm assuming that FS has to calculate this to put the sun in the right place and do the sun glare effect when you fly towards it.

What are the chances that FSUIPC can give this info?

None at all for the current versions I'm afraid. I'm guessing that it's buried deep in the graphics someplace. However, if it is correctly following the rules of place and date/time, surely all you need to do is follow the same ephemeris rules and calculate it? Or have look-up tables.

It's probably too late by now for FSX too, but be sure to make a suggestion to Microsoft by writing to tell_fs@microsoft.com. Just ask for programmatic access to Sun (and Moon, and Stars?) positions, giving your reasons.

Regards,

Pete

Posted

None at all for the current versions I'm afraid.

OK, no probs.

surely all you need to do is follow the same ephemeris rules and calculate it? Or have look-up tables.

Yeah, that's was plan B - Just looking for an easy option first :-)

Thanks for your reply.

Paul

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.