Search results

  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
  16. H

    SDK Question Orbit System

    unfortunately it does not work. here is my try. it is not working either but i just cant find any mistake. MATRIX3 rotLocal2Global; // rotation matrix for transforming from local coords to global coords VECTOR3 rightWing, //vector to vessels right wing tempVector, //umrechnung...
  17. H

    SDK Question Orbit System

    It returns -1.#IND for pos.x, pos.y and pos.z if i transform those into a string Yes this sounds right. Its just the plane opened by the velocity vector and the vector from the vessels center of mass to the planets center of mass. this would be so great... i'm stuck for a long time now :)
  18. H

    SDK Question Orbit System

    Don't know why, but I think it is because of the second parameter vs.rot/length(vs.rot) looks like you have to do this operation seperately with a for-loop My objective is to get the Vessel's z-rotation to the orbital plane. The behaviour is supposed to be exactly like the bank angle to the...
  19. H

    SDK Question Orbit System

    I had to modify the code a little because tmul() wouldn't work. Could you maybe explain, how the code is supposed to work? Because right now it returns wrong angles. (which are effected by e.g. position, yaw and pitch angle)
  20. H

    SDK Question Orbit System

    Hi, I am trying to get the Tait-Bryan Angles to the Orbit System. I am able to get the equivalents to Yaw and Pitch by a few conversions. But I just cant find anything for the "bank-equivalent". This would be the rotation around the vessels longitudinal axis to the orbital plane. Can anybody...
Back
Top