The Turbulenz SDK includes the libraries, tools, documentation and examples to start using Turbulenz. The SDK includes the contents of the Turbulenz Engine open source repository with pre-built examples and the Turbulenz Engine Installer for browsers and platforms that don’t support the required features.
Optionally, you can find the Turbulenz Engine Installer for each SDK located at hub.turbulenz.com/#downloads.
Support
The latest documentation can be found online at http://docs.turbulenz.com
If you are having difficulties with Turbulenz Technology, the following steps will get you to the support site:
For more help using the support site see the support section.
Windows XP/Vista/7
The Turbulenz SDK for Windows is available from https://hub.turbulenz.com as a downloadable a self-extracting installer exe. This contains the tools, samples and engine components required to develop Turbulenz applications.
The following software should be installed before installing the Turbulenz SDK:
Essential
Python 2.7.3+ - http://www.python.org/download/releases
Note
It is not possible to use Python 3.X with the Turbulenz tools.
Recommended
- Microsoft Visual Studio 2008 - Used to compile speed-ups for python environment if available on platform.
- PDF reader - Required to read documentation in PDF format
After installing the essential and recommended software, install the SDK:
- Visit https://hub.turbulenz.com and login
- Download SDK X.X.X for Windows
- Run TurbulenzSDK-X.X.X.exe
- Follow the instructions
Note
Performance of any Python modules could potentially be slower if speed-ups cannot be compiled. It is recommended that you install Visual Studio before installing the Turbulenz SDK, so that the speed-ups can be configured in the environment. If you are using a 64bit version of Python you must have installed a 64bit version of the Visual Studio compilers.
Mac OS X 10.7 (and above)
The Turbulenz SDK for Mac OS X is now available to developers in beta from https://hub.turbulenz.com as a self-extracting shell script. This contains the tools, samples and engine components required to develop Turbulenz applications.
The following software should be installed before installing the Turbulenz SDK:
Essential
Python 2.7.3+ - http://www.python.org/download/releases
Note
It is not possible to use Python 3.X with the Turbulenz tools.
Cg Toolkit - http://developer.nvidia.com/cg-toolkit - Required to compile shaders using the cgfx2json tool.
Xcode Command Line Tools for Xcode (February 2012 or later)
Note
If you don’t already have Xcode installed, only the command line tools are required (significantly smaller download than the full Xcode installer).
If you already have Xcode installed, go to the “Downloads” preference pane in Xcode and under the “components” tab you can select to install the “Command Line Tools”.
After installing the essential software, install the SDK:
- Visit https://hub.turbulenz.com and login
- Download SDK X.X.X for Mac
- Open a terminal in the same directory as the SDK installer and type:
- chmod a+x TurbulenzSDK-X.X.X.run
- ./TurbulenzSDK-X.X.X.run
- Follow the instructions
Linux (BETA)
A release of the Turbulenz SDK for Linux is available from https://hub.turbulenz.com as a self-extracting shell script. This contains the tools, samples and engine components required to develop Turbulenz applications. Not that the Linux version of the browser plugin is not released. Developers must use ‘canvas’ mode when running on Linux.
This release has only been tested against Ubuntu 12.04 (64bit), although feedback from developers using other recent releases of other distributions is welcome.
The following software should be installed before installing the Turbulenz SDK. We recommend installing via your package manager:
Essential
Python 2.7.3+ (incl. development files)
Under Linux, the Python development package (libraries and header files) must be installed. On Ubuntu, this can be done with the following command:
sudo apt-get install python-devIt is recommended that you install virtualenv and setuptools for Python from your for your distribution’s package manager. On Ubuntu:
sudo apt-get install python-virtualenv python-setuptoolsNote
It is not possible to use Python 3.X with the Turbulenz tools.
GCC (including g++)
- This MUST be installed before running the script so that Python can compile certain modules.
Cg Toolkit 3.0+
- The cgfx2json tool in the SDK relies on this library being installed. Either install from your package manager or visit http://developer.nvidia.com/cg-toolkit to download the latest version. Make sure you have the correct configuration for your system (32 / 64-bit).
After installing the essential and recommended software, install the SDK:
- Visit https://hub.turbulenz.com and login
- Download SDK X.X.X for Linux
- Open a terminal in the same directory as the SDK installer and type:
- chmod a+x TurbulenzSDK-X.X.X.linux.run
- ./TurbulenzSDK-X.X.X.linux.run
- Follow the instructions
(See Supported Platforms and Browsers for a list of supported platforms and prerequisites)
Run the Environment: | |
---|---|
This environment allows you to run the tools provided with the SDK. Windows:
Mac / Linux:
You are now ready to run the tools. |
|
Run the Local Server: | |
Windows:
Mac / Linux:
Note When you run the Local Server for the first time, some firewalls may prompt you to allow python or python.exe to listen on a port. You will need to grant permission in order to run the server. |
Turbulenz tools use a Python virtual environment with the necessary python packages (avoiding the need to install packages into the default system Python folders).
To verify the install:
Run the Local Server (described above) and ensure that there are no errors. On Windows ensure that a browser opens to display the front page of the development server.
Run the Turbulenz Environment (described above). The string (env) prefixed to the command prompt indicating that the environment has been successfully activated.
From this environment command prompt, type:
dae2json
The command line options for the dae2json command should be displayed. If you see an error message instead, the environment has not been correctly installed.
With the local development server running, open your browser and navigate to http://127.0.0.1:8070.
Click the Samples project, and then click the Play button to show the list of available samples. There are several HTML files available for each sample, corresponding to the different build configurations. Clicking on the name of an HTML file will open and run the corresponding sample.