Search results

  1. T

    New Orbiter Beta Released (r.44, Dec 5 2015)

    Ok thanks! I would give it a try if you expose this function. I also need to improve the drawing of the map: Now I just use Sketchpad->LineTo (x,y) and I need to create and release the "Sketchpad Pen" for each pixel just to change the color. Maybe there are better solutions but I guess thats...
  2. T

    New Orbiter Beta Released (r.44, Dec 5 2015)

    Using the new API function "oapiSurfaceElevation", I created a little MFD mode which shows a topographic map. It's just experimental and just for fun. I noticed that "oapiSurfaceElevation" is a bit to slow for this task. The generation for such a map needs ~ one second, depending on the zoom...
  3. T

    Internet Video Thread

    Enterprise-D Virtual Tour with Unreal engine:
  4. T

    Calculating V for s with constant jerk

    I have a little problem with this stuff: I used all the forms but it's not working right. I want to calculate the rotation speed of a vessel to set a specific setpoint. In the last few degrees, the acceleration should decrease slowley. In fact, this is used only for the last few degrees...
  5. T

    New Orbiter Beta Released (r.44, Dec 5 2015)

    BOOL oapiGetAltitude ( OBJHANDLE hVessel, double * alt ) can be used only if a vessel is at that position. double oapiSurfaceElevation (OBJHANDLE hPlanet, double lng, double lat) can give you the elevation of any lng / lat of hPlanet you want. It Returns the elevation above hPlanets mean radius...
  6. T

    New Orbiter Beta Released (r.44, Dec 5 2015)

    Issue: - retract the HUD in the virtual 3D cockpit - Change view to the glass or 2D cockpit - Press h (this activtes the HUD in the glass or 2d cockpit) After going back to the virtual 3D cockpit, the HUD data are projected, but the HUD is still retracted. So I thing there are 2 possible...
  7. T

    New Orbiter Beta Released (r.44, Dec 5 2015)

    One very tiny point: in the planetarium mode, the markers are not at evaluatin level
  8. T

    New Orbiter Beta Released (r.44, Dec 5 2015)

    r. 27: I noticed two new points: 1) When I took off from Brighton Beach and set verticle speed to +1m/s to test point 1 of r.27, the hover engine goes on off on off on off verry fast. It does not find a constant value for thrust level. Maybe the increment / decrement for changing the thrust...
  9. T

    API Question How to get the coordinates in a distance of n meters?

    what's th best way to get the coordinates (lat and lng) in a distance of n meters into the direction of the vessels heading using orbiter api? Sorry but I'm still confused with all the transformations... ---------- Post added 26-09-15 at 01:16 ---------- Previous post was 25-09-15 at 23:45...
  10. T

    Calculating V for s with constant jerk

    Ok thank you all I can confirm Keithth G's solution. Without this solution I felt to unsure to solve it but now I got it too (hopefully): I \begin{split} a&=j*t\\ v&=\frac{ds}{dt}\\ a&=\frac{dv}{dt}\\ j&=\frac{da}{dt}=const(j)\\ \end{split} II \begin{split} s&=\int v\,dt\\ v&=\int a\,dt\\...
  11. T

    Calculating V for s with constant jerk

    For a constant acceleration (a=constant) into one direction, the formular for v to s is: v = sqrt(2*a*s) if v0 = 0 What's the formular for v for s, if the acceleration increases constantly (j=constant; V0=0; a0=0, s0=0)? (Without t) v: Speed a: acceleration s: distance
  12. T

    Orbiter Video Thread

    Testflight from Lunar Orbit to Brighton Beach with the "Baseland Hover Edition" - Autopilot (pre alpha version and not released yet).
  13. T

    New Orbiter Beta Released (r.44, Dec 5 2015)

    Just to explain point 2 of my previous post.
  14. T

    New Orbiter Beta Released (r.44, Dec 5 2015)

    2 Points: 1. Is it possible to get the altitude of the landscape for a position (lattitude / longtittude) and / or for a OBJHANDLE, e.g., for a base? This is important for autopilots to calculate the glide path to a base etc. 2. I observed that the shaddow of the smoke trail is somewhere in the...
  15. T

    New Orbiter Beta Released (r.44, Dec 5 2015)

    Yes it did, even if I try bool myMFD::Update (oapi::Sketchpad *skp) { skp->Pixel(10,10,RGB(100.0,0.0,0.0)); return true; } I got a CTD. If I remove the line with skp-> ..., there will be no CTD. The initialisation of the MFD mode is working, because I see my buttons and the...
  16. T

    New Orbiter Beta Released (r.44, Dec 5 2015)

    Hello, I just tested to create a MFD mode for the new beta version. Should it work if it's compiled with the sdks of 2010? Or have I to use the new sdks? I just tested a mfd with simply bool myMFD::Update (oapi::Sketchpad *skp) { skp->Text(0,0,"HELLO WORLD",11); return true; } and I...
  17. T

    API Question Get relativ x / y distance

    Ok because I want to the "horizontal downrange offset", I had to do some extentions. VECTOR3 global_pos, local_pos; double r_g = oapiGetSize(v->GetGravityRef()); // v = oapiGetFocusInterface() double r_deg = oapiOrthodome(pos.x,pos.y,targetPoint.x, targetPoint.y); oapiEquToGlobal...
  18. T

    API Question Get relativ x / y distance

    Exactly that's it...
  19. T

    API Question Get relativ x / y distance

    Hello, I need to get the relative x / y distance (in m) to a target surface point. Relative means, that if the point is directly in front, then x is 0 and y = distance. If the point is on the left hand, x = -distance, y = 0 and so on... But this code will not work so whats wrong with it? {...
  20. T

    General Question pointing the hover engine

    Method to set vertical acceleration Hi this function sets the vertical acceleration without "regulating" but by calculating. VECTOR3 getThrGroupDir(THGROUP_TYPE thgt) { VECTOR3 dirTotal = {0,0,0}; for(unsigned int i=0; i<v->GetGroupThrusterCount(thgt)...
Back
Top