Commit Graph

31 Commits

Author SHA1 Message Date
a6fdde5978 OSX Build now running again
Implemented KTX texture file support
Implemented workflow for compressing TGA textures referenced by FBX files to KTX with DXT1 and DXT5 format.

--HG--
extra : source : 7283e7f81861682f54cda3ef6c9b0fbc9273f675
2014-01-03 02:17:27 -08:00
Peter Courtemanche
beee63336f Updated header search paths (actually reverted to the one that works)
--HG--
extra : source : 336a9573b792805e71a69c8f0240f16e06dbca40
2013-12-17 20:20:49 -08:00
2a49523fd8 - I have replaced the lines inserted in to KRResource+Fbx that look for “collider_so_” with logic to look for “collider_##_”. This means that Jonny will need to name the flare height colliders with a prefix of “collider_16_” in the Circa 1948 project.
- 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
2013-12-05 18:34:20 -08:00
Peter
fef872cc6d updates to existing importer (bugs, etc.) and addition of importer audio objects skeleton code
--HG--
branch : nfb
2013-12-05 15:54:28 -08:00
Peter
971dadd7f6 Bug Fix in the animation curve importer
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
2013-12-03 16:04:15 -08:00
c7948ea314 KRSprite objects now have their own shader, rather than sharing the "Flare" shader.
Implemented per-sprite alpha.

--HG--
branch : nfb
2013-12-03 01:15:17 -08:00
37c2eca1bc Implemented KRMeshQuad, representing a stock quad model
Implemented KRSprite

--HG--
branch : nfb
2013-11-30 12:46:01 -08:00
cc5c698b13 Updated to FBX SDK 2014.2
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
2013-11-23 12:16:31 -08:00
48d3a6a2c8 Asynchronous streaming and memory management improvements in progress.
--HG--
branch : async_streaming
2013-11-02 16:27:24 -07:00
06436d72f5 Asynchronous streaming and memory management improvements in progress.
--HG--
branch : async_streaming
2013-11-02 01:08:51 -07:00
ab808fc3e1 Asynchronous streaming and memory management improvements in progress.
--HG--
branch : async_streaming
2013-11-01 23:17:04 -07:00
63503393a4 Now targeting iOS 7 and enabling 64-bit ARM
--HG--
branch : async_streaming
2013-10-18 17:26:07 -07:00
e849f55b34 Experimental optimizations, not yet ready for stable branch
--HG--
branch : async_streaming
2013-10-08 20:44:31 -07:00
4dddec7f85 Asynchronous streaming and memory management improvements in progress.
Note: This branch is unstable

--HG--
branch : async_streaming
2013-10-06 18:56:23 -07:00
Ash Mishra
ce29aff591 Moved all header files to Project instead of Public 2013-07-12 09:55:43 -07:00
e0aaafc327 - Implemented KRBehavior class
- Imported animations now have the auto_play and loop flags set to false by default
- Implemented Pre-Rotation, Post-Rotation, Scale Offset, Rotate Offset, Scale Pivot, and Rotate Pivot transform attributes.
- Reduced use of euler angles, replacing them with Quaternions where possible
- Fixed bug with incorrect Y rotation in KRMat4::rotate
- Material / GL Context changes have been optimized to reduce redundant glUniform calls
- New KRMesh format implemented, with support for importing BindPose matrices
- Fixed bug that caused a duplicate "default_camera" node to be added rather than picking up an existing "default_camera" node imported from FBX.  This enables animations to drive the camera correctly.
- Implemented KRVector3::Scale
- Implemented KRVector3::KRVector3(double *v);
2013-05-24 12:20:47 -07:00
e611fe2336 Implemented workaround for broken KRQuaternion::RotationMatrix
Added KRFloat
2013-05-03 17:38:42 -07:00
30f3c5b0df OSX Version of Kraken and importer now compiling again. 2013-04-25 17:23:36 -07:00
e6207fbb83 Performance Optimizes
Small bug fixes
Implemented KRVector4
2013-04-24 12:48:55 -07:00
0d7cb8b315 Fixed directional light vector, which was not rotating correctly
GL calls for debugging are no longer included in non-debug builds (excluded with DEBUG compiler directive)
2013-04-17 13:39:37 -07:00
16c8523a40 Implemented Hierarchical LOD system and associated FBX Importer functionality. 2013-04-04 12:50:53 -07:00
9e7a79ac9c Profiler / Debug visualizations in progress
Implemented support for dynamic VBO's (used by text rendering system)
2013-03-21 13:21:04 -07:00
40adbcd7fc Switched from libstdc++ to libc++ 2013-03-15 15:28:14 -07:00
e30f90cc66 Ambient Zones and Reverb Zones implemented and now working with Siren. 2013-02-28 19:09:27 -08:00
652bd59882 Replaced KRReverbZone with KRAmbientSphere, to support Siren audio engine reverb zones 2013-02-28 12:04:52 -08:00
0db5f91796 Siren audio engine in progress - Implementing Impulse-Response based reverb 2013-02-15 15:13:48 -08:00
743955fbe0 Siren audio engine in progress
Added HRTF (Kemar) samples for 3d spatialization
Exposed frame buffer width and height for camera renderFrame calls.
Fixed a bug that caused objects containing a mixture of both opaque and transparent materials to be rendered entirely in the transparent render pass.  Now the sub meshes are evaluated independently.
2013-02-08 17:28:17 -08:00
bbaa1e4d9f Siren audio engine in progress 2013-02-07 01:02:39 -08:00
76116f4cc3 Audio initialization is now delayed until rendering begins.
Disabled reverb and headphone spatialization, as they are currently broken in IOS 6.0-6.1
2013-02-02 23:58:08 -08:00
232fadce11 Corrected build issues on OSX, due to incorrectly configured prefix header. 2013-02-01 15:55:00 -08:00
ff63061722 Organized project to be more portable and require fewer steps to integrate into application projects in Xcode.
Moved standard assets into bundles
2013-01-31 02:16:47 -08:00