Programming with the trueSKY SDK

The SDK comes as a set of libraries, under a main “Simul” directory. These can be linked statically or dynamically, depending on the platform. CMake is used to build the binaries, which are found by default in “Simul/build/lib” in the case of static libraries, and “Simul/build/bin” for dll’s. Source is found in the subdirectories for the constituent libraries.

Namespace generally corresponds to the source file location. For example, simul::clouds::CloudRenderer is found in “Simul/Clouds/CloudRenderer.h”.

The compiled Windows libraries are in two runtime versions, MD and MT. The runtime is the set of libraries provided by Microsoft that provides basic system functions. You should generally use the same runtime all the way through a project, although different runtimes can be used for DLL’s, because they are self-contained.

For Windows, the Debug and Release configurations are supplied as DLL’s linked against the dynamic, MD runtime. The Static Debug and Static Release configuratons are supplied as static libraries linked against the static, MT runtime.

On other platforms, the default runtime and linkage is used.

  • Native - For native integrations.

  • Plugin - Integrations using the dynamic plugin dll.

  • Rendering - Rendering guide.

  • Performance Profiling - How to monitor and improve the performance of trueSKY in your application.

  • Debugging - How to use the debugging tools to fix issues.

  • Deployment - How to use the debugging tools to fix issues.

  • Documented Code Base - Reference for the API and source code.