Commit Graph

  • 5b738a824f Merged Ash Mishra 2013-07-12 09:59:39 -07:00
  • ce29aff591 Moved all header files to Project instead of Public Ash Mishra 2013-07-12 09:55:43 -07:00
  • 84bb884c22 Exposed set_debug_text function in the kraken namespace as this is not visible from a C++ file. Michael Ilich 2013-06-28 18:03:21 -07:00
  • 7ff4da106d expose krcamera function for getdebugtext Michael Ilich 2013-06-15 09:56:19 -07:00
  • 4eca1c16d2 Fixed crash that occurred when a non-looped animation is stopped by reaching the last frame. Kearwood Gilbert 2013-06-01 13:00:52 -07:00
  • 73cdad122b Small optimization to sky box shader Kearwood Gilbert 2013-05-24 18:53:50 -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); Kearwood Gilbert 2013-05-24 12:20:47 -07:00
  • 1c7aea8d50 Implemented new quality setting, "siren_reverb_max_length". Optimizations to Impulse Response Reverb convolution algorithm to speed up FFT's and reduce memory consumption. GL_EXT_texture_storage extension now functioning for cube maps. Kearwood Gilbert 2013-05-15 15:03:08 -07:00
  • f9f0c5c704 Texture streaming has improved performance by taking advantage of the APPLE_copy_texture_levels and EXT_texture_storage extensions. Kearwood Gilbert 2013-05-13 18:44:58 -07:00
  • 2de749ff16 Added ability to store position, normal, tangent, and uv vertex attributes using GL_SHORT to reduce memory consumption and bandwidth. Now taking advantage of GL_EXT_discard_framebuffer to reduce extraneous memory copy operations in the PowerVR driver Implemented native support for Maya's extended scene graph node attributes (pre-transform, post-transform, pivot sets, scale compensation) Debugging of broken skinned mesh renderer in progress Kearwood Gilbert 2013-05-13 13:16:25 -07:00
  • 6fe549b3ba Implemented system to cull out redundant glUniform calls Kearwood Gilbert 2013-05-08 17:47:27 -07:00
  • e42eeb5392 Fixed bug in FBX import toolchain that caused incorrect transparency values to be set on materials. Optimization for packing of index data into VBO's in progress. Kearwood Gilbert 2013-05-06 19:33:51 -07:00
  • 9e605863ea Simplified FBX import pipeline. Resources are now immediately stored in their associated manager classes. You can access the imported resources through KRContext::getResources Kearwood Gilbert 2013-05-06 14:06:29 -07:00
  • 8be1aff1ba Implemented KRContext::getResources FBX Importing toolchain now detects need for vertex tangent vectors based on presence of Normal maps, and only imports them when needed. If tangent vectors are needed, but not present in the FBX file, they are calculated during the import process. Importing tangents increases the size of the vertex data and reduces the ability to share vertexes for multiple faces when using indexed triangle rendering; therefore, they are imported sparingly. Kearwood Gilbert 2013-05-06 12:58:57 -07:00
  • cfa1f35088 Updated OSX object shader to use the pre-multiplied alpha pipeline Kearwood Gilbert 2013-05-06 12:55:47 -07:00
  • e611fe2336 Implemented workaround for broken KRQuaternion::RotationMatrix Added KRFloat Kearwood Gilbert 2013-05-03 17:38:42 -07:00
  • 616aa4aeef Implemented KRQuaternion::Lerp and KRQuaternion::Slerp Kearwood Gilbert 2013-05-03 12:54:22 -07:00
  • e43136b6c4 Performance optimizations for math classes Implemented KRQuaternion::FromAngleAxis Kearwood Gilbert 2013-05-02 19:30:33 -07:00
  • cb59a6f38e Switched to pre-multiplied alpha pipeline, requiring asset textures to be premultiplied as well. Kearwood Gilbert 2013-05-02 15:51:51 -07:00
  • 30f39ea19f Corrected lighting model for transparent surfaces. Reflections and specular are no longer masked by the alpha channel. Kearwood Gilbert 2013-05-02 13:32:36 -07:00
  • 12842a0184 Exposed anisotropic filtering level through the quality settings Kearwood Gilbert 2013-05-02 11:10:56 -07:00
  • 5f01257cee Fixed bug that caused transparency values in FBX files to be imported incorrectly Kearwood Gilbert 2013-05-01 17:54:48 -07:00
  • 09f6c3362d Fixed bugs in RayCast routines, which resulted in incorrect hit test results for scaled or rotated collision meshes. Added implementation to stub function , KRAABB::intersectsRay, to enable performance boost for RayCast routines Kearwood Gilbert 2013-05-01 15:07:27 -07:00
  • b7b9bedf14 Implemented collider visualization to aid in debugging navigation issues. Kearwood Gilbert 2013-05-01 12:32:16 -07:00
  • 21a59080b5 Corrected bug in ray cast function which caused it return inaccurate results Exposed the KRViewport from the KRCamera object Fixed crash that occurred if you deleted a KRNode KRNode children are now in an un-ordered std::set instead of an ordered std::vector Kearwood Gilbert 2013-04-30 01:18:36 -07:00
  • f13d93de29 Implemented setting parameters to disable audio, reverb, and/or hrtf processing. Kearwood Gilbert 2013-04-29 14:10:03 -07:00
  • 6c9c6c5881 re-enabled culling of distance audio sources (Still needs to be fixed in order to avoid culling audio sources that are distant, but contribute to reverb) Kearwood Gilbert 2013-04-26 17:58:58 -07:00
  • 9574f782ba Re-enabled audio Kearwood Gilbert 2013-04-25 18:11:50 -07:00
  • ae00c9bf00 OSX Version of Kraken and importer now compiling again. Fixed bug that caused erratic mis-selection of shaders Kearwood Gilbert 2013-04-25 18:00:10 -07:00
  • 30f3c5b0df OSX Version of Kraken and importer now compiling again. Kearwood Gilbert 2013-04-25 17:23:36 -07:00
  • 09d6998d3d CPU Optimization Pass Kearwood Gilbert 2013-04-25 16:21:28 -07:00
  • 9ef3f4590f Replaced most std::map's with std::unordered_map's for more scalability. Kearwood Gilbert 2013-04-24 18:12:03 -07:00
  • 0c67ffbbd1 Performance optimizations, reducing redundant GL calls Kearwood Gilbert 2013-04-24 15:51:57 -07:00
  • e6207fbb83 Performance Optimizes Small bug fixes Implemented KRVector4 Kearwood Gilbert 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) Kearwood Gilbert 2013-04-17 13:39:37 -07:00
  • 4920649d42 GL_QUERY_RESULT_AVAILABLE_EXT calls disable, as on PowerVR SGX / iOS, glGetQueryObjectuivEXT seems to be blocking. (Will need to change to asynchronous logic in the future to maintain performance and follow the "spec") Kearwood Gilbert 2013-04-12 01:07:41 -07:00
  • 1d891e4192 Adjusted allocation of VBO and texture memory Kearwood Gilbert 2013-04-11 20:34:11 -07:00
  • 1b77dff53a Implemented (temporary) hack to enable reverb to be audible when audio sources are far away, until audio culling is fixed. Kearwood Gilbert 2013-04-11 20:33:45 -07:00
  • 1bdcf0223f Fixed bug that caused the "enable_realtime_occlusion" render setting to fail to propagate when the KRRenderSettings class copy constructor is called Kearwood Gilbert 2013-04-11 20:32:18 -07:00
  • 97d5949891 Fixed bug that caused moving objects to disappear if they travelled outside of their original octree node. (Including point lights) Kearwood Gilbert 2013-04-11 20:31:37 -07:00
  • 94cf3f7760 Implemented small optimization for hardware occlusion culling. Implemented parameter to allow hardware occlusion culling to be disabled. Kearwood Gilbert 2013-04-11 15:28:59 -07:00
  • def0bae4d8 fixed bug in real-time occlusion culling that caused octree nodes and flares to disappear when they should be visible Kearwood Gilbert 2013-04-11 14:04:56 -07:00
  • 260326094d Fixed drawing order bug with two sided alpha blended shapes Kearwood Gilbert 2013-04-11 13:46:55 -07:00
  • 3a04a954ac Lod_Group node threshold distances are now calculated based on the distance between the camera and the nearest point in/on the bounding box Kearwood Gilbert 2013-04-08 21:40:53 -07:00
  • bd0a773770 Memory management is now dynamic, detected by device. LOD Bias is now an exponential function Kearwood Gilbert 2013-04-04 18:26:17 -07:00
  • bc577e1769 LODGroup threshold units are now converted correctly when importing FBX files. Implemented LOD bias setting Kearwood Gilbert 2013-04-04 17:53:39 -07:00
  • 4a4eac57a4 lod_group nodes now have a reference point attribute, enabling use of lod_groups containing objects with a centre that is not at the pivot point of the lod_group node. Numerous small bug fixes. Kearwood Gilbert 2013-04-04 16:09:29 -07:00
  • 16c8523a40 Implemented Hierarchical LOD system and associated FBX Importer functionality. Kearwood Gilbert 2013-04-04 12:50:53 -07:00
  • fb23c8ef78 OSD Debug text can now be used by the host application. Kearwood Gilbert 2013-03-22 18:16:44 -07:00
  • b34d90f41d On-screen Profiler / Debug visualizations in progress Added on-screen FPS counter. Kearwood Gilbert 2013-03-22 17:17:12 -07:00
  • a23b39a178 On-screen Profiler / Debug visualizations in progress Fixed a bug that caused framerate to drop drastically by executing an additional render pass. Kearwood Gilbert 2013-03-21 19:58:35 -07:00
  • 98df6e7e87 On-screen Profiler / Debug visualizations in progress Kearwood Gilbert 2013-03-21 17:32:26 -07:00
  • 9e7a79ac9c Profiler / Debug visualizations in progress Implemented support for dynamic VBO's (used by text rendering system) Kearwood Gilbert 2013-03-21 13:21:04 -07:00
  • 40adbcd7fc Switched from libstdc++ to libc++ Kearwood Gilbert 2013-03-15 15:28:14 -07:00
  • 93a64d4100 Adjusted flare occlusion testing to correct occasions where flares would disappear. Kearwood Gilbert 2013-03-14 15:30:50 -07:00
  • d47a844f0a Renamed KRLight::setOcclusionSize to setFlareOcclusionSize. Fixed bug that made setFlareOcclusionSize have not effect. Kearwood Gilbert 2013-03-14 14:29:12 -07:00
  • 408b0f7612 Created wrapper function so that c++ apps can access named quality / effect parameters. Kearwood Gilbert 2013-03-07 18:22:14 -08:00
  • 8cd5a2f7cf Siren - Eliminated clicks in the HRTF engine Kearwood Gilbert 2013-03-06 18:45:41 -08:00
  • c2819acbad Optimized HRTF audio rendering in Siren. Now able to handle twice as many channels. Kearwood Gilbert 2013-03-06 15:46:54 -08:00
  • e30f90cc66 Ambient Zones and Reverb Zones implemented and now working with Siren. Kearwood Gilbert 2013-02-28 19:09:27 -08:00
  • 652bd59882 Replaced KRReverbZone with KRAmbientSphere, to support Siren audio engine reverb zones Kearwood Gilbert 2013-02-28 12:04:52 -08:00
  • fa86f007c1 Fixed crash in Siren Kearwood Gilbert 2013-02-27 16:01:45 -08:00
  • 5d1daa22dc Looping audio clips now functioning correctly in Siren. KRAudioSource::IsPlaying() now returning false when a non-looping audio source ends. Kearwood Gilbert 2013-02-27 13:11:24 -08:00
  • 52c9b90667 Fixed bug that caused HRTF audio spatialized sounds to come from the incorrect directions. Kearwood Gilbert 2013-02-22 15:37:38 -08:00
  • cd3627c3d3 Fixed bug that caused the application to crash when deleting or moving nodes in the Octree Changes to the Octruee due to adding and updating object positions is now delayed until after the end of the frame Kearwood Gilbert 2013-02-21 16:22:56 -08:00
  • 69506798c2 Implemented KRAudioManager::setListenerOrientation Implemented KRAudioManager::setListenerOrientationFromModelMatrix Implemented KRAudioManager::getListenerForward Implemented KRAudioManager::getListenerUp Implemented KRAudioManager::getListenerPosition Kearwood Gilbert 2013-02-21 11:21:18 -08:00
  • 3e0e223b66 Implemented global gain for all audio. Fixed bug with falloff reference distance in HRTF audio. Kearwood Gilbert 2013-02-20 22:48:01 -08:00
  • b4d0348be9 Implmented HRTF sound source spatialization Kearwood Gilbert 2013-02-20 18:24:07 -08:00
  • 7e0459653d Fixed access violations Implemented a divide-and-conquer approach to speeding up reverb engine, without increasing latency using multiple, different sized FFT's. Algorithm optimized to ensure that the same amount of processing is done each frame. Reverb now working in real-time. Kearwood Gilbert 2013-02-16 01:35:05 -08:00
  • eee1dc28e0 Fixed recursive echo issue in reverb Kearwood Gilbert 2013-02-15 23:40:22 -08:00
  • fac1df2f6a Siren audio engine in progress - Implementing Impulse-Response based reverb Kearwood Gilbert 2013-02-15 23:27:04 -08:00
  • 91aca18620 Siren audio engine in progress - Implementing Impulse-Response based reverb Kearwood Gilbert 2013-02-15 17:03:49 -08:00
  • 36f6a82add Siren audio engine in progress - Implementing Impulse-Response based reverb Kearwood Gilbert 2013-02-15 16:35:49 -08:00
  • 3859c88915 Siren audio engine in progress - Implementing Impulse-Response based reverb Kearwood Gilbert 2013-02-15 16:13:12 -08:00
  • 0db5f91796 Siren audio engine in progress - Implementing Impulse-Response based reverb Kearwood Gilbert 2013-02-15 15:13:48 -08:00
  • 4984dc9fbf Siren audio engine in progress - Implementing Impulse-Response based reverb Kearwood Gilbert 2013-02-14 14:13:46 -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. Kearwood Gilbert 2013-02-08 17:28:17 -08:00
  • 63d333ae46 Siren audio engine in progress Kearwood Gilbert 2013-02-07 13:00:51 -08:00
  • bbaa1e4d9f Siren audio engine in progress Kearwood Gilbert 2013-02-07 01:02:39 -08:00
  • b7f3b4510a OSX Build now running, although some textures will not appear and the frame buffer size is hard-coded. (Will need DXT compression for desktop). Kearwood Gilbert 2013-02-06 11:59:24 -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 Kearwood Gilbert 2013-02-02 23:58:08 -08:00
  • 1f82b62367 Fixed: KRNode::getWorldRotation() was returning erroneous euler angles. Kearwood Gilbert 2013-02-01 16:16:19 -08:00
  • 232fadce11 Corrected build issues on OSX, due to incorrectly configured prefix header. Kearwood Gilbert 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 Kearwood Gilbert 2013-01-31 02:16:47 -08:00
  • 291461d912 Indexed vertex meshes in progress Kearwood Gilbert 2013-01-24 23:57:55 -08:00
  • d282294594 Indexed geometry support in progress Re-normalized the min and max distance related parameters in KREngine.mm Kearwood Gilbert 2013-01-24 21:56:40 -08:00
  • e54f7110b4 Duplicated iOS shaders so they can be optimized for OSX. Implemented OSX preamble and automatic selection of OSX shader versions. Updated FBX import process so that it does not KRBundle the final output, but rather keeps each kind of asset bundled together in groups at the top level. Kearwood Gilbert 2013-01-24 13:52:26 -08:00
  • 655e0095ed OSX Port in progress Implemented ALDEBUG macro Corrected audio engine bugs Kearwood Gilbert 2013-01-23 12:43:43 -08:00
  • 4b2416041a Flares now disappear behind objects. Kearwood Gilbert 2013-01-17 19:27:17 -08:00
  • e9b8706dee Fixed file type for fragment shader in project settings Kearwood Gilbert 2013-01-16 18:21:17 -08:00
  • fb383c6970 KRWorldBuilder framework in progress kearwood 2013-01-13 08:10:38 +00:00
  • ba50f738f9 Updated KRObjPack to match Kraken engine changes kearwood 2013-01-13 08:10:09 +00:00
  • 9abc02965f Updated KRObjView to match Kraken engine changes kearwood 2013-01-13 08:09:45 +00:00
  • 11f6955150 Fixed crash when using KRUnknown resources kearwood 2013-01-12 05:14:05 +00:00
  • ccdbb25492 Fixed bug that caused incorrect texture maximum mipmap selection for LOD kearwood 2013-01-12 05:13:35 +00:00
  • c565b1a582 Fixed KRNode::Find, which was not working properly kearwood 2013-01-12 05:12:51 +00:00
  • d0847b3f82 includes and header cleanup kearwood 2013-01-11 03:28:02 +00:00
  • a2d85c24dd includes and header cleanup kearwood 2013-01-11 03:21:19 +00:00
  • aee5fef177 Fixed crash when importing FBX files that don't have any animations kearwood 2013-01-09 22:59:33 +00:00
  • 1712059f0a Changed naming conventions: - KRModel renamed to KRMesh - KRModelManager renamed to KRMeshManager - KRInstance renamed to KRModel - "instance" in scene graph xml is now "model" kearwood 2013-01-09 22:37:23 +00:00