well, title says all, but a little image always helps clarify, so look:
before anything else, let me thank dr. Martin for the great ADI texture :thumbup:
anyways, as you can see, that thing is a ball, an actual 3d sphere with Martins texture wrapped around it
now i need to make it into a gyro indicator...
my first thought was to have a set of animation to spin it on each XYZ axis... but i'm not sure on how that would correspond to the input coordinates i want displayed... and i don't want a gimbal lock or a non-commutative-operation error messing up my stuff
for as you can see on the glareshield panel, there's a 5-stop knob that selects the following operation modes for the Gyro-ball:
OFF = disabled mode -- i've coded that one already, works perfecly :lol:
PT/BK = Pitch/Bank mode, works exactly like a regular aircraft ADI, you know it...
AFV = Atmospheric Flight Vector -- same as PT/BK but also rotates horizontally to show yaw deviation
ORB = Orbit mode --same as AFV, but orients towards your orbit prograde vector instead
ABS = Absolute direction mode -- locks on to the current attitude (when you press "mark") and shows your deviation from that direction
anyways, i was thinking of using a manual animation to work out the rotation matrix for that thing... but i found the documentation a bit scarce on that matter... should i try that? or should i use parented animations for each gimbal axis?
just looking for pointers... any input however uninsightful is still appreciated
before anything else, let me thank dr. Martin for the great ADI texture :thumbup:
anyways, as you can see, that thing is a ball, an actual 3d sphere with Martins texture wrapped around it
now i need to make it into a gyro indicator...
my first thought was to have a set of animation to spin it on each XYZ axis... but i'm not sure on how that would correspond to the input coordinates i want displayed... and i don't want a gimbal lock or a non-commutative-operation error messing up my stuff
for as you can see on the glareshield panel, there's a 5-stop knob that selects the following operation modes for the Gyro-ball:
OFF = disabled mode -- i've coded that one already, works perfecly :lol:
PT/BK = Pitch/Bank mode, works exactly like a regular aircraft ADI, you know it...
AFV = Atmospheric Flight Vector -- same as PT/BK but also rotates horizontally to show yaw deviation
ORB = Orbit mode --same as AFV, but orients towards your orbit prograde vector instead
ABS = Absolute direction mode -- locks on to the current attitude (when you press "mark") and shows your deviation from that direction
anyways, i was thinking of using a manual animation to work out the rotation matrix for that thing... but i found the documentation a bit scarce on that matter... should i try that? or should i use parented animations for each gimbal axis?
just looking for pointers... any input however uninsightful is still appreciated