Implemented KTX texture file support
Implemented workflow for compressing TGA textures referenced by FBX files to KTX with DXT1 and DXT5 format.
--HG--
branch : nfb
- The code block starting with “INTERRUPT THE NODE STUFF IN HERE” has been moved to KRImport where it should occur. I have added an example in there on
- Removed the comments, “***** curves 1, 2, and 3 are x, y, z translation .. the first point holds the key frame in centimeters. POSSIBLE UPGRADE .. grab the key frame and output it as the start location to the kranimation file”, as this is incorrect and misleading. You must never depend on the order of the curves in the FBX file. The exporting of the first point in the animation curve should be done in KRImport, after Kraken has already resolved the animation layers and attribute assignments using proper metadata in the fbx file. You can do this using the existing Kraken API rather than modifying Kraken itself. In addition, we can’t make any assumptions based on the first keyframe time matching the animation start time. The actual animation start time is imported by Kraken using the FBX fields that explicitly specify it. The reason we read animation start and end times from a text file is to split the animation into multiple animations from a single fbx file. KRImport can already export a single animation from an fbx file automatically simply by not specifying an animation split file.
- Removed comment, “// **** this is where the assert used to happen”. This comment adds no value and is confusing to other Kraken users, as the assert does not happen any more ;-)
- Removed comment, “// KRNode *LoadMesh parses the "collider names" and then alters the attributes (NFB HACK)”. I have refactored this code so this is no longer a hack.
--HG--
branch : nfb
Added new enum constant to collider.h for layer mask 16
Added code to pull out the key frame (start location) of an animation curved .. still needs to be stored to the correct place
Added notes for parsing out audio locators
--HG--
branch : nfb
Nodes in the FBX file starting with so_ will no longer be decorated with fbx_##_ prefixes.
Updated import pipeline for compatibility with C++11
--HG--
branch : nfb
Nodes in the FBX file starting with so_ will no longer be decorated with fbx_##_ prefixes.
Updated import pipeline for compatibility with C++11
--HG--
extra : source : 39b8803b34f432b24279d4c6ca4c05f4f505174b