Sign in to follow this  
n4gix

Does anyone understand how VIEW_xxx_EYE= statements work?

Recommended Posts

I am mystified. The Panel SDK says only that such statements are used to change the eyepoint for the view that is specified and that's all it says. I know there are three parameters for each statement that correspond to an x, y, and z distance along three orthogonal axes. But which axes relative to the aircraft axes are these and are they different depending on which EYE statement is being provided? The SDK doesn't say - or at least I couldn't find any sort of a helpful discription. I also tried some trial and error modifications myself to see if I could figure the answer out for myself but got totally lost. Nothing seemed to work as I expected, and small eyepoint axis changes had huge effects in the sim. If you, for example, want to lower the eyepoint slightly for views out of the left window only such that in the 2D panel mode you would see less top window frame and more window space, I would expect, first of all, that you would need to specify a VIEW_LEFT_EYE statement. Then, logic tells me that all I need to do is provide the same x and y parameters as the aircraft eyepoint (from the aircraft.cfg file) and replace the aircraft's z eyepoint value with a slightly smaller value. However, this is obviously not correct. The view out of the left window is completely changed when you do that. I then thought maybe the specified parameter values were incremental changes from those specified at the aircraft level and only the axis to be modified should have a value specified - but that didn't work either. If anyone knows the answer or can point me to a source of information better than the SDK, please do.Stan V.

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

From my practice, the view commands in the panel.cfg seem relative to the eyepoint specified in the aircfaft.cfg, and the eyepoint in the aircraft.cfg is relative to the model's origin as defined in GMAX or FSDS.But, the view commands seem to offset the eyepoint in meters vs. feet. IOTW each unit in the view parameters offsets the eyepoint by one meter.Hope this helps.-John

Share this post


Link to post
Share on other sites

The FSEdit SDK implies the following axis arrangement:x - positive forwardy - postive right (starboard)z - positive up

Share this post


Link to post
Share on other sites

>From my practice, the view commands in the panel.cfg seem>relative to the eyepoint specified in the aircfaft.cfg, and>the eyepoint in the aircraft.cfg is relative to the model's>origin as defined in GMAX or FSDS.Almost.. the eyepoint is relative to the reference_datum_position point in the aircraft.cfg. The reference_datum_position is relative to the 0,0,0 point in Gmax or FSDS.

Share this post


Link to post
Share on other sites

>>From my practice, the view commands in the panel.cfg seem>>relative to the eyepoint specified in the aircfaft.cfg, and>>the eyepoint in the aircraft.cfg is relative to the model's>>origin as defined in GMAX or FSDS.>>Almost.. the eyepoint is relative to the>reference_datum_position point in the aircraft.cfg. The>reference_datum_position is relative to the 0,0,0 point in>Gmax or FSDS.Which in most cases (because the designer doesn't know any better) both the ref_dat_pos and empty_weight_COG are congruent, making the issue moot. ;)

Share this post


Link to post
Share on other sites

>>>From my practice, the view commands in the panel.cfg seem>>>relative to the eyepoint specified in the aircfaft.cfg, and>>>the eyepoint in the aircraft.cfg is relative to the model's>>>origin as defined in GMAX or FSDS.>>>>Almost.. the eyepoint is relative to the>>reference_datum_position point in the aircraft.cfg. The>>reference_datum_position is relative to the 0,0,0 point in>>Gmax or FSDS.>>Which in most cases (because the designer doesn't know any>better) both the ref_dat_pos and empty_weight_COG are>congruent, making the issue moot. ;)Man, I hate that. It makes doing a weight and balance calc all but impossible.Dan

Share this post


Link to post
Share on other sites

>>>Almost.. the eyepoint is relative to the>>>reference_datum_position point in the aircraft.cfg. The>>>reference_datum_position is relative to the 0,0,0 point in>>>Gmax or FSDS.>>>>Which in most cases (because the designer doesn't know any>>better) both the ref_dat_pos and empty_weight_COG are>>congruent, making the issue moot. ;)>>Man, I hate that. It makes doing a weight and balance calc>all but impossible.No kidding! Worse, a few modelers don't set the origin in the CAD program properly, making contact points and such a real headache as well... ;(

Share this post


Link to post
Share on other sites

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
Sign in to follow this