Commit Graph

319 Commits

Author SHA1 Message Date
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
kearwood
2097664c0a - Implemented device detection and automatic selection of KREngine memory management parameters
- Now detecting iPad 3 and adjusting parameters to utilize the greater RAM capacity

--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40135
2012-10-19 23:17:43 +00:00
kearwood
9e96e765c4 - Material manager now matches material names in a case-insensitive manner
- KREngine object is now a singleton
- Removed temporary test harnesses for cubemap reflections

--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40134
2012-10-19 18:28:18 +00:00
kearwood
6ad15ea510 Mtl file parser now scans for tokens case-insensitive
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40133
2012-10-19 02:17:22 +00:00
kearwood
689596629d No longer crashes for scenes that don't have a skybox
Removed excessive NSLog messages

--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40132
2012-10-18 21:20:38 +00:00
kearwood
2aded76722 Now using setUniform methods of KRMat4, KRVector3, and KRVector2 instead of direct glUniform calls
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40131
2012-10-18 08:37:19 +00:00
kearwood
6358f7fcb9 Added setUniform method to KRMat4, KRVector2, and KRVector3
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40130
2012-10-18 08:25:47 +00:00
kearwood
89b273f2ce Added new convenience functions to KRMat4
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40129
2012-10-18 07:32:21 +00:00
kearwood
736ca4fc4b Implemented KRMat4::LookAt
KREngine object no longer requires a width and height passed into init.
KRCamera no longer requires a width and height passed into the constructor; it now automatically resizes its buffers to match the active render target.

--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40128
2012-10-17 19:43:15 +00:00
kearwood
a884f4fcd2 Completed implementation and debugging of cube map reflections, including cube map reflections for normal mapped textures
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40127
2012-10-12 02:27:59 +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
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
fcd58bb373 Implementation of reflections in progress
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40124
2012-10-06 01:43:11 +00:00
kearwood
586285856d Implementation of reflections in progress
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40123
2012-10-06 01:35:41 +00:00
kearwood
906598e97f Fixed krengine_osx build issue
--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40122
2012-10-05 21:50:47 +00:00