Search results

  1. M

    Quaternions, rotations and orbital elements

    One of the nice things about quaternions is that they describe the rotation more concisely. A rotation matrix consists of 9 scalar values, but there is some redundancy since the conditions of orthogonality and normalisation introduce constraints that don't allow for just any combination of 9...
  2. M

    Lagrange points for Moon orbiter (not Moon-Earth orbit)

    What makes you think that there are Lagrange points above the Moon's north and south poles? Do you mean the L1 and L2 points? Any texts on the subject (including the wikipedia article) usually contain the equations to calculate them.
  3. M

    Problem Boosters not sitting vertical in Orbiter 2016

    You mean a tiltable platform that auto-adjusts to keep any launch stack put on it vertical, no matter its mass distribution (ideally without sliding off)? That sounds like a cool project! Although in practice I suspect it would still be more efficient to adjust the touchdown points and...
  4. M

    Question Determining distance between docking ports on different vessels

    I don't think so, unless I've forgotten them too - that would be a worry :lol: Excellent. I love things on my to do list that get so fed up with my working speed that they fix themselves. It doesn't happen often enough ... Anyway, there definitely was something that I didn't manage to...
  5. M

    Question Determining distance between docking ports on different vessels

    Also, I should say sorry that I haven't incorporated your extensions into the beta distribution yet, kuddel. At the time the problem was that some of the code wouldn't compile under VS2008 which I was using then, but since switching to VS2015 I don't really have any excuses left. Hopefully I'll...
  6. M

    Calculation of Mean anomaly

    Using degrees as angular units sometimes makes for easier human reading, but is useless for any trigonometric calculations. To avoid confusion, I'd recommend to - convert all input angular data to radians (or angular velocities to radians/s, etc.) - perform your calculations - as an optional...
  7. M

    Calculation of Mean anomaly

    I get M = 141.4 deg with the OP's equation (assuming mu is for Earth, which wasn't actually specified). :cheers: All is well ... Edit: well, actually M = 3.9381e+04 deg which might matter if you need to count orbits ... Edit2: As an attempt at a postmortem, I *do* get 711.6 if if forget a set...
  8. M

    Question Determining distance between docking ports on different vessels

    For the C++ API, this involves - retrieving the docking port positions in local vessel coordinates (VESSEL::GetDockParams) - mapping from local to global frame (VESSEL::Local2Global) - calculating the Euclidian distance between the two global docking port positions Since you are asking in the...
  9. M

    Problem Orbiter 2016 DGS issues?

    Any more detail on what problems you are experiencing here? Are you sure you are actually sitting inside a DGS? A DGS without scram controls is usually a DG. Can you point to a specific scenario? Sorry for supersizing you. This definitely wasn't my intention.
  10. M

    tileedit updates

    Small update: New layer type "Elevation_mod" to display elevation modifications only. Some more colourbar eyecandy. Download link in first post of this thread.
  11. tileedit2

    tileedit2

  12. M

    Beginning Lua question

    Yes, you are right - there doesn't seem to be documentation for this function. In short, the argument can either be a Lua string (so can be constructed with any Lua string operations for concatenation etc.), or, for convenience, one of a few recognised data types - vector - matrix - boolean -...
  13. M

    Gaming New Microsoft Flight Simulator?

    It surely is a lot of hard drives, even when taking into account the overenthusiastic application of zeros ;) Incidently, I did fill a couple of 3TB drives during constructing the Earth, Moon and Mars textures, so I can attest to the fact that data do definitely pile up rather rapidly in those...
  14. M

    tileedit updates

    New version uploaded: Position and size of the paint tool should now be indicated better. It may still need a bit more work - I am not quite happy with the precision of the marker yet. Tileset paths and options are now remembered across sessions. This should now work better. Non-existing...
  15. M

    tileedit updates

    I have uploaded a new version (link in first post). This allows the user to specify the elevation data -> image value range manually during export. The vmin and vmax values in the metafile are now adjusted to hopefully comply with the discussion above. Note that tileedit coverts the data in the...
  16. M

    tileedit updates

    Ok, it looks like I misinterpreted the meaning of the vmin and vmax values. So essentially you leave the scale and offset values alone, and add an additional scaling layer on top to map to the image range? I'll replicate that, and a user-defined mapping range is probably a good idea anyway. I...
  17. M

    tileedit updates

    I have now implemented the PNG export/import functionality. I've uploaded a new trial version. The link is in the first post of this thread (I'll update this whenever new stuff is ready). Let me know if this works ok. The PNG files are in 16-bit greyscale, so to modify them you need an editor...
  18. M

    tileedit updates

    In addition to PNG, I am also thinking about adding an export option for FITS format. It's more versatile than png (also allows output to floating point images), and I think that Gimp may be able to read it (at least the image elements - FITS can also store other types of data). Plus it's quite...
  19. M

    tileedit updates

    The elevation edits are written as soon as you navigate away from the edited tile. If you switch to a different tile after your edit, then switch back to the edited tile and the edits are still visible, they will have been written. I'll add some visual cue to indicate if a tile contains unsaved...
  20. M

    tileedit updates

    Does your format allow to be extended by additional tags (e.g. by adding more lines after the first)? I might want to add more info, such as resolution level, latitude and longitude indices (or index ranges, if the PNG is a mosaic of multiple tiles), name of the PNG file, etc.
Back
Top