Commit Graph

569 Commits

Author SHA1 Message Date
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
5de7ef1d26 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--
branch : nfb
2014-01-03 02:17:27 -08:00
Peter Courtemanche
beee63336f Updated header search paths (actually reverted to the one that works)
--HG--
extra : source : 336a9573b792805e71a69c8f0240f16e06dbca40
2013-12-17 20:20:49 -08:00
Peter Courtemanche
2a34b54ed4 Updated header search paths (actually reverted to the one that works)
--HG--
branch : nfb
2013-12-17 20:20:49 -08:00
Peter Courtemanche
f671b21007 Update LoadXML to use the same field names as SaveXML
--HG--
extra : source : cb9d53843ea05307e3f3e9ee1ec68b47de839f4e
2013-12-16 17:18:12 -08:00
Peter Courtemanche
5923046cd8 Update LoadXML to use the same field names as SaveXML
--HG--
branch : nfb
2013-12-16 17:18:12 -08:00
f97c51ce44 Corrected formatting of logged messages.
--HG--
extra : source : 055166b931edaf78d482a143b5c8b6898a387904
2013-12-14 18:13:00 -08:00
5170722a4c Corrected formatting of logged messages.
--HG--
branch : nfb
2013-12-14 18:13:00 -08:00
b704ae5523 Corrected compile error in fbx pipeline
--HG--
extra : source : 6e6f5784434d28e7c73d67efa21047a4ab325f66
2013-12-14 18:03:51 -08:00
41f6fc12a5 Corrected compile error in fbx pipeline
--HG--
branch : nfb
2013-12-14 18:03:51 -08:00
e466e38501 Implemented KRModel::setLightMap
Implemented KRModel::getLightMap
Corrected logging bugs and crashes during fbx import pipeline

--HG--
extra : source : d3c9f1247de05d4ecb57210faa5c1809208f7a06
2013-12-14 18:02:01 -08:00
99b9716992 Implemented KRModel::setLightMap
Implemented KRModel::getLightMap
Corrected logging bugs and crashes during fbx import pipeline

--HG--
branch : nfb
2013-12-14 18:02:01 -08:00
4f61b1f96b FBX Importer messages are now sent through the logging callbacks
--HG--
extra : source : 5be63aaf609e05f9be60a36a95213f41e6d5f228
2013-12-14 16:37:14 -08:00
c602b12f04 FBX Importer messages are now sent through the logging callbacks
--HG--
branch : nfb
2013-12-14 16:37:14 -08:00
14aad147fe Implemented logging callbacks for client applications that would like to implement their own GUI
--HG--
extra : source : bf007f5c932c9110cbdc0dc651c66a02a0c68477
2013-12-14 16:06:44 -08:00
e39eebff26 Implemented logging callbacks for client applications that would like to implement their own GUI
--HG--
branch : nfb
2013-12-14 16:06:44 -08:00
Peter Courtemanche
0773cbc4ba Added a quick warning message macro. KRSceneManager updates to del with NULL scenes.
--HG--
extra : source : ba524aee3db60b42cb093ef9ad76d62f11928a2f
2013-12-14 14:20:30 -08:00
33362c1c2d VBO Swapping TTY message disabled except for DEBUG builds.
Added comment with details on what actions to take if this message appears in the TTY.
2014-01-14 21:46:17 -08:00
Peter Courtemanche
f1bc1a52a0 Added a quick warning message macro. KRSceneManager updates to del with NULL scenes.
--HG--
branch : nfb
2013-12-14 14:20:30 -08:00
Peter Courtemanche
1c31eded59 removed VBO swapping printf - speeds up the render by 50%
--HG--
branch : nfb
2013-12-10 18:05:25 -08:00
admin8onf@admin8onfs-pro.nfbonf.nfb.ca
a0dbc8953c no message
--HG--
branch : nfb
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_#_

--HG--
extra : source : 3fe036b138659b88a903859578ec9099e5ec353c
2013-12-09 22:29:13 -08:00