Commit Graph

367 Commits

Author SHA1 Message Date
b4a3dc369f Fixed bug in animation splitting that would cause curves that don't start at frame 0 to be offset incorrectly
--HG--
extra : source : c293b845a630673ed0a62c9855e2f295235e3e28
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
--HG--
branch : nfb
2013-08-31 15:31:17 -07:00
58d4bae6b6 Fixed bug in animation import that caused the attributes to be un-assigned to nodes.
--HG--
extra : source : 9cf011cb5f014ef330dfdf4150e0523b64400e03
2013-08-24 17:04:20 -07:00
0cb3db427d Fixed bug in animation import that caused the attributes to be un-assigned to nodes.
--HG--
branch : nfb
2013-08-24 17:04:20 -07:00
0efee25da8 Implemented animation splitting
--HG--
extra : source : e2686eec48ec9fa9da4359ce8fb75efa6ebba62c
2013-08-24 16:37:07 -07:00
0300dcdd7e Implemented animation splitting
--HG--
branch : nfb
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.
--HG--
extra : source : 5b9b6d6d1c0f9d35490f0739670d729fb6ea1c9c
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.
--HG--
branch : nfb
2013-07-27 14:57:50 -07:00
kearwood
18e44dc835 start nfb branch
--HG--
branch : nfb
2013-07-13 13:18:25 -07:00
Ash Mishra
5b738a824f Merged 2013-07-12 09:59:39 -07:00
Ash Mishra
ce29aff591 Moved all header files to Project instead of Public 2013-07-12 09:55:43 -07:00
Michael Ilich
84bb884c22 Exposed set_debug_text function in the kraken namespace as this is not visible from a C++ file. 2013-06-28 18:03:21 -07:00
Michael Ilich
7ff4da106d expose krcamera function for getdebugtext 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. 2013-06-01 13:00:52 -07:00
73cdad122b Small optimization to sky box shader 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);
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.
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. 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
2013-05-13 13:16:25 -07:00
6fe549b3ba Implemented system to cull out redundant glUniform calls 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.
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 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.
2013-05-06 12:58:57 -07:00
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