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 Gilbert2013-12-09 22:29:13 -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 Gilbert2013-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
d4f16439fc
No longer filling KRLocator::m_userAttributes with fbx properties that had unsupported data types
Kearwood Gilbert2013-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 Gilbert2013-12-05 19:44:58 -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 Gilbert2013-12-05 18:34:20 -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 Gilbert2013-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 Gilbert2013-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 Gilbert2013-11-30 12:46:01 -08:00
a1d93d24b9
Animated textures updated for compatibility with asynchronous texture streamer
Kearwood Gilbert2013-11-30 02:01:02 -08:00
c1551a8a23
Fixed bug that caused some animations to crash the FBX import pipeline.
Kearwood Gilbert2013-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 Gilbert2013-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 Gilbert2013-11-23 18:21:16 -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 Gilbert2013-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 Gilbert2013-11-23 12:16:31 -08:00
e849f55b34
Experimental optimizations, not yet ready for stable branch
Kearwood Gilbert2013-10-08 20:44:31 -07:00
4dddec7f85
Asynchronous streaming and memory management improvements in progress.
Kearwood Gilbert2013-10-06 18:56:23 -07:00
44ea492556
Fixed bug in KROctreeNode::lineCast that would cause it to always return false
Kearwood Gilbert2013-09-07 17:34:06 -07:00
de324ff279
Fixed bug in KROctreeNode::lineCast that would cause it to always return false
Kearwood Gilbert2013-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 Gilbert2013-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 Gilbert2013-09-07 16:57:18 -07:00
4d71287d17
More animation fixes for curves that don't start on frame 0.
Kearwood Gilbert2013-08-31 19:22:37 -07:00
7b3ce4d3bf
More animation fixes for curves that don't start on frame 0.
Kearwood Gilbert2013-08-31 19:22:37 -07:00
fdfa13fc89
Animation fixes for curves that do not start on frame 0
Kearwood Gilbert2013-08-31 17:38:20 -07:00
0b90046aaa
Animation fixes for curves that do not start on frame 0
Kearwood Gilbert2013-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 Gilbert2013-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 Gilbert2013-08-31 15:31:17 -07:00
58d4bae6b6
Fixed bug in animation import that caused the attributes to be un-assigned to nodes.
Kearwood Gilbert2013-08-24 17:04:20 -07:00
0cb3db427d
Fixed bug in animation import that caused the attributes to be un-assigned to nodes.
Kearwood Gilbert2013-08-24 17:04:20 -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 Gilbert2013-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 Gilbert2013-07-27 14:57: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 Gilbert2013-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 Gilbert2013-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 Gilbert2013-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 Gilbert2013-05-13 13:16:25 -07:00
6fe549b3ba
Implemented system to cull out redundant glUniform calls
Kearwood Gilbert2013-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 Gilbert2013-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 Gilbert2013-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 Gilbert2013-05-06 12:58:57 -07:00
cfa1f35088
Updated OSX object shader to use the pre-multiplied alpha pipeline
Kearwood Gilbert2013-05-06 12:55:47 -07:00
616aa4aeef
Implemented KRQuaternion::Lerp and KRQuaternion::Slerp
Kearwood Gilbert2013-05-03 12:54:22 -07:00
e43136b6c4
Performance optimizations for math classes Implemented KRQuaternion::FromAngleAxis
Kearwood Gilbert2013-05-02 19:30:33 -07:00
cb59a6f38e
Switched to pre-multiplied alpha pipeline, requiring asset textures to be premultiplied as well.
Kearwood Gilbert2013-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 Gilbert2013-05-02 13:32:36 -07:00
12842a0184
Exposed anisotropic filtering level through the quality settings
Kearwood Gilbert2013-05-02 11:10:56 -07:00
5f01257cee
Fixed bug that caused transparency values in FBX files to be imported incorrectly
Kearwood Gilbert2013-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 Gilbert2013-05-01 15:07:27 -07:00
b7b9bedf14
Implemented collider visualization to aid in debugging navigation issues.
Kearwood Gilbert2013-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 Gilbert2013-04-30 01:18:36 -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 Gilbert2013-04-26 17:58:58 -07:00
ae00c9bf00
OSX Version of Kraken and importer now compiling again. Fixed bug that caused erratic mis-selection of shaders
Kearwood Gilbert2013-04-25 18:00:10 -07:00
30f3c5b0df
OSX Version of Kraken and importer now compiling again.
Kearwood Gilbert2013-04-25 17:23:36 -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 Gilbert2013-04-17 13:39:37 -07:00