Platform Details
The Linux port of the SpeedTree SDK and Reference Application is basically the same as the Windows & Mac OSX OpenGL Reference Application. It uses the same code, in fact, since the platform-specific components are handled by the cross-platform OpenGL windowing library GLFW. All controls and behavior should be identical.
Note: The Linux version of the SpeedTree SDK is currently in BETA. |
---|
To build all of the SDK libraries as well as the reference application executable, run ./BuildAll.sh, located in [SpeedTree SDK]/Source/Applications/OpenGL/.
The reference application can be run from the command line. Once built, it is located in [SpeedTree SDK]/Bin/Linux/Release. Command line arguments and controls are identical to the Windows OpenGL Reference Application. To specify the forest config file, use the -sfc option as follows:
-sfc “../../Forests/Plantation/Plantation.sfc”
To get up and running quickly, the reference application can be run from its folder in default mode with no command-line arguments.