Recent content by huddi

  1. H

    General Question Projection of the Cameraview

    okay, but which projection matrix (or projection method) is used in orbiter?
  2. H

    General Question Projection of the Cameraview

    Hi! I'm trying to figure out how the simulation environment displays the 3d-world on the (planar) screen. Is it just the way a pinhole camera works? Thanks! Huddi
  3. H

    SDK Question New to Plugins

    ahh this explains why i didn't find anything on this :). thanks for the tip with the mfd. maybe i can derive things from there.
  4. H

    SDK Question New to Plugins

    Could you tell me where to find a tutorial how to do this? Thanks!
  5. H

    SDK Question New to Plugins

    Hi! I've created my own VESSEL2 vessel. I would like to put the clbkDrawHUD function into a Plugin so that other Vessels can use it as well. Is this possible? Thanks! Huddi
  6. H

    Hill's Equations

    That was just a mistake in the example. I've got x=orbitdirection y=right z=down I used the exact equations that are given. Vallado uses: x= up y=orbitdirection z=left So I put x=-z y=x z=-y and back again. This should work?!
  7. H

    Hill's Equations

    Thanks, still this is not it... that was a drawingproblem :)
  8. H

    Hill's Equations

    Okay, so there must be something wrong with my calculations- but I just cannot find the mistake :/. Maybe the coordinate system?! I've got x: in Orbitvelocity direction y: crossproduct(x,z) z: points towards earth This is my code to that...
  9. H

    Hill's Equations

    Hi, I'm trying to program a pathprediction for a docking maneuver situation. The Hill's equation (also known as Clohessy-Wiltshire) should - as I understand - exactly do this. This is how it is in Orbiter: -target (blue dot) is in a circular orbit -interceptor (red dot) about 500m behind...
  10. H

    SDK Question Handle to other Vessel (exception)

    Thanks! This is right The function is called oapiGetVesselCount() Thanks too!
  11. H

    SDK Question Handle to other Vessel (exception)

    Hi, if I validly call oapiGetVesselByIndex everything is all right. But if there is no Object for the Index entered, the program crashes. this try { ... } catch(...){}; does not work. What else can I do? Thanks, Huddi
  12. H

    SDK Question Dragonfly Sample

    Dragonfly uses its own orbitersdk.h - it's in the Dragonfly folder.
  13. H

    SDK Question Dragonfly Sample

    I tried to just change that point in the code. But this didn't help much. I think you also have to change the orbitersdk.h to the one as eg deltaglider has it. then dragonfly.cpp compiles, but the whole project cannot be build. I've got no idea how to solve this. Isn't there a function in the...
  14. H

    SDK Question Dragonfly Sample

    Hi, I've got some questions about the Dragonfly sample. 1. This Vessel is not Vessel2 derived. Is there an easy way to change it to vessel2? 2. I can't find any function for the HUD. Just creating the Function clbkDrawHUD compiles fine, but has no result. 3. is there a reason for the...
  15. H

    SDK Question Orbit System

    Thanks a lot!! This works - even with the orbitplane. But did you find out why it didn't work before? edit: found it... was nothing about the vesselstatus structure. tmul uses the transposed matrix. so you dont go from local to global, but the other way
Back
Top