Turbulenz SDK 0.25.1 is an update for both the Turbulenz Engine Installer and SDK components.
0.25.1
0.25.0
Added RequestHandler.destroy.
A new method createVideo has been added to GraphicsDevice to create video playback objects.
A new video playback sample has been added called ‘video’.
Added supported file formats to GraphicsDevice.isSupported.
New methods createSnapshot and restoreSnapshot have been added to PhysicsManager to create and restore snapshops for the dynamic physics objects on the scene.
The DefaultRendering, DeferredRender and ForwardRender now support uvTransform. The uvTransform is an array of 6 numbers that can be used to rotate, scale and translated the uvs.
Example:
// Transform the uvs so they rotate around the centre of the texture
var uvTransform = new Float32Array(6);
var cos = Math.cos(angle);
var sin = Math.sin(angle);
var offset = 0.5;
uvTransform[0] = cos;
uvTransform[1] = sin;
uvTransform[2] = -sin;
uvTransform[3] = cos;
uvTransform[4] = -offset * (cos - sin) + offset;
uvTransform[5] = -offset * (sin + cos) + offset;
NvTriStripper tool has been added to the SDK. This tool optimizes meshes when run as part of dae2json. To run this tool specify it as an argument to dae2json e.g.:
dae2json --nvtristrip=<PATH_TO_NVTRISTRIP> -i source.dae -o target.json
This step is recommended for certain COLLADA files exported from Sketchup. NvTriStripper can be found in external/NvTriStrip/bin/<PLATFORM> in SDK 0.25.0 onwards.
0.25.0
0.25.1
Added missing payments sample template.
T1397 - soundDevice.listenerGain has no effect on canvas.
Removed the viewer.ts file from tslib. Can be found as part of the local server.
Fixed minor referencing issues in certain tslib files.
0.25.0
0.25.0
For a list of current known issues see the known issues section.