Commit Graph

490 Commits

Author SHA1 Message Date
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
d8082ba50d Modified behaviour of KRSprite's
KRSprite's no longer have a "sprite_size" attribute.  Instead, the node's scale is used.
KRSprite's no longer orient towards the camera automatically.  This enables applications to perform their own orientation behaviours and use the sprites for UI elements that may rotate.

--HG--
branch : nfb
2014-01-15 00:53:03 -08:00
05a218973c Removed Recast
--HG--
branch : nfb
2014-01-14 23:16:44 -08:00
f7e8697088 Merge
--HG--
branch : nfb
2014-01-14 22:13:02 -08:00
1339b71a26 Merge
--HG--
branch : nfb
2014-01-14 22:10:45 -08:00
Peter Courtemanche
cae949c259 AudioManager - increased pool size to reduce dropouts. Change startFrame locks to non-blocking - improves FPS a bit and dropout rate goes down.
--HG--
branch : nfb
2014-01-14 19:12:51 -08:00
Peter Courtemanche
ca1af8dd3e Changed the buffer constants to decrease the number of drop outs (still needs some work)
--HG--
branch : nfb
2014-01-14 15:51:32 -08:00
Peter Courtemanche
edbae68dc5 Little bug fix for the mute/unmute code
--HG--
branch : nfb
2014-01-14 14:41:54 -08:00
Peter Courtemanche
62ca3305a6 Made the audio mute function static (so it can be called from anywhere)
--HG--
branch : nfb
2014-01-14 14:09:21 -08:00
Peter Courtemanche
89f31f00ec Added limiter and mute methods to KRAudioManager
--HG--
branch : nfb
2014-01-14 13:32:56 -08:00
Peter Courtemanche
dea797a69c Removing experimental code
--HG--
branch : nfb
2014-01-14 10:22:42 -08:00
Peter Courtemanche
d2f9434e13 Peter’s experiments with audio .. to be revised
--HG--
branch : nfb
2014-01-13 19:03:41 -08:00
Peter Courtemanche
45b86e8ccb Temporary fix to stop the app from crashing when it runs the texture resize routine with a size of 1024 for 2 minutes.
Take a look at the FINDME comment.

--HG--
branch : nfb
2014-01-13 15:16:30 -08:00
Peter Courtemanche
516115f4d5 Updated the constants defined for the audio block size
--HG--
branch : nfb
2014-01-13 11:54:21 -08:00
Peter Courtemanche
5b77f22f2d Changed AUGraph frame buffer size to match the AU render size (improves performance by about 10 times)
Comment in AudioSample.cpp where we can hook in an alternate mp3 input streamer

--HG--
branch : nfb
2014-01-07 16:52:47 -08:00
Peter Courtemanche
d38419b454 For iOS target - defined out parts of the TGA code that use GL constants that are not defined in GLES2
Commented out an assert()  that crashes the app when the debug interface is asked to draw text at the bottom of the screen (i.e. the FPS)

--HG--
branch : nfb
2014-01-06 12:48:26 -08:00
63a3fa2d9e Organized directory structure for 3rd party source and libraries.
Added pvrtexlib library and headers
Added Recast

--HG--
branch : nfb
2014-01-04 20:19:06 -08:00
a45b31ca21 OSX Build memory parameter tuning
Corrected bug in KTX textures that would cause a compilation failure on iOS builds.

--HG--
extra : source : bbb3a2442166488f2581d5cb720b51630324fb73
2014-01-04 19:00:44 -08:00
656a9cadb6 OSX Build memory parameter tuning
Corrected bug in KTX textures that would cause a compilation failure on iOS builds.

--HG--
branch : nfb
2014-01-04 19:00:44 -08:00
896311f0ac KTX Texture compression fixed for opaque textures without an alpha channel.
KTX Texture mipmaps now loading correctly.

--HG--
extra : source : 35ac38101008024955ffa4d4c6e66f8e5be026a2
2014-01-04 03:36:56 -08:00
f6da62221f KTX Texture compression fixed for opaque textures without an alpha channel.
KTX Texture mipmaps now loading correctly.

--HG--
branch : nfb
2014-01-04 03:36:56 -08:00
a6fdde5978 OSX Build now running again
Implemented KTX texture file support
Implemented workflow for compressing TGA textures referenced by FBX files to KTX with DXT1 and DXT5 format.

--HG--
extra : source : 7283e7f81861682f54cda3ef6c9b0fbc9273f675
2014-01-03 02:17:27 -08:00