Commit Graph

  • 1339b71a26 Merge Kearwood Gilbert 2014-01-14 22:10:45 -08:00
  • cae949c259 AudioManager - increased pool size to reduce dropouts. Change startFrame locks to non-blocking - improves FPS a bit and dropout rate goes down. Peter Courtemanche 2014-01-14 19:12:51 -08:00
  • ca1af8dd3e Changed the buffer constants to decrease the number of drop outs (still needs some work) Peter Courtemanche 2014-01-14 15:51:32 -08:00
  • edbae68dc5 Little bug fix for the mute/unmute code Peter Courtemanche 2014-01-14 14:41:54 -08:00
  • 62ca3305a6 Made the audio mute function static (so it can be called from anywhere) Peter Courtemanche 2014-01-14 14:09:21 -08:00
  • 89f31f00ec Added limiter and mute methods to KRAudioManager Peter Courtemanche 2014-01-14 13:32:56 -08:00
  • dea797a69c Removing experimental code Peter Courtemanche 2014-01-14 10:22:42 -08:00
  • d2f9434e13 Peter’s experiments with audio .. to be revised Peter Courtemanche 2014-01-13 19:03:41 -08:00
  • 45b86e8ccb Temporary fix to stop the app from crashing when it runs the texture resize routine with a size of 1024 for 2 minutes. Take a look at the FINDME comment. Peter Courtemanche 2014-01-13 15:16:30 -08:00
  • 516115f4d5 Updated the constants defined for the audio block size Peter Courtemanche 2014-01-13 11:54:21 -08:00
  • 5b77f22f2d Changed AUGraph frame buffer size to match the AU render size (improves performance by about 10 times) Comment in AudioSample.cpp where we can hook in an alternate mp3 input streamer Peter Courtemanche 2014-01-07 16:52:47 -08:00
  • d38419b454 For iOS target - defined out parts of the TGA code that use GL constants that are not defined in GLES2 Commented out an assert() that crashes the app when the debug interface is asked to draw text at the bottom of the screen (i.e. the FPS) Peter Courtemanche 2014-01-06 12:48:26 -08:00
  • 63a3fa2d9e Organized directory structure for 3rd party source and libraries. Added pvrtexlib library and headers Added Recast Kearwood Gilbert 2014-01-04 20:19:06 -08:00
  • a45b31ca21 OSX Build memory parameter tuning Corrected bug in KTX textures that would cause a compilation failure on iOS builds. Kearwood Gilbert 2014-01-04 19:00:44 -08:00
  • 656a9cadb6 OSX Build memory parameter tuning Corrected bug in KTX textures that would cause a compilation failure on iOS builds. Kearwood Gilbert 2014-01-04 19:00:44 -08:00
  • 896311f0ac KTX Texture compression fixed for opaque textures without an alpha channel. KTX Texture mipmaps now loading correctly. Kearwood Gilbert 2014-01-04 03:36:56 -08:00
  • f6da62221f KTX Texture compression fixed for opaque textures without an alpha channel. KTX Texture mipmaps now loading correctly. Kearwood Gilbert 2014-01-04 03:36:56 -08:00
  • 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. Kearwood Gilbert 2014-01-03 02:17:27 -08:00
  • 5de7ef1d26 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. Kearwood Gilbert 2014-01-03 02:17:27 -08:00
  • beee63336f Updated header search paths (actually reverted to the one that works) Peter Courtemanche 2013-12-17 20:20:49 -08:00
  • 2a34b54ed4 Updated header search paths (actually reverted to the one that works) Peter Courtemanche 2013-12-17 20:20:49 -08:00
  • f671b21007 Update LoadXML to use the same field names as SaveXML Peter Courtemanche 2013-12-16 17:18:12 -08:00
  • 5923046cd8 Update LoadXML to use the same field names as SaveXML Peter Courtemanche 2013-12-16 17:18:12 -08:00
  • f97c51ce44 Corrected formatting of logged messages. Kearwood Gilbert 2013-12-14 18:13:00 -08:00
  • 5170722a4c Corrected formatting of logged messages. Kearwood Gilbert 2013-12-14 18:13:00 -08:00
  • b704ae5523 Corrected compile error in fbx pipeline Kearwood Gilbert 2013-12-14 18:03:51 -08:00
  • 41f6fc12a5 Corrected compile error in fbx pipeline Kearwood Gilbert 2013-12-14 18:03:51 -08:00
  • e466e38501 Implemented KRModel::setLightMap Implemented KRModel::getLightMap Corrected logging bugs and crashes during fbx import pipeline Kearwood Gilbert 2013-12-14 18:02:01 -08:00
  • 99b9716992 Implemented KRModel::setLightMap Implemented KRModel::getLightMap Corrected logging bugs and crashes during fbx import pipeline Kearwood Gilbert 2013-12-14 18:02:01 -08:00
  • 4f61b1f96b FBX Importer messages are now sent through the logging callbacks Kearwood Gilbert 2013-12-14 16:37:14 -08:00
  • c602b12f04 FBX Importer messages are now sent through the logging callbacks Kearwood Gilbert 2013-12-14 16:37:14 -08:00
  • 14aad147fe Implemented logging callbacks for client applications that would like to implement their own GUI Kearwood Gilbert 2013-12-14 16:06:44 -08:00
  • e39eebff26 Implemented logging callbacks for client applications that would like to implement their own GUI Kearwood Gilbert 2013-12-14 16:06:44 -08:00
  • 0773cbc4ba Added a quick warning message macro. KRSceneManager updates to del with NULL scenes. Peter Courtemanche 2013-12-14 14:20:30 -08:00
  • 33362c1c2d VBO Swapping TTY message disabled except for DEBUG builds. Added comment with details on what actions to take if this message appears in the TTY. Kearwood Gilbert 2014-01-14 21:46:17 -08:00
  • f1bc1a52a0 Added a quick warning message macro. KRSceneManager updates to del with NULL scenes. Peter Courtemanche 2013-12-14 14:20:30 -08:00
  • 1c31eded59 removed VBO swapping printf - speeds up the render by 50% Peter Courtemanche 2013-12-10 18:05:25 -08:00
  • a0dbc8953c no message admin8onf@admin8onfs-pro.nfbonf.nfb.ca 2013-12-10 11:25:08 -08:00
  • 3d907e06d5 Reverb and Ambient zone visualizations are now exposed through the debug interface. Colliders are now imported with a prefix of collider#_ instead of collider_#_ Kearwood Gilbert 2013-12-09 22:29:13 -08:00
  • 084c3a2788 Corrected Kraken xcode workspace. Kearwood Gilbert 2014-01-14 21:12:43 -08:00
  • bea3dc61e8 Reverb and Ambient zone visualizations are now exposed through the debug interface. Colliders are now imported with a prefix of collider#_ instead of collider_#_ Kearwood Gilbert 2013-12-09 22:29:13 -08:00
  • 7b009c114a Updates for strip_unchanging_attributes to make it act on groups of x, y, z attires Peter 2013-12-09 15:35:07 -08:00
  • 736bda0ac8 Merge Kearwood Gilbert 2013-12-05 22:05:00 -08:00
  • d4f16439fc No longer filling KRLocator::m_userAttributes with fbx properties that had unsupported data types Kearwood Gilbert 2013-12-05 20:15:32 -08:00
  • 5b708fa1cd Implemented KRLocator::getUserAttributes(), which returns a list of additional properties enumerated from fbx files so client code can convert locators into application-specific objects Kearwood Gilbert 2013-12-05 19:44:58 -08:00
  • f1d23de23f Fixed compilation failure of fbx importer pipeline. Kearwood Gilbert 2013-12-05 18:46:48 -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. Kearwood Gilbert 2013-12-05 18:34:20 -08:00
  • c9d489afab Implemented KRScene::getLocators() Kearwood Gilbert 2013-12-05 18:20:01 -08:00
  • e70af54206 Merge admin8onf@admin8onfs-pro.nfbonf.nfb.ca 2013-12-05 15:57:13 -08:00
  • fef872cc6d updates to existing importer (bugs, etc.) and addition of importer audio objects skeleton code Peter 2013-12-05 15:54:28 -08:00
  • e5121e3958 Fixed syntax error in rim shader Kearwood Gilbert 2013-12-05 01:17:30 -08:00
  • 79abdd98d0 Implemented rim_light and rim_power shader parameters, enabling outlining of objects on a per-model basis. Will need to later refactor to allow for a more scalable means of adding per-model shader attributes. Kearwood Gilbert 2013-12-05 01:09:31 -08:00
  • 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 Peter 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. Kearwood Gilbert 2013-12-03 01:15:17 -08:00
  • bdb720eb96 Bug Fix in the animation curve importer + rough test code for pulling metadata out of an FbxNode (a locator in Maya) Peter 2013-12-02 17:44:55 -08:00
  • 37c2eca1bc Implemented KRMeshQuad, representing a stock quad model Implemented KRSprite Kearwood Gilbert 2013-11-30 12:46:01 -08:00
  • 70f70bc1e6 Merge Kearwood Gilbert 2013-11-30 02:03:30 -08:00
  • a1d93d24b9 Animated textures updated for compatibility with asynchronous texture streamer Kearwood Gilbert 2013-11-30 02:01:02 -08:00
  • c1551a8a23 Fixed bug that caused some animations to crash the FBX import pipeline. Kearwood Gilbert 2013-11-27 01:39:14 -08:00
  • 58b39a6202 When importing FBX meshes with some unmapped UV's, they are now substituted with (0,0) rather than asserting false and cancelling the import. Kearwood Gilbert 2013-11-27 00:10:29 -08:00
  • 678cea559c KRAnimation::Play() no longer seeks back to the start of the animation automatically. Use KRAnimation::SetTime(0.0f) to seek to the beginning manually if needed. Kearwood Gilbert 2013-11-23 18:21:16 -08:00
  • cc6c330fc0 Merged in crash fixes from default branch Kearwood Gilbert 2013-11-23 17:17:32 -08:00
  • 61fde7700b Fixed crash in fbx import pipeline Kearwood Gilbert 2013-11-23 17:02:17 -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 Kearwood Gilbert 2013-11-23 12:16:31 -08:00
  • 9cd9a8474c 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 Kearwood Gilbert 2013-11-23 12:16:31 -08:00
  • eee9be438d Implemented KRNode::getParent() Kearwood Gilbert 2013-11-18 23:52:03 -08:00
  • a8a8f32e77 Implemented KRNode::getParent() Kearwood Gilbert 2013-11-18 23:52:03 -08:00
  • 19bf71938d Implemented API to read and seek the audio playback position of KRAudioSource Kearwood Gilbert 2013-11-17 01:46:12 -08:00
  • 29b518610b Implemented API to read and seek the audio playback position of KRAudioSource Kearwood Gilbert 2013-11-17 01:46:12 -08:00
  • 7f09dae997 Synced up with default branch Kearwood Gilbert 2013-11-16 16:27:23 -08:00
  • 258e66069c Merged async_streaming into nfb Kearwood Gilbert 2013-11-16 16:19:18 -08:00
  • b0bfd6b29c Merged async_streaming branch into default. Kearwood Gilbert 2013-11-16 15:50:22 -08:00
  • 240d2ee278 Asynchronous streaming and memory management improvements in progress. Stability improved. Kearwood Gilbert 2013-11-16 03:22:31 -08:00
  • 8b29ffab69 Asynchronous streaming and memory management improvements in progress. Kearwood Gilbert 2013-11-16 02:34:18 -08:00
  • cf732a6721 Asynchronous streaming and memory management improvements in progress. Kearwood Gilbert 2013-11-13 23:52:17 -08:00
  • 05626214d4 Asynchronous streaming and memory management improvements in progress. Kearwood Gilbert 2013-11-09 16:08:08 -08:00
  • 48d3a6a2c8 Asynchronous streaming and memory management improvements in progress. Kearwood Gilbert 2013-11-02 16:27:24 -07:00
  • 06436d72f5 Asynchronous streaming and memory management improvements in progress. Kearwood Gilbert 2013-11-02 01:08:51 -07:00
  • ab808fc3e1 Asynchronous streaming and memory management improvements in progress. Kearwood Gilbert 2013-11-01 23:17:04 -07:00
  • dc574ce274 changed settings to support iOS 7 & 64 bit architecture Manjit Bedi 2013-11-01 17:34:51 -07:00
  • 63503393a4 Now targeting iOS 7 and enabling 64-bit ARM Kearwood Gilbert 2013-10-18 17:26:07 -07:00
  • e849f55b34 Experimental optimizations, not yet ready for stable branch Kearwood Gilbert 2013-10-08 20:44:31 -07:00
  • 4dddec7f85 Asynchronous streaming and memory management improvements in progress. Kearwood Gilbert 2013-10-06 18:56:23 -07:00
  • 44ea492556 Fixed bug in KROctreeNode::lineCast that would cause it to always return false Kearwood Gilbert 2013-09-07 17:34:06 -07:00
  • de324ff279 Fixed bug in KROctreeNode::lineCast that would cause it to always return false Kearwood Gilbert 2013-09-07 17:34:06 -07:00
  • 8484fe95d4 Fixed shader compile error that occurred when using Reflection Map scale or offset attributes in a material. Fixed bug that caused the Reflection Map scale to be swapped with the Normal Map scale material parameter. Fixed bug that caused the Reflection Map offset to be swapped with the Normal Map offset material parameter. Kearwood Gilbert 2013-09-07 16:57:18 -07:00
  • eb6ee6c676 Fixed shader compile error that occurred when using Reflection Map scale or offset attributes in a material. Fixed bug that caused the Reflection Map scale to be swapped with the Normal Map scale material parameter. Fixed bug that caused the Reflection Map offset to be swapped with the Normal Map offset material parameter. Kearwood Gilbert 2013-09-07 16:57:18 -07:00
  • 4d71287d17 More animation fixes for curves that don't start on frame 0. Kearwood Gilbert 2013-08-31 19:22:37 -07:00
  • 7b3ce4d3bf More animation fixes for curves that don't start on frame 0. Kearwood Gilbert 2013-08-31 19:22:37 -07:00
  • fdfa13fc89 Animation fixes for curves that do not start on frame 0 Kearwood Gilbert 2013-08-31 17:38:20 -07:00
  • 0b90046aaa Animation fixes for curves that do not start on frame 0 Kearwood Gilbert 2013-08-31 17:38:20 -07:00
  • b4a3dc369f Fixed bug in animation splitting that would cause curves that don't start at frame 0 to be offset incorrectly Kearwood Gilbert 2013-08-31 15:31:17 -07:00
  • b67ae221cd Fixed bug in animation splitting that would cause curves that don't start at frame 0 to be offset incorrectly Kearwood Gilbert 2013-08-31 15:31:17 -07:00
  • 58d4bae6b6 Fixed bug in animation import that caused the attributes to be un-assigned to nodes. Kearwood Gilbert 2013-08-24 17:04:20 -07:00
  • 0cb3db427d Fixed bug in animation import that caused the attributes to be un-assigned to nodes. Kearwood Gilbert 2013-08-24 17:04:20 -07:00
  • 0efee25da8 Implemented animation splitting Kearwood Gilbert 2013-08-24 16:37:07 -07:00
  • 0300dcdd7e Implemented animation splitting Kearwood Gilbert 2013-08-24 16:37:07 -07:00
  • cc78975349 Fixed an issue that caused some textures to be unloaded permanently when streaming a world. This manifested itself in cases where a texture unit would hold only a single texture for many frames, such as in scenes where only one object had a normal map in view. Kearwood Gilbert 2013-07-27 14:57:50 -07:00
  • 14b6a2f56c Fixed an issue that caused some textures to be unloaded permanently when streaming a world. This manifested itself in cases where a texture unit would hold only a single texture for many frames, such as in scenes where only one object had a normal map in view. Kearwood Gilbert 2013-07-27 14:57:50 -07:00
  • 18e44dc835 start nfb branch kearwood 2013-07-13 13:18:25 -07:00