Commit Graph

561 Commits

Author SHA1 Message Date
8d7ac095c9 Reduced memory utilization of Siren audio engine by dyanmically opening and closing the CoreAudio virtual file.
--HG--
branch : nfb
2014-05-05 23:02:13 -07:00
16953ba932 Implemented camera downsampling (without reducing the render target resolution, for temporary drops of resolution without any skipped frames)
--HG--
branch : nfb
2014-04-29 00:30:14 -07:00
e9c17df900 Implemented texture pre-streaming for lod swaps
--HG--
branch : nfb
2014-04-23 01:43:00 -07:00
admin8onf@admin8onfs-pro.nfbonf.nfb.ca
7194d39f7d Added tag Release 1.0.2 for changeset be35d6215978
--HG--
branch : nfb
2014-04-17 13:22:04 -07:00
3a3d5bd64c Fixed "multi-context texture usage without flush" errors, and now restricting the texture handle swapping to the streamer fence period.
--HG--
branch : nfb
circa1948_release_1.0.2 Release_1.0.2
2014-04-14 21:48:09 -07:00
8112a0362f Streaming optimizations and black-pop elimination in progress
--HG--
branch : nfb
2014-04-14 02:27:16 -07:00
ee35c5540e Corrected bug that allowed incomplete cube map textures to attempt to load, resulting in gl errors
Implemented procedural loading of textures with new streamer algorithm
Fixed thread safety issues in streamer (double-buffered old level tracking variables)
Texture streamer now only processes once per frame

--HG--
branch : nfb
2014-04-14 00:47:29 -07:00
462d0ec6e7 CPU Performance Optimization when texture cubes are in use
--HG--
branch : nfb
2014-04-13 19:35:23 -07:00
c51552838b New streaming algorithm in progress
--HG--
branch : nfb
2014-04-13 01:53:16 -07:00
a54ac1e870 New streaming algorithm in progress
Corrected reflections

--HG--
branch : nfb
2014-04-13 01:02:31 -07:00
0405eb681b New streaming algorithm in progress
Corrected reflections
Corrected KRMATERIAL_ALPHA_MODE_BLENDTWOSIDE alpha mode
Corrected alpha transparent back face culling

--HG--
branch : nfb
2014-04-12 23:42:26 -07:00
e8f9652e42 Implemented new texture streaming algorithm:
Textures are assigned a “weight” by tuneable criteria:
- Area of screen coverage taken by objects containing material (more accurate and generic than distance)
- Type of texture (separate weight for normal, diffuse, spec maps)
- Last used time (to keep textures loaded for recently seen objects that are outside of the view frustum)
  Those factors combine together to give a “weight”, which represents a proportion relative to all other textures weights
  Mipmap levels are stripped off of each texture until they occupy the amount of memory they should proportionally have
  This is in contrast to the global ceiling of texture resolution that slowly drops until the textures fit

--HG--
branch : nfb
extra : rebase_source : 0710cebf76f196f5fea20b6df51be539fafbd834
2014-04-11 01:15:40 -07:00
Kelly
6135178ccc Instead of removing post rotation completely, setting the Directional light to return KRVector3::Up()
--HG--
branch : nfb
2014-04-10 19:12:19 -07:00
admin8onf@admin8onfs-pro.nfbonf.nfb.ca
fa71fe6041 putting the hack back to remove the post rotation for the directional light.... obviously not fixed.
--HG--
branch : nfb
2014-04-10 18:48:44 -07:00
39fc3b21ee New texture streaming algorithm in progress
--HG--
branch : nfb
2014-04-09 22:15:29 -07:00
56a43bb4f4 Fixed parsing of mesh lod levels from mesh names
--HG--
branch : nfb
2014-04-09 22:15:01 -07:00
Kelly Fennig
ecf2ea2be4 Range changes to make Ambient and Sunlight tweaks easier in the Debug Menu
--HG--
branch : nfb
2014-04-04 15:03:45 -07:00
Kelly Fennig
389548bd42 reverting hack to remove post rotation.
--HG--
branch : nfb
2014-04-04 00:46:36 -07:00
peter
ff11c6d403 a little bit of cleanup to flushSkybox()
--HG--
branch : nfb
2014-04-01 14:21:01 -07:00
Peter
db3c4993d9 Fixed Max Distance bug in FBX Importer
--HG--
branch : nfb
2014-04-01 11:50:45 -07:00
827ad1eb7b KRNode::getBounds() now caches the calculated bounds and invalidates the cache as needed.
This improves speed of Octree generation.

--HG--
branch : nfb
2014-03-25 22:40:31 -07:00
c6f6260df4 Reversed commit that caused point lights to be broken in the deferred rendering path.
--HG--
branch : nfb
2014-03-25 21:44:49 -07:00
Peter
6d772967f1 Fixed the audio mute method so we can mute and un-mute even when we are not rendering.
--HG--
branch : nfb
2014-03-21 11:45:23 -07:00
Kelly Fennig
a6712c250a Created a 'buildOctreeForTheFirstTime()' function .. which adds the nodes but doesn't deal with LOD
--HG--
branch : nfb
2014-03-19 13:52:52 -07:00
Peter
b5a8c2ae93 Added a method to KRAudioManager to allow the CircaAppDelegate to turn off the audio when the app is deactivated
--HG--
branch : nfb
2014-03-18 15:55:31 -07:00
Peter
8527c88f1d Merge of Peter and Kelly changes
--HG--
branch : nfb
2014-03-18 12:52:54 -07:00
Peter
d06003ca38 Changes required for skybox switching and spam control
--HG--
branch : nfb
2014-03-18 12:27:08 -07:00
admin8onf@admin8onfs-pro.nfbonf.nfb.ca
e595979957 A minor hack to prevent the Directional light from incorrectly inheriting the Post_rotation from the FBX scene. (if we can figure out where the post rotation is exported from, the hack can be removed)
--HG--
branch : nfb
2014-03-17 23:47:18 -07:00
Kelly
a70df621b2 fixed the Point Light Flare positioning
--HG--
branch : nfb
2014-03-17 23:44:51 -07:00
kelly
0d7bbfb2d7 flare shaders added to the bundle
--HG--
branch : nfb
2014-03-14 03:23:05 -07:00
Manjit Bedi
b702b5901f 1) calling the multi threading selector in iOS 7 causes a crash
2) it appears to also cause problems at run-time in the release build with crashing

--HG--
branch : nfb
2014-03-12 18:37:10 -07:00
215349d342 Enabled multithreaded driver in iOS 7.1
Disabled lod_group switch deferral until it can be fixed (objects were failing to up-lod or appear)

--HG--
branch : nfb
2014-03-11 23:43:02 -07:00
e463359405 Removed TTY spam
--HG--
branch : nfb
2014-03-11 00:27:27 -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
admin8onf@admin8onfs-pro.nfbonf.nfb.ca
64f1b70545 Changes to admin8onf profiles
--HG--
branch : nfb
2014-03-08 23:14:11 -08:00
Kelly
143e37e880 Pulled back the Nearfield clip plane... last adjustment was too aggressive
--HG--
branch : nfb
2014-03-07 13:16:45 -08:00
e6bed1265b Fixed KRAABB::Intersect bug, which returned false negatives due to an invalid z-axis test.
--HG--
branch : nfb
2014-03-05 22:47:48 -08:00
admin8onf@admin8onfs-pro.nfbonf.nfb.ca
6f7359baf6 increased the near clipping plane to 0.8f
--HG--
branch : nfb
2014-03-04 23:40:31 -08:00
Manjit Bedi
748adc050f removed duplicate const
--HG--
branch : nfb
2014-03-04 16:47:16 -08:00
094a89a379 KTX compression pipeline fixes and sanity-check asserts
--HG--
branch : nfb
2014-03-01 21:48:46 -08:00
22747d507d Added swizzled accessors to KRVector2 and KRVector3
--HG--
branch : nfb
2014-03-01 21:47:58 -08:00
3bf5cf782b More sphereCast bug fixes
--HG--
branch : nfb
2014-02-18 01:51:09 -08:00
be804fc3de SphereCast bug fixes, appears to be working now. More testing needed
--HG--
branch : nfb
2014-02-17 23:36:54 -08:00
877b4b9bb7 Implemented KRTriangle3 class.
Implemented swept sphere - mesh intersection testing / sphereCast functionality. - Not yet fully tested or optimized.

--HG--
branch : nfb
2014-02-13 00:36:54 -08:00
d05b6c434c Corrected bug in KRTextureTGA that caused it to assert on release builds (glDebug should only be called on debug builds).
--HG--
branch : nfb
2014-02-05 01:09:10 -08:00
9999b91ee1 Corrected infinite loop in octree generation that occurred due to NaN being returned as the AABB bounds for point lights and spot lights.
--HG--
branch : nfb
2014-02-01 16:07:02 -08:00
77550118f0 Fixed typo causing compilation error on iOS
Corrected inversion of skybox on OSX

--HG--
branch : nfb
2014-01-25 18:43:34 -08:00
d906f67f76 TGA Images working once again on iOS and OSX runtimes.
Image import / compression pipeline fixed -- was broken with TGA support
Corrected TGA RLE decompression -- 24bpp RLE compressed TGA's now tested and working.
No longer attempting to generate mipmaps for cube maps automatically at runtime.

--HG--
branch : nfb
2014-01-24 02:13:34 -08:00
2ec9d5cf76 Implemented support for RLE compressed TGA images
Image import pipeline can now generate pre-multiplied alpha output images while they are compressed.

--HG--
branch : nfb
2014-01-23 21:40:29 -08:00
Peter Courtemanche
c5da1dd7e1 Adjusted a few more constants - reverb and max active sources.
--HG--
branch : nfb
2014-01-16 17:01:12 -08:00