Commit Graph

983 Commits

Author SHA1 Message Date
kearwood
fe7d4f8238 Final KRObject file format for v1.1
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40185
2012-12-12 22:15:09 +00:00
kearwood
8bd02e4bbc Implemented logic to reduce number of bones to 4 and re-normalize the bone weights. Strongest weights are selected over smaller weights.
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40184
2012-12-12 09:32:53 +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
mike
317522edd3 Added KRCollider class
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40182
2012-12-08 02:05:23 +00:00
kearwood
bfa6bb23a1 Fixed bug that caused animated rotations to be incorrect
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40181
2012-12-07 20:11:21 +00:00
kearwood
4b28e36369 Fixed bug that caused models to fail to load when the instance is not named the same as the model
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40180
2012-12-07 19:40:09 +00:00
kearwood
4bec4ee8b2 Now importing bone / skeleton structure from FBX files.
Object names from FBX files are now concatenated with the FBX numerical ID to ensure that they are unique

--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40179
2012-12-07 08:22:55 +00:00
kearwood
6514ceebd8 Now importing bone / skeleton structure from FBX files.
Object names from FBX files are now concatenated with the FBX numerical ID to ensure that they are unique

--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40178
2012-12-07 08:22:20 +00:00
kearwood
34fd415b49 Animation system in progress
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40177
2012-12-07 03:13:10 +00:00
kearwood
accc9ce05a Animation system in progress
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40176
2012-12-07 01:49:17 +00:00
kearwood
1f92268e07 Animation system in progress
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40175
2012-12-07 00:20:06 +00:00
kearwood
9760b1eb7f Animation system in progress
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40174
2012-12-02 10:58:59 +00:00
kearwood
33eeada451 Animation system in progress
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40173
2012-12-02 09:31:01 +00:00
kearwood
06861776c5 Animation system in progress
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40172
2012-12-01 02:03:18 +00:00
kearwood
08771fef6e Updated to FBX SDK 2013.3
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40171
2012-11-30 00:32:03 +00:00
kearwood
12a6bfe3ca Implemented animated textures
Applied workaround (hack) for issue that caused incorrect model matrices to be applied to instances.

--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40170
2012-11-29 23:44:50 +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
b1d1e8b64a Added comments to output materials as placeholders for material properties that are not used
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40168
2012-11-24 00:59:17 +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
ac2195f0c9 Fixed bug in UI slider for the particle intensity
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40166
2012-11-23 23:56:24 +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
50fc0a0533 Exposed volumetric environment effect parameters
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40155
2012-11-14 21:46:30 +00:00
kearwood
1d22aa189d Implemented multi-resolution rendering for volumetric lighting
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40154
2012-11-10 00:51:03 +00:00
kearwood
152e0139a6 Volumetric lighting in progress
--HG--
rename : KREngine/KREngine/Shaders/volumetric_fog_inside.fsh => KREngine/KREngine/Shaders/volumetric_fog.fsh
rename : KREngine/KREngine/Shaders/volumetric_fog_inside.vsh => KREngine/KREngine/Shaders/volumetric_fog.vsh
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40153
2012-11-09 20:55:23 +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
37ebc89c2c Lightmaps now working again
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40148
2012-10-31 20:04:25 +00:00
kearwood
ad53aa78cc Corrected major octree generation bug, which resulted in incorrect culling
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40147
2012-10-27 01:29:05 +00:00
kearwood
db43a1468e Fixed bug that caused octree visualization to intermittently display opaque visuals
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40146
2012-10-27 00:50:17 +00:00
kearwood
b2c13a1281 Fixed bug that caused imports to skip over FBX files.
Updated build target for KRImport so it can run on OSX 10.6

--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40145
2012-10-26 23:13:31 +00:00
kearwood
9137919cd0 Enabled procedural texture loading
Fixed build settings so KREngine_osx can be used as an embedded framework

--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40144
2012-10-26 22:10:28 +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
17ce0fd05a Fixed bug that caused transparent objects to intermittently become opaque
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40141
2012-10-25 18:48:25 +00:00
kearwood
15ebea1533 Now using VAO's (OES_vertex_array_object extension) to improve performance of scenes with many materials and objects
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40140
2012-10-25 18:28:30 +00:00
kearwood
825c78ab80 Implemented non-compressed (tga file) 24-bit and 32-bit textures
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40139
2012-10-25 03:15:28 +00:00
kearwood
29b6004b2e Refectoring in preparation for non-compressed texture support
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40138
2012-10-24 06:57:34 +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
1f512462b7 - Fixed specular bug affecting rotated, translated and scaled objects
- Cleanup and performance optimizations

--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40136
2012-10-20 01:10:57 +00:00