Menu

#53 hud heading marker (optional)

None
closed-accepted
Klauss++
None
5
2013-03-30
2013-03-23
logzero
No

Replace crosshairs with current heading and flight direction marker when enabled in config section graphics with
<var name="draw_heading_marker" value="true"/>

Related

Patches: #53

Discussion

  • logzero

    logzero - 2013-03-23
     
  • Klauss++

    Klauss++ - 2013-03-30

    Very very nice... except... did you notice the marker tends to stray off towards the sun for speeds below 10m/s ? What's up with that? I've been debugging it to no avail.

     
  • logzero

    logzero - 2013-03-30

    Am 30.03.2013 07:51, schrieb Klauss++:

    Very very nice... except... did you notice the marker tends to stray
    off towards the sun for speeds below 10m/s ? What's up with that? I've
    been debugging it to no avail.


    [patches:#53] http://sourceforge.net/p/vegastrike/patches/53/ hud
    heading marker (optional)

    Status: open
    Created: Sat Mar 23, 2013 11:23 AM UTC by logzero
    Last Updated: Sat Mar 23, 2013 11:23 AM UTC
    Owner: nobody

    Replace crosshairs with current heading and flight direction marker
    when enabled in config section graphics with


    Sent from sourceforge.net because you indicated interest in
    https://sourceforge.net/p/vegastrike/patches/53/

    To unsubscribe from further messages, please visit
    https://sourceforge.net/auth/subscriptions/

    From my understanding it is the velocity governor enforcing the target
    velocity. In the modelview mission it is more apparent. The governor
    seems to pick the nearby station/planet as frame of reference? And you
    will get like 100m/s extra messing up the heading marker.

    One could maybe try to figure out what the governor is up to and correct
    for it. The pilot would have to be (made) aware of current possibly
    moving frame of reference somehow though. And the moving part is not
    very inuitive I fear.

    Alternatively I've been thinking about displaing the whole velocity
    vector(xyz) in addition to relative speed. This should give the pilot
    enough info to see what the governor is doing.

     

    Related

    Patches: #53

    • Klauss++

      Klauss++ - 2013-03-30

      No, it's not the governor, it looks more like a coordinate system snafu. You can see how it's drift towards the sun (which happens to be 0,0,0 in world coordinates) is inversely proportional to the speed.

      It smells like a coordinate system mistake somewhere, because if indeed the camera was 0,0,0 in GL coordinates, and since indeed the velocity vector that is drawn "v" is normalized, then there is no reason for the marker's placement to be affected by the absolute speed.

       
  • Klauss++

    Klauss++ - 2013-03-30

    Scratch that, it has to be relative to the reference frame. I'll do that.

     
  • Klauss++

    Klauss++ - 2013-03-30
    • status: open --> closed-accepted
    • assigned_to: Klauss++
    • milestone: -->
     
  • logzero

    logzero - 2013-03-31

    Am 30.03.2013 20:39, schrieb Klauss++:

    Scratch that, it has to be relative to the reference frame. I'll do
    that.


    [patches:#53] http://sourceforge.net/p/vegastrike/patches/53/ hud
    heading marker (optional)

    Status: open
    Created: Sat Mar 23, 2013 11:23 AM UTC by logzero
    Last Updated: Sat Mar 30, 2013 06:51 AM UTC
    Owner: nobody

    Replace crosshairs with current heading and flight direction marker
    when enabled in config section graphics with


    Sent from sourceforge.net because you indicated interest in
    https://sourceforge.net/p/vegastrike/patches/53/

    To unsubscribe from further messages, please visit
    https://sourceforge.net/auth/subscriptions/

    As soon as you make it relative to some moving reference frame you might
    get erratic/unintuitive heading marker behavior depending on what yor
    reference is doing(has changing velocity?). This is what I meant with
    having to communicate to the pilot what his current frame of reference is.

     

    Related

    Patches: #53

    • Klauss++

      Klauss++ - 2013-03-31

      What's this way you reply with all those quotes?

      Anyway, yeah, I thought so at first, but without making it relative it's nigh useless. I noticed near Cephid 17, near "fast"-orbiting stations, that the indicator is almost overriden by orbital velocity, all it shows is orbital velocity.

      No, I think it needs to be relative to be useful. But it's also true what you say. Maybe we should have an item somewhere marking velocity reference units. Maybe on the radar, maybe showing its naem... dunno.

      But that's water under another bridge.

       
  • logzero

    logzero - 2013-04-01

    Agree, the relative velocity variant seems to be more usable. The
    reference frame display/marker issue can be handled as a separate item.
    Maybe something for the forum, to see what ideas people might come up with.

     

Log in to post a comment.