Commit Graph

9 Commits

Author SHA1 Message Date
e9c17df900 Implemented texture pre-streaming for lod swaps
--HG--
branch : nfb
2014-04-23 01:43:00 -07:00
8a1164c44f - Implemented methods for determining amount of scene that has streamed in. (KRScene::getStreamLevel, KRNode::getStreamLevel, KRModel::getStreamLevel, KRMaterial::getStreamLevel, and KRTexture::getStreamLevel
- Implemented connection between LOD groups and texture streaming, which delays the switch to a new LOD group until the required textures have completed streaming in.
- Corrected bug in KRMaterial that resulted in reflection cube texture names being formatted incorrectly in the mtl file
- Scene graph now requires that lod_group nodes only be contained within lod_set nodes.
- Scene graph  group nodes that do not have a LOD minimum or maximum distance are now stored as "node" rather than as "lod_group" nodes.
- IMPORTANT!  Scenes exported with this version will not be backwards compatible with earlier versions due to the requirement of lod_set nodes.

--HG--
branch : nfb
extra : rebase_source : 1ff640b85338a794841ebbb2bf0087306ff59143
2014-03-10 22:32:49 -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
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
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