Commit Graph

36 Commits

Author SHA1 Message Date
kearwood
a3ebbd4fd7 KRCamera's have been moved into the scene graph.
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40198
2012-12-20 22:08:41 +00:00
kearwood
41f5932044 Implemented skinned mesh shader and associated uniform bindings
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40187
2012-12-13 18:32:02 +00:00
kearwood
4f5fd10e71 Updated krmodel file format to support bone weights, physics collider meshes, and variable combinations of vertex attributes
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40183
2012-12-10 21:09:14 +00:00
kearwood
f49abf6a9d Minor code cleanup
Implemented new constructor for KRQuaternion for creating "from - to" rotation quaternions
Implemented billboards by adding a "faces_camera" boolean attribute to KRInstance

--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40169
2012-11-29 21:28:49 +00:00
kearwood
6a6ec7e166 KRImport now compiling again
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40167
2012-11-24 00:25:44 +00:00
kearwood
b2c79149b1 Exposed dust parameters to UI
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40165
2012-11-23 01:13:35 +00:00
kearwood
96a9c02a13 Implemented dust particle system
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40164
2012-11-23 01:02:22 +00:00
kearwood
230dd4722d Implemented automatic tuning of shadow space frustum used for illuminating volumetric effects and particle systems.
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40163
2012-11-22 09:02:25 +00:00
kearwood
002ad4bda6 Implemented linear, exponential, and exponential squared per-pixel fog.
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40162
2012-11-21 22:47:33 +00:00
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
a0549b4cfb Updated texture memory management code to eliminate inter-frame texture swapping and glFinish() calls, favouring performance over maximum texture resolution when memory is insufficient for textures at full resolution.
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40159
2012-11-17 00:15:52 +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
3b352511dc Eliminated KRBoundingVolume, as it has been completely replaced by KRAABB
Added logic to eliminate redundant shader binding calls.

--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40157
2012-11-15 23:20:59 +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
19a6689245 FBX Import now creates empty nodes in the scene graph for transform and rotation inheritance.
Model matrix inheritance implemented
No longer have to freeze transform and rotations before importing to Kraken.

--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40151
2012-11-03 02:57:35 +00:00
kearwood
e5febf7e60 Brownian motion particle system implementation in progress (for dust environment effects)
Fixed bug in KRImport that caused long material names to become corrupted

--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40150
2012-11-02 20:50:45 +00:00
kearwood
87b7877958 Fixed LOD mesh selection bugs
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40149
2012-11-01 22:16:59 +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
40c4f4c897 Debugging cubemap reflections
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40126
2012-10-12 00:02:24 +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
63fb848da5 Implemented global dynamic texture LOD selection to constrain texture memory usage within bounds
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40108
2012-09-26 20:07:48 +00:00
kearwood
57fd737955 Corrected shader link status validation
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40103
2012-09-20 09:32:20 +00:00
kearwood
9f4608a888 Moved the post processing shader to KRShaderManager / KRShader
Changed many vertex buffers to VBO's

--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40100
2012-09-19 20:26:30 +00:00
kearwood
917c4221ea Added debugging macro for GL calls
Activated octree culling logic as a default
Wide spread bug fixes related to occlusion culling and GPU resource management
Implemented logic to automatically enable alpha blending for materials that do not contain an alpha blending statement but have a material-level opacity value set less than 1.0
Extended the krobject file format to 256 characters for material names.
Added logic to prevent exported krobject files from being corrupted when long material names are used.

--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%4096
2012-09-13 20:09:19 +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
99b6d6771d Occlusion testing implementation in progress
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%4083
2012-08-29 22:29:18 +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
7395a63f99 Enabled alpha_mode blendoneside and alpha_mode blendtwoside blending options
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%4079
2012-08-24 00:06:38 +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
e8ad725d45 Implemented punch-through / alpha tested material support, enabled with the "alpha_test true" in the material file.
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%4064
2012-08-09 23:40:32 +00:00
kearwood
3d832d1586 Added flares for light sources
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%4062
2012-06-15 00:05:56 +00:00
kearwood
d4b80212cc Implemented persistence of lighting information through XML files
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%4034
2012-04-12 01:27:30 +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
33c5b754de Creating object model to store lights returned by FBX import in preparation of deferred rendering.
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%4029
2012-04-05 23:09:41 +00:00