Search results

  1. Evgheny

    General Question Converting Eulers to Pitch-Yaw-Bank

    How to convert Eulers angles to Pitch-Yaw-Bank? This functionality can be demonstrated in Scenario Editor. There, I can modify Pith, Yaw or Bank and see how Euler angles are modified.
  2. Evgheny

    API Question oapiCameraRotPolar (and Azimuth) problem question

    Hello forum. I've noticed that I need to double the argument to get correct angle. What is that? Is it my misunderstanding the function, or some other problem? Here is the code, It was executed only once. I've executed it in debug mode to see results of every string (results are written in...
  3. Evgheny

    API Question Put your spacecraft in conjunction with Earth

    Sorry, if I messed up with the title, don't know how to say correct this in English. (edited, thanks 2 Keatah) What I need: I need to put my Vessel on a line "Earth - Sun" but at the opposite (to Earth) side of Sun. Vessel ---- SUN ---- Earth I've tried to do it in such a way: //...
  4. Evgheny

    API Question How to use GlobalRot function (or how to direct Vessel towards Sun)?

    Hello forum. From the API Reference: What does it mean by "local coordinates"? If my vessel is orbiting Sun (its rbody is Sun), so relative direction to Sun is local coordinates? I need to turn my Vessel directly to Sun, and I've tried with this function (converting [0 0 0] direction to...
  5. Evgheny

    API Question Usage of undocumented classes and function

    I'd like to up a question from 2010: http://www.orbiter-forum.com/showthread.php?t=15963 In OrbiterApi.h I see such classes as: CameraMode CameraMode_Cockpit CameraMode_Track etc. I've tried to use them, but haven't succeed. Maybe somebody had luck to use them correctly? Can you give an...
  6. Evgheny

    API Question What's the origin of Coordinate System in Orbiter?

    Hello Forum. What is the origin of Coordinate System in Orbiter? I use this function from Orbiter SDK API: I've got position of Sun and Earth by this function: (values are rounded to integers) R = dist(sunPos, earthPos) returns 148761959054, that's similar to 149.6*10^6 from wikipedia...
  7. Evgheny

    Problem Can't include OpenCV in Orbiter plugin

    I need to use OpenCV library in my Orbiter plugin. OpenCV has two variants of API: C version and C++. I've tried to add opencv in my orbiter plugin project in VS2010. I've followed this tutorial: http://opencv.willowgarage.com/wiki/VisualC%2B%2B Compilation and linking goes fine. VS2010...
  8. Evgheny

    .dll Question Linker warning in Visual Studio 2010

    Hello forum. I'm trying to write my first plugin, and I've read articles in your wiki, and followed the instruction of the video of here: ( thank the author for this video ) So, I've done everything like in video. Plugin works, but linker reports some warning, I read them, understand them...
  9. Evgheny

    Problem There are only two 2d instrument panels on Glider

    It's quote from PDF documentation of DeltaGlider. But I have only two instrument panels (top and middle). When I press CTRL+DOWN in middle panel - nothing happens. How to fix this?
  10. Evgheny

    Advanced Question Is Image Processing is possible in Orbiter API?

    Hello, Orbiter Forum. I need to write a plugin, that requires Image Processing algorithms. But how to capture images from Orbiter? Is there any API function ( LUA or C++ ) that can get images of front view of vessel (from the main window - what the vessel "is seeing")? I need this for writing...
Back
Top