Commit Graph

32 Commits

Author SHA1 Message Date
kearwood
5728b5b000 More optimizations to reduce CPU utilization.
Fixed bug that caused cube maps to prematurely expire from the texture pool.

--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40161
2012-11-17 07:57:28 +00:00
kearwood
aae50ff178 Updated realtime occlusion culling algorithm to reduce the number of occlusion tests.
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40160
2012-11-17 05:20:26 +00:00
kearwood
c30c9725e9 Continued refactoring for multiple light support in forward rendering
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40158
2012-11-16 02:58:23 +00:00
kearwood
04bd2bbe16 Refactoring to enable multiple lights in forward rendering in progress
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40156
2012-11-15 22:05:25 +00:00
kearwood
602425dd51 Volumetric lighting in progress
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40152
2012-11-09 09:18:38 +00:00
kearwood
0e174d99ba Performance optimizations, reducing repeated matrix calculations
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40143
2012-10-26 19:31:27 +00:00
kearwood
2c429b8579 Implemented KRViewport object, which reduces redundant KRMat4 calculations and paves the way for upcoming rendering features.
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40142
2012-10-26 01:17:35 +00:00
kearwood
fa91aafb5b - Performance optimization - Eliminating extra matrix calculations for shaders that do not use the results
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40137
2012-10-20 02:15:48 +00:00
kearwood
278c6d5926 Completed implementation of skyboxes, enabled by setting the "skybox" attribute of the "scene" node. Once the camera is moved to the scene graph, this "skybox" attribute will be moved to the "camera" nodes.
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40125
2012-10-10 22:09:28 +00:00
kearwood
2fd05171b7 Fixed colour temperature and intensity engine parameters, which were not calculating r,g,b correctly
Refactoring in preparation for LOD and geometric reflections

--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40116
2012-10-04 22:29:01 +00:00
kearwood
a39610a292 Now drawing geometry in front-to-back order for opaque surfaces and back-to-front order for transparent surfaces. This solves some sorting issues with transparent blended textures stacking. Additionally, it improves the efficiency of the occlusion culling algorithm.
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40107
2012-09-21 08:24:55 +00:00
kearwood
d4903c1d84 Fixed inaccurate view frustum culling
Implemented smarter octree visibility query batching algorithm

--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40106
2012-09-21 07:31:18 +00:00
kearwood
34c7dc7b53 Implemented KRBundle's
Implementation of logic to allow dynamic loading and unloading of meshes and models for scenes larger than RAM in progress

--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%4090
2012-09-11 03:06:35 +00:00
kearwood
04e7a7e83c Implemented KRAABB class.
Occlusion culling in progress

--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%4085
2012-08-30 22:37:44 +00:00
kearwood
cee504408a Now iterating through the octree rather than the scene graph structure during render, in preparation for occlusion culling
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%4084
2012-08-30 19:31:38 +00:00
kearwood
f8810110cd Implemented KROctree class to be used by upcoming occlusion culling and physics features
Refactored scene graph notification system structures to be owned by the KRScene object
Merged Mike's changes

--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%4082
2012-08-29 21:43:11 +00:00
kearwood
6d7e7d9abb Added virtual directive to destructors where missing
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%4073
2012-08-17 01:06:27 +00:00
kearwood
5768902ee2 Implemented notification system needed for occlusion culling and transparency sorting
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%4072
2012-08-17 01:04:49 +00:00
kearwood
29e2181c7e Refactored many functions out of KREngine.mm into KRCamera.cpp in preparation for alpha transparent polygon sorting structures which will be owned by KRCamera
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%4065
2012-08-15 21:26:06 +00:00
kearwood
f9cf9b7ffe Organized render passes, in preparation for transparency pass and point light flares
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%4061
2012-06-14 19:33:17 +00:00
kearwood
21762174bf Specular calculations for deferred lighting in progress
Have integrated the position of the directional light in the scene graph (imported from fbx) with the forward renderer and deferred lighting renderer's directional light angle

--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%4048
2012-04-19 23:39:32 +00:00
kearwood
1ebdee1b3c Implemented multi-pass framework for deferred lighting
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%4044
2012-04-13 06:40:53 +00:00
kearwood
f847b89f5a Implemented KRContext class to reduce the parameter count of method calls
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%4041
2012-04-12 19:43:08 +00:00
kearwood
ff9bd874d3 Now using scene graph nodes for instance and bound extents management.
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%4035
2012-04-12 06:04:15 +00:00
kearwood
4215bf8b22 Set up scene graph objects required for managing light sources
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%4033
2012-04-12 00:43:53 +00:00
kearwood
5498499b51 Light mapping implemented
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%4023
2012-03-29 19:39:28 +00:00
kearwood
d457991ed0 FBX File Import - Materials and texture map names now imported
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%4021
2012-03-28 21:58:55 +00:00
kearwood
d43989cd88 Resolved linker errors, now able to cross-compile the OSX framework and iOS library from the same source
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%4016
2012-03-15 23:58:37 +00:00
kearwood
bb38ede18e Renamed Vector3 class to KRVector3
KRObjPacker project updated to use KREngine_osx framework rather than having a copy of the files

--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%4015
2012-03-15 22:57:20 +00:00
kearwood
4511d71e1d Optimized to reduce redundant GL state changes
Updated header copyright dates
Further refactoring to prepare for FBX file compatibility

--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%4010
2012-03-15 20:09:01 +00:00
kearwood
fe0fd86896 Added header with Simplified BSD License to all source files.
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%405
2011-10-25 06:16:47 +00:00
kearwood
cece608881 Initial import of KREngine
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%404
2011-10-25 05:03:10 +00:00