Commit Graph

494 Commits

Author SHA1 Message Date
cfa1f35088 Updated OSX object shader to use the pre-multiplied alpha pipeline 2013-05-06 12:55:47 -07:00
e611fe2336 Implemented workaround for broken KRQuaternion::RotationMatrix
Added KRFloat
2013-05-03 17:38:42 -07:00
616aa4aeef Implemented KRQuaternion::Lerp and KRQuaternion::Slerp 2013-05-03 12:54:22 -07:00
e43136b6c4 Performance optimizations for math classes
Implemented KRQuaternion::FromAngleAxis
2013-05-02 19:30:33 -07:00
cb59a6f38e Switched to pre-multiplied alpha pipeline, requiring asset textures to be premultiplied as well. 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. 2013-05-02 13:32:36 -07:00
12842a0184 Exposed anisotropic filtering level through the quality settings 2013-05-02 11:10:56 -07:00
5f01257cee Fixed bug that caused transparency values in FBX files to be imported incorrectly 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
2013-05-01 15:07:27 -07:00
b7b9bedf14 Implemented collider visualization to aid in debugging navigation issues. 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
2013-04-30 01:18:36 -07:00
f13d93de29 Implemented setting parameters to disable audio, reverb, and/or hrtf processing. 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) 2013-04-26 17:58:58 -07:00
9574f782ba Re-enabled audio 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
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