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
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
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?!
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...
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...
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
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...
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...
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
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.