Search results

  1. Mr Martian

    Programming Question What IDE do you use?

    Hi all, Just wondering whjat IDE people like to use for developing orbiter addons? I am still using Microsoft Visual C++ 2010, just becuase it's just familliar to me, but are people mostly using Visual Studio 2022 now? From memory I tried it before but struggled to set up the right working...
  2. Mr Martian

    API Question Help redrawing virtual cockpit displays in D3D9

    Hi all, I am working on a virtual cockpit which has a screen (simillar to the DeltaGlider's propellant status screen), and I am having some difficulties getting it to work properly with the D3D9 graphics client. It would appear on every redraw event, any objects are simply superimpossed over...
  3. Mr Martian

    SDK Question Advice for Printing a Vessel's Name on Exterior?

    Hi All, I was hoping for some advice for how to go about printing text on the exterior of a vessel's mesh. I want this text to be dynamic and based on text declared in the class's clbkSetClassCaps function. The default DeltaGlider does exactly this witht he craft's name printed on the verticle...
  4. Mr Martian

    SDK Question Help Building ShuttleA

    Hi all, I am trying to build the ShuttleA provided in the Orbiter SDK sampels. The solution is building without errors, but I am not getting any .dll generated, instead only a .exp and .lib. Would anyone know what I might be doing wrong? I have actually never attempted to build anything in the...
  5. Mr Martian

    C++ Question Advice for Calculating Vessel's Temperature?

    Hi All, I have been stuck on something for a few weeks now, and I am just going round in circles. My goal is to calculate a temperature reading based on some defined parameters (like surface area, emmisivity, etc.) Right now I am not getting into any aerodynamics or atmospheric thermodynamics...
  6. Mr Martian

    SDK Question Advice for Calculating if Vessel is in Sunlight

    Hi All, Hopefully a quick question here: I have a function which returns true if a vessel is currently in sunlight.... sort of... Essentially I am calculating if the local reference body is obscuring the sun, this is simple enough. However the issue arises if my vessel is say orbiting one of...
  7. Mr Martian

    C++ Question Need help returning local direction's angle to sun

    Hi All, I would appreciate help with something rather complicated which I just can't seem to be able to approach on my own. I want to return the 'angle' to the sun of a direction vector in local-vessel frame. To better explain I have posted below code which achieves something simillar...
  8. Mr Martian

    Project IPEC Pegasus (ISV Pegasus 3.0)

    Hi All, Just wanted to make a small announcement and see if I could get an expression of interest for a project I have been working on for the past few months. For those unfamiliar with the previous 2 instalments I made many years ago, ISV Pegasus is an attempt to recreate the Epping voyage of...
  9. Mr Martian

    C++ Question Very strange behaviour / memory???

    Hi All, I have encountered a very strange proplem, twice now, in totally different projects. I have no idea what this is, if it is something wrong with my code, or bug of somesort. The only thing I can do is describe it and see if anyone might know what is causing this. Say I have a header...
  10. Mr Martian

    Project OrbiterCrews / OMMU Development

    Hi All, I just wanted to make an announcement/ask for some suggestions regarding a project I am currently working on. The project is a UMmu alternative for Orbiter 2016, which will include a SDK for addon developers to add crew functionality to their addons. Based on current development rate...
  11. Mr Martian

    No Gravity After Small Body?

    Hi All, Apologies if this has already been discussed. I have encountered an issue in Orbiter 2016. When I set my surface position to a small body (say Enceladus for example), after this, intermittently my vessel acts as if it is in zero gravity. Even when i then set the surface location to say...
  12. Mr Martian

    SDK Question Dynamically updating vessel vextures? is it possible?

    Hi All, I'm experimenting with a vessel class which updtaes some of its textures in realtime. I have this in clbkPreStep: SURFHANDLE surf[2]; surf[0] = oapiLoadTexture ("texture_1.dds", false); surf[1] = oapiLoadTexture ("texture_2.dds", false); if (light == ON) {...
  13. Mr Martian

    Advanced Question Help with Static Libraries (.lib) and classes

    Hi All, I have made a static library (.lib) which I am hoping to release later as a part of an SDK. the library defines a class type, which can be then be called by vessel classes. My issue is, I would like to be able to interface with the class in the same way as the example below...
  14. Mr Martian

    C++ Question Advice for recording key events in a plugin

    Hi All, I am trying to develop a simple plugin which interacts with vessels in a simulation (for example refuel all vessels). This is not a dialog box but rather a plugin which when active will always run. However I cannot seem to be able to record key events. I can interact with Orbiter's...
  15. Mr Martian

    C++ Question Help Compiling a Vessel Class in Visual Studio 2022

    Hi All, Wondering if anyone can point me in the direction of some tutorials / advice. I am trying to create a vessel class using Visual Studio 2022. I have always used Visual Studio 2010 and am familiar with the project configuration settings. In VS 2022, I cannot seem to create the right...
  16. Mr Martian

    Question Orbiter 2010 or Orbiter 2016?

    Hi All, First of all, apologies if this is poasted in the wrong section. I was wondering, what seems to be the general consensus regarding Orbiter player's preferred version: Orbiter 2010, or Orbiter 2016? The main reason I ask this is mainly due to Dansteph's UMmu, and the loss of most...
  17. Mr Martian

    C++ Question Compile Error with OrbiterSound5.0?

    Hi All, Wondering if anyone else encountered this issue. I am using Visual C++ 2010, and cannot compile my project since adding the libraries for OrbiterSound5.0. I eng up with a string of errors I don't fully understand, I think relating to how Dansteph's libraries were compiled, or another...
  18. Mr Martian

    SDK Question Vessels of the Same Class Interacting?

    Hi All, Wondering if someone can help me with this. I feel it's a simple and obvious problem I've missed. I am currently developing a vessel class, however when I have two of the same class in one scenario, they "interact" with each other, as in the custom parameters I have defined will...
  19. Mr Martian

    API Question Advice for Applying Orientation to Spawned Vessel

    Hi All, I am creating a vessel which will jettison a component. This is simple enough, however I would like the spawned vessel to be rotated 90 degrees relative to the parent vessel. This is something I have always struggled to achieve, my guess is that I am improperly converting between...
  20. Mr Martian

    SDK Question Advice for Creating EXHAUSTSPEC Without Thrusters

    Hi All, I am trying to create an exhaust whose level is not defined by a thruster handle, but is instead based on my own custom level. I have run into difficulties and I am not sure if this is something that Orbiter's SDK does not support, or if anyone else has found a workaround for this...
Top