Commit Graph

480 Commits

Author SHA1 Message Date
ae00c9bf00 OSX Version of Kraken and importer now compiling again.
Fixed bug that caused erratic mis-selection of shaders
2013-04-25 18:00:10 -07:00
30f3c5b0df OSX Version of Kraken and importer now compiling again. 2013-04-25 17:23:36 -07:00
09d6998d3d CPU Optimization Pass 2013-04-25 16:21:28 -07:00
9ef3f4590f Replaced most std::map's with std::unordered_map's for more scalability. 2013-04-24 18:12:03 -07:00
0c67ffbbd1 Performance optimizations, reducing redundant GL calls 2013-04-24 15:51:57 -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
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") 2013-04-12 01:07:41 -07:00
1d891e4192 Adjusted allocation of VBO and texture memory 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. 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 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) 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.
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 2013-04-11 14:04:56 -07:00
260326094d Fixed drawing order bug with two sided alpha blended shapes 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 2013-04-08 21:40:53 -07:00
bd0a773770 Memory management is now dynamic, detected by device.
LOD Bias is now an exponential function
2013-04-04 18:26:17 -07:00
bc577e1769 LODGroup threshold units are now converted correctly when importing FBX files.
Implemented LOD bias setting
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.
2013-04-04 16:09:29 -07:00
16c8523a40 Implemented Hierarchical LOD system and associated FBX Importer functionality. 2013-04-04 12:50:53 -07:00
fb23c8ef78 OSD Debug text can now be used by the host application. 2013-03-22 18:16:44 -07:00
b34d90f41d On-screen Profiler / Debug visualizations in progress
Added on-screen FPS counter.
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.
2013-03-21 19:58:35 -07:00
98df6e7e87 On-screen Profiler / Debug visualizations in progress 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)
2013-03-21 13:21:04 -07:00
40adbcd7fc Switched from libstdc++ to libc++ 2013-03-15 15:28:14 -07:00
93a64d4100 Adjusted flare occlusion testing to correct occasions where flares would disappear. 2013-03-14 15:30:50 -07:00
d47a844f0a Renamed KRLight::setOcclusionSize to setFlareOcclusionSize.
Fixed bug that made setFlareOcclusionSize have not effect.
2013-03-14 14:29:12 -07:00
408b0f7612 Created wrapper function so that c++ apps can access named quality / effect parameters. 2013-03-07 18:22:14 -08:00
8cd5a2f7cf Siren - Eliminated clicks in the HRTF engine 2013-03-06 18:45:41 -08:00
c2819acbad Optimized HRTF audio rendering in Siren. Now able to handle twice as many channels. 2013-03-06 15:46:54 -08: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
fa86f007c1 Fixed crash in Siren 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.
2013-02-27 13:11:24 -08:00
52c9b90667 Fixed bug that caused HRTF audio spatialized sounds to come from the incorrect directions. 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
2013-02-21 16:22:56 -08:00
69506798c2 Implemented KRAudioManager::setListenerOrientation
Implemented KRAudioManager::setListenerOrientationFromModelMatrix
Implemented KRAudioManager::getListenerForward
Implemented KRAudioManager::getListenerUp
Implemented KRAudioManager::getListenerPosition

Listener position and orientation are no longer automatically coupled to the camera's model matrix, and must be set manually using these new functions.
2013-02-21 11:21:18 -08:00
3e0e223b66 Implemented global gain for all audio.
Fixed bug with falloff reference distance in HRTF audio.
2013-02-20 22:48:01 -08:00
b4d0348be9 Implmented HRTF sound source spatialization 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.
2013-02-16 01:35:05 -08:00
eee1dc28e0 Fixed recursive echo issue in reverb 2013-02-15 23:40:22 -08:00
fac1df2f6a Siren audio engine in progress - Implementing Impulse-Response based reverb 2013-02-15 23:27:04 -08:00
91aca18620 Siren audio engine in progress - Implementing Impulse-Response based reverb 2013-02-15 17:03:49 -08:00
36f6a82add Siren audio engine in progress - Implementing Impulse-Response based reverb 2013-02-15 16:35:49 -08:00
3859c88915 Siren audio engine in progress - Implementing Impulse-Response based reverb 2013-02-15 16:13:12 -08:00
0db5f91796 Siren audio engine in progress - Implementing Impulse-Response based reverb 2013-02-15 15:13:48 -08:00
4984dc9fbf Siren audio engine in progress - Implementing Impulse-Response based reverb 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.
2013-02-08 17:28:17 -08:00
63d333ae46 Siren audio engine in progress 2013-02-07 13:00:51 -08:00