Commit Graph

  • 75294ee802 Fixed reference to temporary object in Material. Cleaned up AssetImporter command handling. Lasse Öörni 2012-06-10 15:13:29 +0000
  • c2c313313b Delete old CMakeCache.txt when generating for Unix or OS X. Lasse Öörni 2012-06-10 10:53:12 +0000
  • e1a1c974e5 Initial iOS support. Do not use glPolygonOffset() constant bias due to its inconsistency. Instead offset the projection matrix as necessary. Do not use multiple glUniform calls to set an array of transposed matrices, as it is not guaranteed to work. Instead transpose all matrices first, then set them in one call. Lasse Öörni 2012-06-09 22:05:14 +0000
  • 89fe02c9cd Fixed missing OpenGL screen output due to uninitialized memory. Lasse Öörni 2012-06-08 09:09:38 +0000
  • de8c5f14cd For now, only handle first texture in Tundra import. Lasse Öörni 2012-06-08 08:44:09 +0000
  • 7593ab4da0 Removed unnecessary MSVC setting. Lasse Öörni 2012-06-06 19:55:34 +0000
  • bce68908d4 Fixed kNet's CMakeLists.txt for Xcode. Lasse Öörni 2012-06-06 19:48:30 +0000
  • 3411c5046c Require a click inside the window (again) to reacquire mouse. Otherwise there may be erratic movement on window title bar drag on OS X. Lasse Öörni 2012-06-06 17:59:54 +0000
  • b506bd9f3b Start centering mouse cursor only after first mouse move after input activation received. Lasse Öörni 2012-06-06 08:34:44 +0000
  • c1ef7e84d8 Improved SDL input focus check. Lasse Öörni 2012-06-06 07:23:26 +0000
  • 2c54f016c8 Applied SDL Android RWops patch. Lasse Öörni 2012-06-05 07:14:08 +0000
  • b163f276af Always center mouse cursor to prevent it escaping the window. This is preferable to SDL input grab due to it disabling Alt-Tab on Linux. Lasse Öörni 2012-06-04 19:38:40 +0000
  • 0b69846402 Fixed access to OpenGL commands before the context was initialized. Lasse Öörni 2012-06-04 18:41:22 +0000
  • 83fd09002e Fixed used vertex range check. Lasse Öörni 2012-06-04 17:11:29 +0000
  • 5d55c0959d Re-added the alpha masking hint to give priority to fully opaque materials. Lasse Öörni 2012-06-03 23:30:58 +0000
  • 6e86187926 Documentation update. Lasse Öörni 2012-06-03 19:14:18 +0000
  • cf6d216384 Removed unused function. Lasse Öörni 2012-06-03 18:07:08 +0000
  • 53e2198aa7 Use SDL also in Direct3D9 mode for consistent input handling. Fixed infinite loop in Graphics::GetResolutions(). Lasse Öörni 2012-06-03 17:59:54 +0000
  • 5ed1f86b27 Added note about the stencil buffer on OpenGL ES 2. Lasse Öörni 2012-06-03 11:38:34 +0000
  • 02738d055e Renamed Android package and added instructions on how to replace it with application-specific package name. Updated documentation. Lasse Öörni 2012-06-03 11:35:26 +0000
  • 0aac9b5857 Report also fullscreen inactive mode (alt-tabbed away) as minimized for purposes of the "pause when minimized" feature. Lasse Öörni 2012-06-01 23:10:17 +0000
  • dfbadcc82b Fixed memory leak from SDL display modes. Lasse Öörni 2012-06-01 22:58:25 +0000
  • a4a31dd3eb Fixed lost vertex/index buffer data not being correctly reported. Update vertex/index buffer shadow data first, but return failure if updating the actual GPU buffer fails. Lasse Öörni 2012-06-01 21:49:55 +0000
  • 7618da35b5 Fixed BillboardSet not restoring its index buffer on OpenGL. Lasse Öörni 2012-06-01 07:00:01 +0000
  • 3560591f7e Report device (context) loss condition properly on OpenGL. Lasse Öörni 2012-06-01 00:09:47 +0000
  • e272896dc1 SDL Java code cleanup. Fixed point light shadow indirection cubemaps recreated on every frame after first OpenGL context release. Fixed possible missing depth test after OpenGL context release. Lasse Öörni 2012-05-31 23:15:32 +0000
  • 4b12319ee0 Fixed SDL minimizing. Do not pause SDL audio as it may be bugged, instead mix silence into the audio stream. Lasse Öörni 2012-05-30 23:36:59 +0000
  • 4070e61e78 Added option to automatically pause updates & audio when minimized. Lasse Öörni 2012-05-30 23:17:16 +0000
  • 8cc2a83e48 Android OpenGL context loss handling. Lasse Öörni 2012-05-30 22:17:58 +0000
  • 35bec043ad Signal GPU object data loss only when recovery is possible. Lasse Öörni 2012-05-30 20:42:09 +0000
  • b885dcdc9a Added error message. Lasse Öörni 2012-05-29 22:44:25 +0000
  • dfdaed7ec4 Fixed missing variable initialization. Lasse Öörni 2012-05-29 22:33:27 +0000
  • 153106519e Restored public locking API for vertex & index buffers. On OpenGL locking is always emulated using either shadow or scratch data. Lasse Öörni 2012-05-29 22:27:07 +0000
  • 9654d7e5b0 Restore whole morph vertex buffer if data lost. Unified OpenGL vertex buffer / index buffer UpdateToGPU() with Direct3D implementation. Lasse Öörni 2012-05-29 06:56:18 +0000
  • 2976340a79 Fixed relative billboard position on Direct3D. Billboard node movement no longer needs to dirty the vertex buffer. Lasse Öörni 2012-05-28 23:10:07 +0000
  • c009816bab Fixed comment. Lasse Öörni 2012-05-28 22:57:52 +0000
  • ec2812d829 Fixed AssetImporter. Lasse Öörni 2012-05-28 22:50:37 +0000
  • a4c1924e04 Vertex & index buffer refactoring to unify feature set between graphics APIs, cleanup code, and prepare for Android OpenGL context loss handling. Lasse Öörni 2012-05-28 22:48:18 +0000
  • 1d28db07a6 Fixed comment. Lasse Öörni 2012-05-27 20:18:00 +0000
  • 8fb76dde01 Reverted the matrix uniform transpose on desktop GL due to problems on OS X. Fixed assert due to improper threaded weak pointer assignment (FindZone.) Lasse Öörni 2012-05-27 20:17:25 +0000
  • 3e7882093a Disabled all stencil operations on OpenGL ES for now, as the OES packed depth stencil isn't tested for or used yet. Use fixed vertex attribute locations on OpenGL. Always transpose OpenGL matrix uniforms manually. Workaround failed draw call after drawing billboards on OpenGL ES by transforming billboards with an identity model matrix. Ensure finger touch ID's are positive. Improved touch controls in NinjaSnowWar. Lasse Öörni 2012-05-27 16:39:21 +0000
  • d8a975811f Slightly improved NinjaSnowWar touch controls. Fixed low quality OpenGL ES shadow mapping shader. Lasse Öörni 2012-05-27 11:18:25 +0000
  • 0706ae397f Touch input on Android. Run NinjaSnowWar by default on Android. Rudimentary touch controls (virtual on-screen joystick) in NinjaSnowWar. Improved OpenGL ES depth bias. Support GetUserDocumentsDir() on Android (return the getFilesDir() path.) Fixed OpenGL ES mode erroneously attempting to use shadowed point lights. Added .bat file to copy Data & CoreData directories as Android assets. Lasse Öörni 2012-05-27 00:27:23 +0000
  • 4d317ebdef Fixed missing input events on Android. Map Android's Back key to KEY_ESC. Reset random seed in Context constructor on Android. Lasse Öörni 2012-05-25 23:04:58 +0000
  • 101b2ee338 Fixed crash if model had zero submeshes. Fixed root CMakeLists. Lasse Öörni 2012-05-25 15:59:41 +0000
  • 3bf10d2670 Clarified Android build instructions. Lasse Öörni 2012-05-25 06:48:35 +0000
  • 92facb3c3b Added Android asset support and basic build instructions. Lasse Öörni 2012-05-24 22:16:21 +0000
  • a876436066 Compile also in armeabi-v7a mode for faster floating point operations. Lasse Öörni 2012-05-23 23:40:53 +0000
  • 8a2ddf4971 Fixed D3D build. Lasse Öörni 2012-05-23 00:09:04 +0000
  • e298ecc5fe Cleaned up ARM function call code. Ensure all calling conventions align the stack. Lasse Öörni 2012-05-22 23:38:46 +0000
  • 35416390b6 Reverted the AngelScript workarounds. Instead applied a fix to the Android function call asm code. Lasse Öörni 2012-05-22 21:43:22 +0000
  • cd0668e2d7 Enabled profiler on Android. Lasse Öörni 2012-05-21 22:56:05 +0000
  • 19ed675c18 Work around asCALL_CDECL_OBJLAST bug with float as first parameter on Android. Lasse Öörni 2012-05-21 22:36:28 +0000
  • 986b90883a Fixed setting Matrix4 uniforms. Lasse Öörni 2012-05-21 02:53:17 +0000
  • a8c622f330 Started work on GLES2 shadow mapping. Lasse Öörni 2012-05-21 01:29:25 +0000
  • da4ae91508 Fixed wrong uniform data size on OpenGL. Lasse Öörni 2012-05-20 21:38:01 +0000
  • dc6c91ed63 Fixed AngelScript pass-by-reference criteria on Android. Lasse Öörni 2012-05-20 21:23:02 +0000
  • 0894ce6b65 Fixed endless loop when setting matrix constants on OpenGL ES. Lasse Öörni 2012-05-20 18:22:36 +0000
  • c1c7dcf0ec Code cleanup. Do not create point light shadow indirection textures if no shadow mapping capability. Lasse Öörni 2012-05-20 16:44:51 +0000
  • 55c1d677fb Fixed automatic onDestroy() on orientation change. Lasse Öörni 2012-05-20 15:31:43 +0000
  • 9a4e69d5bc Removed fillmode, as it is deprecated on some APIs and not currently used in Urho3D. Fixed missing depth buffer on Android. Use texture units < 8 on OpenGL ES. Lasse Öörni 2012-05-20 13:48:38 +0000
  • 5bb39d77c4 Added function to return a runtime platform identifier string. Lasse Öörni 2012-05-20 11:29:18 +0000
  • 58feefc858 Transpose matrices manually for OpenGL ES. Set landscape mode without titlebar & statusbar on Android. Lasse Öörni 2012-05-20 11:11:50 +0000
  • 22f1e3a1eb Enable OpenGL ES2 mode properly. Fixed shaders. Lasse Öörni 2012-05-20 01:12:17 +0000
  • 9408ec74bd Fixed AngelScript object method call crash on Android. Lasse Öörni 2012-05-20 00:06:26 +0000
  • 0debc43fed Further Android fixes. Lasse Öörni 2012-05-19 22:39:30 +0000
  • 65378ee15b Fixed Android linking & startup issues. Lasse Öörni 2012-05-19 22:06:58 +0000
  • 8af8edd603 Android compile fixes. Lasse Öörni 2012-05-19 18:43:08 +0000
  • 354f04e6f2 Added Texture::IsCompressed(). OpenGL ES fixes. Lasse Öörni 2012-05-19 12:17:58 +0000
  • 040c724485 Fixed access to missing variables. Lasse Öörni 2012-05-19 10:33:42 +0000
  • e34b505ab1 Fixed missing ambient shader combinations. Lasse Öörni 2012-05-18 23:32:07 +0000
  • a47ee41e12 Fixed SM2 shader compile failure. Lasse Öörni 2012-05-18 23:05:34 +0000
  • f9be80a4eb Fixed D3D build. Lasse Öörni 2012-05-18 07:11:37 +0000
  • c3f75ee181 Removed alpha test, as it is deprecated in modern graphics API's. Instead implemented in the pixel shader. Lasse Öörni 2012-05-18 07:06:36 +0000
  • 4a5ac216f2 Fixed OpenGL build. Lasse Öörni 2012-05-17 22:07:05 +0000
  • 866cd89546 Started work for experimental Android support. Renamed Signal to Condition. Do not lock vertex/index buffers when loading a model, instead prepare the data on CPU side, then set it to GPU at once. Lasse Öörni 2012-05-17 22:03:08 +0000
  • 6613481147 Slight code reordering. Lasse Öörni 2012-05-17 17:41:36 +0000
  • 7331120bac Fixed ragdoll bounding box not updating. Lasse Öörni 2012-05-16 21:13:27 +0000
  • f3f724920c Removed unnecessary include from WorkQueue. Documentation fixes. Lasse Öörni 2012-05-16 19:26:07 +0000
  • 5a54a105fe Eliminated redundant rotation matrix calculations from updating shader parameters. Prefer GetWorldTransform().RotationMatrix() instead of converting into an intermediate quaternion in Camera. Lasse Öörni 2012-05-16 18:10:37 +0000
  • fbffe32fd8 Synchronized Direct3D renderer function signatures with OpenGL. Lasse Öörni 2012-05-16 10:45:39 +0000
  • 78039db8b8 Fixed shader parameter group system for OpenGL renderer. Lasse Öörni 2012-05-16 10:22:42 +0000
  • 6f55d9c24e Divided shader parameters into groups for less checking of whether individual parameters need update. Lasse Öörni 2012-05-16 06:59:27 +0000
  • eb9bfbbf36 Simplified AngelScript CMakeLists.txt. Lasse Öörni 2012-05-15 19:32:25 +0000
  • ba7d6e73c7 Handle SDL_QUIT. Lasse Öörni 2012-05-15 06:22:53 +0000
  • 5900e3a944 Track the changed SDL window ID properly after screen mode change. Lasse Öörni 2012-05-14 21:56:26 +0000
  • d3e302f197 Added possibility to remove subsystems in explicit order. Call SDL_Init() & SDL_Quit() from the Graphics subsystem. Direct SDL events to the proper Input instance based on the window ID. Lasse Öörni 2012-05-14 19:52:14 +0000
  • 588c6373ea Applied Piotr's SDL patch. Lasse Öörni 2012-05-14 16:30:23 +0000
  • 627d2c94d7 Switched from GLFW & PortAudio back to (modified) SDL 2.0. Do not draw debug geometry for bones that do not contribute to skinning. Activate input immediately after title bar drag (Windows) or when the cursor is moved into the client area after title bar drag (Mac & Linux). Lasse Öörni 2012-05-13 22:28:06 +0000
  • 5001c19663 Documentation fixes & additions. Lasse Öörni 2012-05-09 22:29:25 +0000
  • d05a89c0a4 Cleanup comments. Lasse Öörni 2012-05-09 07:22:29 +0000
  • d9f9505ae4 Fixed possibility of mistaken procedural event handling if attempted from a script object that does not belong to a ScriptInstance. Lasse Öörni 2012-05-09 07:21:04 +0000
  • 8a5d1b5322 Removed the object & module maps from the Script subsystem. Use instead AngelScript userdata to map from script constructs to C++ objects. Customized asCScriptObject to contain userdata. Lasse Öörni 2012-05-08 22:40:10 +0000
  • e92e3fd138 Tidied up the example scripts to use the KeyDown event instead of polling keypresses. Lasse Öörni 2012-05-08 20:23:09 +0000
  • 88b91e129a Do not return negative refcount from an expired weak pointer, but clamp to 0. Lasse Öörni 2012-05-08 07:17:59 +0000
  • 6ad8b7dd7e Comments formatting. Lasse Öörni 2012-05-07 22:34:52 +0000
  • f6ca98e0c9 Update rigid body's inertia tensor whenever its transform is forcibly changed, or when it is re-added to the world. Lasse Öörni 2012-05-07 22:16:25 +0000
  • 63054db172 Fixed undefined behavior if rigid body was removed as response to the collision event. Lasse Öörni 2012-05-07 20:38:31 +0000
  • 958c489be7 Fixed GCC build. Lasse Öörni 2012-05-07 19:55:48 +0000
  • 1bfcc7e65c Use const references in value parameters. Lasse Öörni 2012-05-07 19:50:12 +0000