Search results

  1. B

    LUA Quaternion conventions and LUA ops

    1.I think that as volume of a code for realization of quaternions so tiny that it is not meaningful to introduce it in API. Anyway in the form of the closed code. 2.Unique representation of a code of quaternions (as a part of the Orbiter's distribution kit) in project-example Dragonfly. But it...
  2. B

    SDK Question Night Vision simulation

    The native graphic client of the Orbiter: Certainly all works continuously. Two scenes on a 3D cocpit surface. One of additional scenes ( that becomes a "conic mirror" of the VZOR) is deduced on the external MFD - for debugging. It is visible that the chamber position is chosen not absolutely...
  3. B

    SDK Question Night Vision simulation

    2SiberianTiger Yes, yes ОБХСС... :cheers: 2JMW The first and main - author CameraMFD hasn't published source codes. Hence an initial code - the closed property of the author. The copyright in Russia doesn't forbid studying of another's machine code and doesn't extend on the description of "a...
  4. B

    SDK Question Night Vision simulation

    :tiphat: SOURSE: Decompiling by IDA... ANSWER: In the "device" night vision is realized by means of ambient_color change. Easily and simply :). Only it is necessary to reach orbiter's call IDirect3DDevice7::SetRenderState function interception . Substitution DWORD __stdcall fqSetRenderState...
  5. B

    Accessing material names from inside a mesh file

    I think that in memory Orbiter no names are present - only pointers. But in structures MESHGROUP there is a link between a grid and a material index - MESHGROUP:: MtrlIdx. On this index it is possible to extract properties of a material - function oapiMeshMaterial (). The material Name can...
  6. B

    texture management

    Not absolutely clearly. You spend what operations with texture? Nevertheless... My researches, a little in other area, have shown - Repeated loading mesh from a file with the same name leads to creation of distinct from first pointer MESHHANDLE. But, attempt to receive pointer MESHGROUP...
Back
Top