Recent content by smarly

  1. S

    C++ Question C++ / CLI linker problem LNK2005

    Yes, error message is the same regardless whether I add the STRICT macro or not. ---------- Post added at 08:00 AM ---------- Previous post was at 07:32 AM ---------- Yes, I did add the msvcirt.lib to the ignore lib section. Same problem. If I also add msvcrt.lib to ignore, I get a lot of...
  2. S

    C++ Question C++ / CLI linker problem LNK2005

    Ok, that explains quite a bit. Thanks for the hint, at least now I know why it behaves the way it does. I'll see if I can find a way to work around this ... ---------- Post added at 02:04 PM ---------- Previous post was at 01:47 PM ---------- I tried to compile the code without the STRICT...
  3. S

    C++ Question C++ / CLI linker problem LNK2005

    Hi everyone, once again I am stuck with a problem and so I humbly ask for the wisdom of the community... this time, the problem is related to Orbiter SDK and C++ /cli. I am trying to write an Orbiter module using c++ /cli in MS VS 2012. Whenever I try to compile the code using /clr, I do get...
  4. S

    Advanced Question oapiGetGlobalVel() and superstructures

    Ok, if you look at it from this perspective, that makes sense. Still, just from the documentation I would never have guessed that behaviour. If I make a call to oapiGetGlobalVel for a specific vessel, I would expect the function to return the actual gloabl velocity of that vessels CoG, which I...
  5. S

    Advanced Question oapiGetGlobalVel() and superstructures

    That I know. What I meant to say is:The API reference mentions that for a superstructure, all vessels are treated as one when it comes to calculating the center of mass / gravity, inertia tensor, etc. However, it doesn't say anything about the velocity being the same for all vessels. The code I...
  6. S

    Advanced Question oapiGetGlobalVel() and superstructures

    Hm, according to the API reference this should only by the case for total mass, center of mass, inertia tensor and effects of forces. So, it's either missing in the documentation or I am just not able to find it. Anyway, working under the assumption that a call to getGlobalVel() always...
  7. S

    Advanced Question oapiGetGlobalVel() and superstructures

    Done. As expected, the values are exactly the same ... I am starting to believe that Orbiter just returns the global velocity of the superstructure CoG for every vessel that is part of the superstructure???
  8. S

    Advanced Question oapiGetGlobalVel() and superstructures

    Hi, thanks for the suggestion. :thumbup: That was my first thought as well. Unfortunatly, that's not the case. Posting the code for the vessels is a bit more complicated, since they are passed from another function. However, I did verify that vessels are correct by adding myVessel->GetName()...
  9. S

    Advanced Question oapiGetGlobalVel() and superstructures

    Hi everyone, during my latest project I ran into a problem which I don't quite understand... I have two vessels, say ISS (tgtVessel) and Deltaglider (myVessel). The vessels are docked, forming a superstructure. I have written a small piece of code that should calculate the relative velocity...
  10. S

    Request Support for mutliple views in OVP

    Hi Artlav, here are some of my ideas regarding the "multiple views" feature. Thanks for taking them into consideration. :) To control the window perspective I would prefer the " Generic - switching control to the smaller window, and using the regular controls to pick up the viewpoint?" -...
  11. S

    Request Support for mutliple views in OVP

    Hi asmi, that's great news. Looking forward to seeing this feature implemented in D3D11 client. :) @ Artlav: I found the option for "camera 2" in OGLAclient, but wasn't able to change the point of view or perspective in the camera 2 window. Documentation doesn't mention anything in regard to...
  12. S

    Request Support for mutliple views in OVP

    Hi guys, I was wondering whether it would be possible to implement support for multiple views in the graphics clients? I am thinking along the lines of what is possible in MS Flightsim or X-Plane where you can open multiple windows and fly in cockpit view while watching your plane in external...
  13. S

    Keyboard turned into panel with switches

    Neat. I have been wanting to do something similar for quite a while now, but never found the time to actually do it. Good job guys! How do the switches work? If they are switched to "On", do they simulate a "constant key press" or do they just create a spike when switching states?
  14. S

    General Question Getting started with addon development

    Hi Hurricane, since I have recently been in the same situation (started to develop my first add-on) I know how you must be feeling. Finding a starting point is a bit tricky, but if you keep trying you'll get into it quick enough. That said, you probably remember my thread on the Rexus rocket...
  15. S

    Project Project Rexus - Addon development 101

    So, here is the release: http://www.orbiter-forum.com/showthread.php?t=26629 Thank you all for you comments, your advice and your support throughout this project. :)
Top