Turbulenz SDK 0.25.1 is an update for both the Turbulenz Engine Installer and SDK components.
A new video playback sample has been added called ‘video’.
Added supported file formats to GraphicsDevice.isSupported.
// 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 = cos; uvTransform = sin; uvTransform = -sin; uvTransform = cos; uvTransform = -offset * (cos - sin) + offset; uvTransform = -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.
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.