Commit Graph

  • 1f92268e07 Animation system in progress kearwood 2012-12-07 00:20:06 +00:00
  • 9760b1eb7f Animation system in progress kearwood 2012-12-02 10:58:59 +00:00
  • 33eeada451 Animation system in progress kearwood 2012-12-02 09:31:01 +00:00
  • 06861776c5 Animation system in progress kearwood 2012-12-01 02:03:18 +00:00
  • 08771fef6e Updated to FBX SDK 2013.3 kearwood 2012-11-30 00:32:03 +00:00
  • 12a6bfe3ca Implemented animated textures Applied workaround (hack) for issue that caused incorrect model matrices to be applied to instances. kearwood 2012-11-29 23:44:50 +00:00
  • 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 kearwood 2012-11-29 21:28:49 +00:00
  • b1d1e8b64a Added comments to output materials as placeholders for material properties that are not used kearwood 2012-11-24 00:59:17 +00:00
  • 6a6ec7e166 KRImport now compiling again kearwood 2012-11-24 00:25:44 +00:00
  • ac2195f0c9 Fixed bug in UI slider for the particle intensity kearwood 2012-11-23 23:56:24 +00:00
  • b2c79149b1 Exposed dust parameters to UI kearwood 2012-11-23 01:13:35 +00:00
  • 96a9c02a13 Implemented dust particle system kearwood 2012-11-23 01:02:22 +00:00
  • 230dd4722d Implemented automatic tuning of shadow space frustum used for illuminating volumetric effects and particle systems. kearwood 2012-11-22 09:02:25 +00:00
  • 002ad4bda6 Implemented linear, exponential, and exponential squared per-pixel fog. kearwood 2012-11-21 22:47:33 +00:00
  • 5728b5b000 More optimizations to reduce CPU utilization. Fixed bug that caused cube maps to prematurely expire from the texture pool. kearwood 2012-11-17 07:57:28 +00:00
  • aae50ff178 Updated realtime occlusion culling algorithm to reduce the number of occlusion tests. kearwood 2012-11-17 05:20:26 +00:00
  • 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. kearwood 2012-11-17 00:15:52 +00:00
  • c30c9725e9 Continued refactoring for multiple light support in forward rendering kearwood 2012-11-16 02:58:23 +00:00
  • 3b352511dc Eliminated KRBoundingVolume, as it has been completely replaced by KRAABB Added logic to eliminate redundant shader binding calls. kearwood 2012-11-15 23:20:59 +00:00
  • 04bd2bbe16 Refactoring to enable multiple lights in forward rendering in progress kearwood 2012-11-15 22:05:25 +00:00
  • 50fc0a0533 Exposed volumetric environment effect parameters kearwood 2012-11-14 21:46:30 +00:00
  • 1d22aa189d Implemented multi-resolution rendering for volumetric lighting kearwood 2012-11-10 00:51:03 +00:00
  • 152e0139a6 Volumetric lighting in progress kearwood 2012-11-09 20:55:23 +00:00
  • 602425dd51 Volumetric lighting in progress kearwood 2012-11-09 09:18:38 +00:00
  • 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. kearwood 2012-11-03 02:57:35 +00:00
  • e5febf7e60 Brownian motion particle system implementation in progress (for dust environment effects) Fixed bug in KRImport that caused long material names to become corrupted kearwood 2012-11-02 20:50:45 +00:00
  • 87b7877958 Fixed LOD mesh selection bugs kearwood 2012-11-01 22:16:59 +00:00
  • 37ebc89c2c Lightmaps now working again kearwood 2012-10-31 20:04:25 +00:00
  • ad53aa78cc Corrected major octree generation bug, which resulted in incorrect culling kearwood 2012-10-27 01:29:05 +00:00
  • db43a1468e Fixed bug that caused octree visualization to intermittently display opaque visuals kearwood 2012-10-27 00:50:17 +00:00
  • b2c13a1281 Fixed bug that caused imports to skip over FBX files. Updated build target for KRImport so it can run on OSX 10.6 kearwood 2012-10-26 23:13:31 +00:00
  • 9137919cd0 Enabled procedural texture loading Fixed build settings so KREngine_osx can be used as an embedded framework kearwood 2012-10-26 22:10:28 +00:00
  • 0e174d99ba Performance optimizations, reducing repeated matrix calculations kearwood 2012-10-26 19:31:27 +00:00
  • 2c429b8579 Implemented KRViewport object, which reduces redundant KRMat4 calculations and paves the way for upcoming rendering features. kearwood 2012-10-26 01:17:35 +00:00
  • 17ce0fd05a Fixed bug that caused transparent objects to intermittently become opaque kearwood 2012-10-25 18:48:25 +00:00
  • 15ebea1533 Now using VAO's (OES_vertex_array_object extension) to improve performance of scenes with many materials and objects kearwood 2012-10-25 18:28:30 +00:00
  • 825c78ab80 Implemented non-compressed (tga file) 24-bit and 32-bit textures kearwood 2012-10-25 03:15:28 +00:00
  • 29b6004b2e Refectoring in preparation for non-compressed texture support kearwood 2012-10-24 06:57:34 +00:00
  • fa91aafb5b - Performance optimization - Eliminating extra matrix calculations for shaders that do not use the results kearwood 2012-10-20 02:15:48 +00:00
  • 1f512462b7 - Fixed specular bug affecting rotated, translated and scaled objects - Cleanup and performance optimizations kearwood 2012-10-20 01:10:57 +00:00
  • 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 kearwood 2012-10-19 23:17:43 +00:00
  • 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 kearwood 2012-10-19 18:28:18 +00:00
  • 6ad15ea510 Mtl file parser now scans for tokens case-insensitive kearwood 2012-10-19 02:17:22 +00:00
  • 689596629d No longer crashes for scenes that don't have a skybox Removed excessive NSLog messages kearwood 2012-10-18 21:20:38 +00:00
  • 2aded76722 Now using setUniform methods of KRMat4, KRVector3, and KRVector2 instead of direct glUniform calls kearwood 2012-10-18 08:37:19 +00:00
  • 6358f7fcb9 Added setUniform method to KRMat4, KRVector2, and KRVector3 kearwood 2012-10-18 08:25:47 +00:00
  • 89b273f2ce Added new convenience functions to KRMat4 kearwood 2012-10-18 07:32:21 +00:00
  • 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. kearwood 2012-10-17 19:43:15 +00:00
  • a884f4fcd2 Completed implementation and debugging of cube map reflections, including cube map reflections for normal mapped textures kearwood 2012-10-12 02:27:59 +00:00
  • 40c4f4c897 Debugging cubemap reflections kearwood 2012-10-12 00:02:24 +00:00
  • 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. kearwood 2012-10-10 22:09:28 +00:00
  • fcd58bb373 Implementation of reflections in progress kearwood 2012-10-06 01:43:11 +00:00
  • 586285856d Implementation of reflections in progress kearwood 2012-10-06 01:35:41 +00:00
  • 906598e97f Fixed krengine_osx build issue kearwood 2012-10-05 21:50:47 +00:00
  • 8d47e0bdb9 KRTextureCube implementation in progress kearwood 2012-10-05 21:22:47 +00:00
  • a46bfaf489 Reversed meaning of m_tr attribute in KRMaterial so that it matches the alpha without needing inversion kearwood 2012-10-05 20:46:24 +00:00
  • 63cee5de79 Updated fbx import for compatibility with recent runtime engine refactoring kearwood 2012-10-05 20:41:25 +00:00
  • c034a4dfe2 Fixed bug that caused KRImport to incorrectly tag opaque materials as transparent kearwood 2012-10-05 20:34:39 +00:00
  • 7f7651efbd Completed implementation of Model LOD system kearwood 2012-10-05 02:23:00 +00:00
  • 2fd05171b7 Fixed colour temperature and intensity engine parameters, which were not calculating r,g,b correctly Refactoring in preparation for LOD and geometric reflections kearwood 2012-10-04 22:29:01 +00:00
  • 4ea621c2cd Removed hard coded 90 degree view matrix rotation from - (void)renderScene: (KRScene *)pScene WithViewMatrix: (KRMat4)viewMatrix kearwood 2012-10-03 21:05:29 +00:00
  • 1f00f86225 Added rotationMatrix method to KRQuaternion kearwood 2012-10-03 21:00:05 +00:00
  • b13de25a4c Merged KRMesh into KRModel kearwood 2012-10-03 19:55:34 +00:00
  • e6e90c1945 Now compatible with GLKView's kearwood 2012-10-03 19:29:37 +00:00
  • a6dcbaaca4 Scaled ambient intensity to 10.0 and removed all RGB references. mike 2012-09-27 18:57:56 +00:00
  • b05ef5248d Increased maximum sun intensity kearwood 2012-09-27 18:20:56 +00:00
  • faec06833e Increased minimum texture LOD dimension to 64x64 kearwood 2012-09-27 18:18:11 +00:00
  • 63fb848da5 Implemented global dynamic texture LOD selection to constrain texture memory usage within bounds kearwood 2012-09-26 20:07:48 +00:00
  • 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. kearwood 2012-09-21 08:24:55 +00:00
  • d4903c1d84 Fixed inaccurate view frustum culling Implemented smarter octree visibility query batching algorithm kearwood 2012-09-21 07:31:18 +00:00
  • d23fe9a700 Added sliders for temperature and intensity mike 2012-09-21 05:59:24 +00:00
  • 0dcd2d19f4 Added additional validation logic for debugging Corrected memory corruption in VBO's! No longer have random visual artifacts when models with > 65535 triangles are displayed. kearwood 2012-09-20 10:51:28 +00:00
  • 57fd737955 Corrected shader link status validation kearwood 2012-09-20 09:32:20 +00:00
  • ba14fc2b8c Added missing GLDEBUG() macros kearwood 2012-09-20 08:27:25 +00:00
  • 96c5b62e26 Updated for XCode 4.5 Cleanup and removal of redundant shader compiling and validation code kearwood 2012-09-20 08:16:59 +00:00
  • 9f4608a888 Moved the post processing shader to KRShaderManager / KRShader Changed many vertex buffers to VBO's kearwood 2012-09-19 20:26:30 +00:00
  • 283460acc7 Fixed bug in material loader that resulted in corrupted displays for materials with > 64 characters in the name kearwood 2012-09-13 23:59:28 +00:00
  • fc1216ffa2 Updated framework reference paths for OSX framework target kearwood 2012-09-13 20:53:12 +00:00
  • 70478d87ca Updated project settings to target OSX 10.7 kearwood 2012-09-13 20:28:03 +00:00
  • 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. kearwood 2012-09-13 20:09:19 +00:00
  • 763e8b8fe7 Fixed bug causing incorrect specular value to be assigned to a material when a mesh is rendered using the same shader as the previously rendered material. kearwood 2012-09-11 08:50:25 +00:00
  • c6417c151d Performance improvement in the deferred lighting pipeline, utilizing hardware occlusion queries to avoid rendering objects in 3rd pass (Final Render) or loading their textures when they have been determined to be occluded in the 1st pass. (GBuffer populate) kearwood 2012-09-11 08:15:05 +00:00
  • b802d22dc0 Implemented Deferred Point light visualization kearwood 2012-09-11 07:23:54 +00:00
  • 377fd8e6b5 Point lights no longer disappear when the camera is too close (within their sphere of influence) kearwood 2012-09-11 06:45:02 +00:00
  • 754496fe06 Implemented texture and VBO swapping system that keeps GPU memory utilization within limits kearwood 2012-09-11 04:32:04 +00:00
  • 34c7dc7b53 Implemented KRBundle's Implementation of logic to allow dynamic loading and unloading of meshes and models for scenes larger than RAM in progress kearwood 2012-09-11 03:06:35 +00:00
  • c7b7c20310 moved shader mike 2012-09-06 21:24:41 +00:00
  • eb912256ab Disabled octree visualization mike 2012-09-06 20:25:49 +00:00
  • 527bcb33c3 Implemented visualization of octrees for debugging occlusion culling algorithms. Corrected project settings to allow objpack to compile again. kearwood 2012-09-05 18:14:08 +00:00
  • c74a85d931 Added texture loading and mapping to KRSkybox mike 2012-08-30 23:23:28 +00:00
  • 04e7a7e83c Implemented KRAABB class. Occlusion culling in progress kearwood 2012-08-30 22:37:44 +00:00
  • cee504408a Now iterating through the octree rather than the scene graph structure during render, in preparation for occlusion culling kearwood 2012-08-30 19:31:38 +00:00
  • 99b6d6771d Occlusion testing implementation in progress kearwood 2012-08-29 22:29:18 +00:00
  • 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 kearwood 2012-08-29 21:43:11 +00:00
  • 43a4ecd2ea Updated include header files to archive mike 2012-08-24 01:09:43 +00:00
  • e56c217999 Added XML load filename and texture references for skybox mike 2012-08-24 00:37:01 +00:00
  • 7395a63f99 Enabled alpha_mode blendoneside and alpha_mode blendtwoside blending options kearwood 2012-08-24 00:06:38 +00:00
  • bbfb04347c Added KRSkyBox as new KRNode instance mike 2012-08-23 23:18:45 +00:00
  • 4b7163aa48 Added getParameterIndexForName mike 2012-08-23 22:43:26 +00:00
  • 9077b5a890 Worked around texture loading bug kearwood 2012-08-23 19:44:23 +00:00