Mike3D
e7ff66e6d7
Added 2 Urho2D samples (isometric demo and platformer)
2017-11-23 23:01:50 +13:00
Yao Wei Tjong 姚伟忠
de58ce17a3
Merge branch 'master' of https://github.com/att-kin9/Urho3D into master.
...
Close #2164 .
2017-11-12 17:13:06 +08:00
att-kin9
7ab0d69d0b
Deleted default parameter passed.
2017-11-08 22:49:02 +08:00
att-kin9
29e92fd246
Fixed failing for picking rigidbody.
...
Fixed failing for picking rigidbody on touch devices.
2017-11-07 11:42:03 +08:00
Eugene Kozlov
59391f9523
Source/Tools and Source/Samples automatic upgrade: override, typedef to using, 0 to nullptr.
2017-08-29 11:40:46 +03:00
Lasse Öörni
50fbdbd12e
UIComponent AngelScript API fix, AS example and shutdown crash fix.
2017-08-23 22:02:51 +03:00
Lasse Öörni
df669fbe1b
Restore earlier HelloGUI sample, instead create separate Hello3DUI which demonstrates 3D UI render to texture. Move getting viewport related to scene from Scene to Renderer, so that Scene doesn't have to know about Renderer unnecessarily. Refactor the internal UI render calls related to rendertarget use.
2017-08-23 21:15:56 +03:00
Lasse Öörni
d95aae9477
Merge remote-tracking branch 'rokups/feature/3D-UI'
2017-08-23 19:30:27 +03:00
Lasse Öörni
fece9d6cc4
Fix uninitialized variables in InverseKinematics sample. Closes #2081 .
2017-08-20 12:24:05 +03:00
Rokas Kupstys
6fc2c19baa
More code cleanups.
...
* Moved `UIComponent::GetViewport()` to `Scene` class.
* Simplified resource initialization of `UIComponent` and removed need of overriding `IsEnabled()`.
* Renamed `UIComponent::GetElement()` to `GetRoot()` to be more consistent with UI subsystem.
* Removed ability to set root UI element to `UIComponent`, instead to add UI elements should be added as children to element renturned by `UIComponent::GetRoot()`.
* Cleaned up debug rendering in HelloGUI sample. Debug data is now rendered after pressing F2.
2017-08-20 10:55:58 +03:00
Rokas Kupstys
16ee7e1121
* Changed UIComponent::IsValid()
to overriden UIComponent::IsEnabled()
...
* Separated batches and vertex buffers of normal UI and UI rendered to texture.
* Cleaned up `Render()` method adding additional `surface` parameter to render into. Passing null renders on to screen.
Support for rendering UI to texture.
This change adds support for rendering GUI into a texture. This is achieved by adding `UIComponent` component to `Node`. `UIComponent` overrides material of `Node`'s `StaticModel`. UI subsystem is changed so that batches belonging to UI elements owned by `UIComponent` are rendered into a texture that is also contained in `UIComponent`. Input is handled by UI subsystem, so anything that worked on normal UI will work on UI rendered on to 3D object. This required a minor change for input handling. Previously "screen" was considered surface of entire window. Now screen is considered area of root_element_position + root_element_size. This is fully backwards-compatible.
There is one issue i am unable to solve: since on OpenGL texture coordinates start from bottom-left corner a workaround is needed. Texture is flipped by projection matrix, however it breaks scissor test. I do not know how to properly fix it therefore scissor test is disabled when rendering into texture on OpenGL. Issue is clearly visible when scrolling a `ListView` in `HelloGUI` sample when UI is rendered on to a cube.
Other changes: lua and angelscript bindings, HelloGUI sample can toggle between rendering on screen or rendering on cube, added a ListView to HelloGUI sample window. `UI::DebugDraw()` support.
2017-08-19 20:33:00 +03:00
Eugene Kozlov
ef3b6efd96
Add streaming mode to Lua samples 15_Navigation and 39_CrowdNavigation. Minor changes.
2017-08-08 01:34:57 +03:00
Eugene Kozlov
4403b99cbd
Remove separate navigation streaming samples.
2017-08-08 01:34:57 +03:00
Eugene Kozlov
f84e9d1392
Add streaming mode to C++ samples 15_Navigation and 39_CrowdNavigation . Fix using outdated navigation mesh data for streaming.
2017-08-08 01:34:57 +03:00
Eugene Kozlov
db7d92e419
Fix stuck CrowdAgent-s after NavigationMesh::AddTile.
2017-08-08 01:34:56 +03:00
Eugene Kozlov
6f57b5b4e5
Add events for navigation mesh tile operations. Fix obstacles rendering into newly added tiles.
2017-08-08 01:34:56 +03:00
Eugene Kozlov
214dcc6638
Fix C++98 compilation.
2017-08-08 01:34:56 +03:00
Eugene Kozlov
e85e9d897c
Add support of sparse navigation meshes and dynamic tile management. Add two examples based on 15_Navigation and 39_CrowdNavigation.
2017-08-08 01:34:56 +03:00
Eugene Kozlov
e963e89f47
Copy 15_Navigation and 39_CrowdNavigation samples.
2017-08-08 01:34:56 +03:00
TheComet
4f96c7c29f
Refactoring the 'feature' setters and getters into a single method. Renaming a few things to be more consistent. Adding Documentation
2017-07-28 18:36:57 +02:00
TheComet
4a6d86804e
Fixing bugs, updating script bindings and sample code
2017-07-28 03:42:16 +02:00
Iain Merrick
0450bcd11e
Add configurable oversampling to improve subpixel font rendering ( #1953 )
...
Subpixel-positioned text looks blurry, due to bilinear filtering of the
underlying texture. The basic idea here is to stretch the font glyphs
horizontally to increase the sharpness at subpixel positions. The
stretched images need to be smoothed to avoid aliasing artifacts; this
is done in FontFaceFreeType::BoxFilter().
Glyphs are always pixel-aligned vertically, so no vertical oversampling
is needed.
To make this feature comprehensible (I hope!) I've removed the
'subpixelGlyphPositions' flag and replaced it with a couple of values:
'fontSubpixelThreshold' sets the point at which subpixel positioning
kicks on, and 'fontOversampling' controls the amount of stretching.
The default values are 12pt text and 2x oversampling. These are fairly
conservative settings, which should improve small text without wasting
a lot of memory.
Note that when the font hint level is NORMAL (the default), subpixel
positioning and oversampling are both disabled. So, this feature doesn't
change any default behavior, and applies some hopefully sensible values
if the hint level is set to LIGHT or NONE.
2017-07-03 11:21:47 -05:00
Iain Merrick
e603eed814
Add a 'subpixel glyph positions' option to UI ( #1953 )
...
When this option is enabled, text will be formatted with subpixel
(fractional) positions on the x-axis. Positions on the y-axis are
still pixel-aligned.
Note that this option has no effect if the hinting level is set
to FONT_HINT_LEVEL_NORMAL, as each glyph is rounded to an integral
pixel size by the hinter. It only makes a different if the hinting
mode is LIGHT (vertical hinting only) or NONE.
With subpixel positioning, the output will look blurrier due to
texture filtering. TODO: Add horizontal oversampling to improve
sharpness. That needs extra memory so it should be configurable.
2017-06-20 17:04:56 -05:00
Iain Merrick
1e3a1edd45
Change font size to a float ( closes #1952 )
...
This commit changes the 'pointSize' parameter in Font, Text
and Text3D from an int to a float, allowing e.g. 14.5pt text.
Note that when hinting is enabled, font metrics are snapped
to pixel boundaries, so the effect may be hard to see unless
you also set UI.FontHintLevel to LIGHT or NONE.
This is a change to the public API, but existing code (including
scripts) should compile and run as before.
2017-06-18 22:27:59 -05:00
Lasse Öörni
b9c3199a25
Merge remote-tracking branch 'iainmerrick/font_hinting'
2017-06-17 22:17:59 +03:00
Lasse Öörni
9ef8ac9ba9
Tabs to spaces.
2017-06-17 00:09:05 +03:00
Lasse Öörni
e5dcfdafbb
Merge remote-tracking branch 'dragonCASTjosh/master'
2017-06-17 00:08:03 +03:00
Iain Merrick
282f250e3a
Add UI.FontHintLevel property
...
There are three levels: NORMAL (the default), LIGHT and NONE.
The LIGHT level makes FreeType align font outlines to pixel
boundaries vertically, but not horizontally.
2017-06-15 15:30:28 -05:00
Iain Merrick
a476c43a24
Add a 'Typography' sample program
...
Displays text in various sizes, with checkboxes to play with settings
that affect the way text is rendered:
- Color (white-on-black versus black-on-white)
- Autohinter
- sRGB output conversion (not available on all platforms)
2017-06-13 13:40:22 -05:00
dragonCASTjosh
eebc9f04c3
Fixed sphere light issue
2017-06-13 06:01:59 +01:00
Pengfei Li
d9d98cd35b
restore the commits in Sample.inl
2017-06-07 18:30:49 +03:00
Pengfei Li
353fc4d7b3
Consider the initial position for the borderless window
2017-06-07 18:30:47 +03:00
1vanK
fa767d1dc1
40_Localization: Center mouse on start
2017-05-05 19:39:45 +03:00
Lasse Öörni
d4df1937c8
Line breaks formatting for RaycastVehicle demo code.
2017-04-29 20:33:36 +03:00
Lasse Öörni
13cfad66ef
RaycastVehicle code / comments formatting and AngelScript fix. RegisterRaycastVehicleLibrary function removed and class registration performed as part of Physics library initialization instead.
2017-04-29 20:21:55 +03:00
Sergey Lapin
2eb3a1183a
RaycastVehicle C++ demo code
2017-04-25 13:45:09 +03:00
Yao Wei Tjong 姚伟忠
5b1fdb8852
Also exclude the IK sample when the URHO3D_IK option is disabled.
2017-04-13 17:13:41 +08:00
Yao Wei Tjong 姚伟忠
ec102aadfc
Reorder initialization order to suppress Xcode warnings.
2017-04-08 23:52:44 +08:00
Yao Wei Tjong 姚伟忠
2efbcd570c
Rename "define_resource_files" macro to "define_resource_dirs".
...
Enhance it to take extra arguments for specifiying target-specific resource directories and other extra for Web platform support.
Close #809 .
2017-04-05 18:16:36 +08:00
Yao Wei Tjong 姚伟忠
8c9122ce25
Minor refactoring and cleaning on IK component's code.
2017-04-01 21:28:27 +08:00
Alex Murray
68f8d23411
Fixing issues raised by Mike3D (incorrect offset in sample, exposing auto solve)
2017-03-22 14:23:14 +01:00
TheComet
327965a40c
Fixing build on windows, fixing segfault in release builds
2017-03-22 02:15:32 +01:00
TheComet
8fc0aa2866
Lua script bindings and CPP sample
2017-03-21 15:56:47 +01:00
TheComet
2be9286d38
Wrote AngelScript bindings, I'm still considering renaming a few things here and there
2017-03-21 15:56:47 +01:00
Enhex
516fcf18e5
Updated sound effects sample to use SetAutoRemoveMode() instead of nodes.
2017-03-14 23:58:59 +02:00
Lasse Öörni
2821837f2a
Remove zero damping from Urho2DConstraints sample to eliminate jittering behavior. Closes #1816 .
2017-02-11 15:33:09 +02:00
Mateus Vendramini
78b77ed48f
Fixing small typos in comments
2017-02-05 17:33:01 -02:00
Lasse Öörni
11f099c655
Minor style edits. Use position instead of iterator in autocomplete to be safe against iterator invalidation. Add Lua binding to autocomplete. Add short description of the new feature being demonstrated in sample 26.
2017-01-01 22:35:16 +02:00
Enhex
f0e05cb7e1
Console auto complete
2017-01-01 22:35:14 +02:00
urho3d-travis-ci
ee054a1507
Travis CI: bump copyright to 2017.
...
[ccache clear]
2017-01-01 13:01:31 +00:00
1vanK
9d7dceb2f2
06_SkeletalAnimatin: fix running out bounds, lighting correction
...
Fix excessive specular on Kachujin texture
2016-12-30 13:58:41 +03:00
Lasse Öörni
299dbf803b
Squashed commit of the following:
...
commit 8b67f0edcb9b588c70df1676bdbfa4853e50c3aa
Author: Lumak <lumak5309@gmail.com>
Date: Thu Dec 29 10:18:40 2016 -0800
corrected to stonetiled mat
commit c17d68b1e0ed5435c492a26ed8010c4f4aa708eb
Author: Lumak <lumak5309@gmail.com>
Date: Thu Dec 29 10:14:20 2016 -0800
removed proto mat/texture
commit 1c322d19556d7796c4958a920203e5b1c80af843
Author: Lumak <lumak5309@gmail.com>
Date: Wed Dec 28 12:18:59 2016 -0800
replaced the Jack with Jill in 06_SkeletalAnimation sample
2016-12-29 20:39:28 +02:00
Lasse Öörni
fef73ba4c4
Squashed commit of the following:
...
commit 06f4d6afab933e32eaf3428dd080766b11a87f82
Author: Lasse Öörni <loorni@gmail.com>
Date: Sun Dec 18 18:31:39 2016 +0200
Black variant of logo.
commit 8fa11f888de023fcc76f26908e2ea77ebfd3146b
Author: Lasse Öörni <loorni@gmail.com>
Date: Sun Dec 18 17:12:14 2016 +0200
New logo in Lua samples.
commit 1283e38db1164a1c1e5db7d1042feabf996031fb
Merge: 4062553
4f5a2ea
Author: Lasse Öörni <loorni@gmail.com>
Date: Sun Dec 18 16:51:04 2016 +0200
Merge remote-tracking branch 'Modanung/new-logo'
commit 4f5a2ea104feeac12b87d3fb89d116e1866c2513
Author: Modanung <frode@lindeijer.nl>
Date: Sun Dec 18 05:36:37 2016 +0100
Also replaced logo in angelscript samples
commit 7c6e5e90c4dc82705883806e46b0957a44fbc787
Author: Modanung <frode@lindeijer.nl>
Date: Sun Dec 18 03:34:31 2016 +0100
Changed logo in samples to fishbone logo
2016-12-18 18:48:39 +02:00
Lasse Öörni
f65ca809e2
Merge remote-tracking branch '1vanK/master'
2016-12-10 15:22:28 +02:00
1vanK
2a703a5ab1
Add engine parameters const
2016-12-10 08:18:18 +03:00
Yao Wei Tjong 姚伟忠
f1d1b757b8
Change all CMakeLists.txt to use LF for consistency sake.
2016-12-05 22:33:59 +08:00
Yao Wei Tjong 姚伟忠
b2af56a14b
Minor bug fixes.
2016-11-20 01:24:10 +08:00
Johnathan Jenkins
d78fc4020f
minor typos
2016-10-28 13:07:14 -07:00
Lasse Öörni
20af1aa85f
Demonstrate listing the vertex + index buffers to Model so that it can be saved correctly. Lua bindings not added for now due to problem with serializing a vector of object pointers. Closes #1638 .
2016-10-10 15:44:31 +03:00
1vanK
bba9766c66
39_CrowdNavigation: animation sync
2016-09-14 11:24:20 +03:00
Lasse Öörni
8bef941082
Fix slowed down navigation crowd agent when node dirtied in E_CROWD_AGENT_NODE_REPOSITION. Send the event only after position has been updated. Check for only rotation changing when node dirtied, and do not update position / reset state in that case. Closes #1548 .
2016-08-31 12:41:10 +03:00
Lasse Öörni
b3964e21c5
Demonstrate Z fighting elimination by depth bias in 10_RenderToTexture sample. Closes #1543 .
2016-08-30 21:21:10 +03:00
Lasse Öörni
98a3c8d49a
Remove Abs() from NinjaSnowWar & CharacterDemo ground contact handling to prove that we can check for normals pointing up to detect ground.
2016-08-17 23:52:13 +03:00
Lasse Öörni
9f3e5e9cbb
Squashed commit of the following:
...
commit da349be28508316a690086f5f8cec4be80d4a0a9
Author: Lasse Öörni <loorni@gmail.com>
Date: Tue Aug 16 21:40:50 2016 +0300
Convert mutant textures to .jpg to conserve repository size.
commit 086bfd662631df30bbad033b8be967b04db44f0b
Merge: 84e5da6
d135d76
Author: Lasse Öörni <loorni@gmail.com>
Date: Tue Aug 16 21:38:44 2016 +0300
Merge remote-tracking branch 'Lumak/master'
commit d135d760460e1bc925b1a3ea6a14a9d7ed5e8283
Author: Lumak <lumak5309@gmail.com>
Date: Tue Aug 16 10:01:53 2016 -0700
replaced char model w/ mutant model in 18 char demo lua,
commit 9255fd76e5393b636f2c32d33dce99c00caa555a
Author: Lumak <lumak5309@gmail.com>
Date: Mon Aug 15 16:08:39 2016 -0700
replaced jack model w/ mutant model in 18 character demo
2016-08-16 21:45:17 +03:00
Lasse Öörni
0991c8e078
Ensure node's components are properly marked for network update in case node is late added to the scene. Make it impossible for a NetworkState to exist without properly allocated currentValues & previousValues. Fix erroneous comment in C++ version of SceneReplication sample. Code cleanup & minor optimization. Closes #1511 .
2016-08-09 22:38:35 +03:00
Yao Wei Tjong 姚伟忠
b99f652892
Minor refactoring on the event profiler subsystem.
2016-08-05 17:43:30 +08:00
Mike3D
ef6284c938
Fixed mouse mode for sample #36 [ci skip]
2016-08-03 08:15:34 +02:00
Lasse Öörni
812afaeb8f
Fix PBR material demo to operate similarly on AS, Lua, C++. Remove forcing of alpha to 1 from Zone::SetAmbientColor() & Zone::SetFogColor(). Change "Enable HDR" to "HDR rendering" in editor settings dialog for consistency.
2016-07-29 16:44:57 +03:00
Lasse Öörni
77cabf9bff
Remove "PS" from Roughness & Metallic uniform names.
2016-07-25 01:39:15 +03:00
Lasse Öörni
dfd8939840
Squashed commit of the following:
...
commit 5de699c5399847dfad99a58323590f88436e1f68
Merge: d80b1d9 97c5fbf
Author: dragonCASTjosh <NUT13000804@students.wnc.ac.uk>
Date: Sun Jul 24 18:28:50 2016 +0100
Merge pull request #4 from hdunderscore/tweaks2
Tweaks2
commit 97c5fbfe515a1c1ae86b059d86694a9f2c053ce6
Author: hdunderscore <hdunderscore@gmail.com>
Date: Sun Jul 24 22:50:11 2016 +1000
- Removed inconsistency with roughness input.
- Switched to a different mip map selection method for the IBL.
- Extended the angelscript PBR sample to include a slider for ambient HDR scaling.
- Removed an extra diffuse factor in lighting output.
commit d80b1d9b3c00a04e837324af1546f407311803fd
Merge: 53603fd 7f77574
Author: joshua Nuttall <dragoncastjosh@live.com>
Date: Fri Jul 22 23:00:59 2016 +0100
Merge branch 'pulls/2'
commit 7f775749a9229f5b8f1d313a2c72a88acc001b11
Merge: 53603fd b339da6
Author: joshua Nuttall <dragoncastjosh@live.com>
Date: Fri Jul 22 22:57:26 2016 +0100
Tweaks
# Conflicts:
# bin/CoreData/Shaders/GLSL/Lighting.glsl
# bin/CoreData/Shaders/HLSL/Lighting.hlsl
# bin/Data/Scenes/PBRExample.xml
commit 53603fd7165fb90c485d6fd85e2d4c41e3e86213
Merge: f88b484 a21746f
Author: joshua Nuttall <dragoncastjosh@live.com>
Date: Wed Jul 20 22:52:41 2016 +0100
Merge remote-tracking branch 'origin/master'
commit f88b48441965d5dbcee8667282e879c93bc31577
Author: joshua Nuttall <dragoncastjosh@live.com>
Date: Wed Jul 20 22:49:43 2016 +0100
Fixed Inverse Square falloff and correction mistake with output color
commit a21746f5e2b540e4dae952e181d000dd8e8101f4
Merge: 89688e8 c33f75a
Author: dragonCASTjosh <NUT13000804@students.wnc.ac.uk>
Date: Wed Jul 20 22:28:17 2016 +0100
Merge pull request #3 from 1vanK/master
Modify PBR example
commit c33f75a78369760ace1f817e9c8ed288a0418a30
Author: 1vanK <1vanK@users.noreply.github.com>
Date: Thu Jul 21 00:16:05 2016 +0300
Labels
commit efa757e0ee39daf4a4e03714828677e79ae5e4e2
Author: 1vanK <1vanK@users.noreply.github.com>
Date: Wed Jul 20 17:14:06 2016 +0300
Dynamic material in PBR example
commit b339da6fc992e49d1e4139d836654c8ce6befa24
Author: hdunderscore <hdunderscore@gmail.com>
Date: Thu Jul 21 00:09:47 2016 +1000
- Adjusted light falloff.
- Enabled HDR rendering in PBRMaterials.cpp
commit b233da5ccad3c1898a1f459bbc59459be525a16f
Author: 1vanK <1vanK@users.noreply.github.com>
Date: Wed Jul 20 14:25:59 2016 +0300
Remove unnecessary texture
commit ede652fcf39135350725c7eda5c6c9324ffb0c0a
Author: hdunderscore <hdunderscore@gmail.com>
Date: Wed Jul 20 15:49:27 2016 +1000
Added missing xml's.
commit fd1b187f09f4478bd32375e4ca13900b6ec59f49
Author: hdunderscore <hdunderscore@gmail.com>
Date: Wed Jul 20 15:13:47 2016 +1000
Minor fix to diffuse ibl calculation.
commit 1cee2d27e8abd69fe6f77d41e2a0d27dcac8624b
Author: hdunderscore <hdunderscore@gmail.com>
Date: Wed Jul 20 10:55:58 2016 +1000
Changed the hdr scaling to be more versatile.
commit 35623b758b1e199116b1ba9594afeb3d1ecef7ba
Author: hdunderscore <hdunderscore@gmail.com>
Date: Wed Jul 20 09:27:46 2016 +1000
- Fixed gamma correction
- Added fake hdr to IBL and skybox which can be controlled via the zone ambient colour alpha channel.
commit 89688e81424eea030e5329cbd9d59b094ee02183
Author: joshua Nuttall <dragoncastjosh@live.com>
Date: Tue Jul 19 21:17:30 2016 +0100
Renived unlicenced files
commit 70f39b0a40b50f317aef101ce29950185a2ee7e3
Author: joshua Nuttall <dragoncastjosh@live.com>
Date: Tue Jul 19 14:21:38 2016 +0100
Removed gamma correction from PBR demo
commit 451f45c4d2ed360179640af31eabdf74b3673c6f
Author: joshua Nuttall <dragoncastjosh@live.com>
Date: Tue Jul 19 14:20:32 2016 +0100
Added legacy BRDF for GL
commit 87316006297df9dda94178f7ab81f663862553a8
Author: joshua Nuttall <dragoncastjosh@live.com>
Date: Tue Jul 19 14:17:02 2016 +0100
Added diffuse ibl and legacy features
commit 9f0fb0eaca4a53e49caf65661edfb9d85fe1b880
Merge: 1883a4c 4230e43
Author: joshua Nuttall <dragoncastjosh@live.com>
Date: Tue Jul 19 10:36:08 2016 +0100
Merge remote-tracking branch 'origin/master'
commit 1883a4c42f228306dd723098869281a7025b5987
Author: joshua Nuttall <dragoncastjosh@live.com>
Date: Tue Jul 19 10:34:47 2016 +0100
Changed model on the demo scene
commit 4230e4328d6ef47808a85f1b231f5116d8b99437
Merge: 900f203 607ab5c
Author: dragonCASTjosh <NUT13000804@students.wnc.ac.uk>
Date: Tue Jul 19 00:07:17 2016 +0100
Merge pull request #1 from Modanung/typo-fix
Changed n to m in PBR example scene
commit 607ab5c414749f3d2dd85f2b7c441525b94a8fa3
Author: Frode Lindeijer <frode@lindeijer.nl>
Date: Tue Jul 19 00:41:34 2016 +0200
Changed n to m in PBR example scene
commit 900f20316da833868e6274aa7e7de01502a2a357
Author: joshua Nuttall <dragoncastjosh@live.com>
Date: Mon Jul 18 22:19:17 2016 +0100
Fixed reverted changes
commit 49cc201a1e0956db82b1103d23b3a4059cacd374
Author: joshua Nuttall <dragoncastjosh@live.com>
Date: Mon Jul 18 21:58:36 2016 +0100
PBR Rewrite
commit 262e18c71c08a5bade990f6ead0fd356732c38ee
Author: joshua Nuttall <dragoncastjosh@live.com>
Date: Mon Jul 18 21:48:28 2016 +0100
Complete rewrite of PBR
commit b97469b2ab73deca0613d1963500f223a5956bf9
Author: joshua Nuttall <dragoncastjosh@live.com>
Date: Sun Jul 17 09:49:52 2016 +0100
Dissabled nolonger needed post processed gamma correction
commit 6e4ec5b4cdaba58678a21b8a90138eb2b8a5e9d4
Author: joshua Nuttall <dragoncastjosh@live.com>
Date: Sun Jul 17 09:48:53 2016 +0100
Fixed rendering issue in DirectX
commit fd57ed2bea5caad1fff65e35abfe65b227ddb13a
Author: joshua Nuttall <dragoncastjosh@live.com>
Date: Sat Jul 16 21:39:48 2016 +0100
Fixed Spelling errors
commit 3dad639d48aee0d4d3a17ecd8d35f732b796d938
Author: joshua Nuttall <dragoncastjosh@live.com>
Date: Sat Jul 16 21:35:09 2016 +0100
Made GGX distrabution physically correct
commit ffda95b2df1e042d8cef611add06989c5a0fd862
Author: joshua Nuttall <dragoncastjosh@live.com>
Date: Sat Jul 16 21:20:20 2016 +0100
Removed redundent textures
commit 283f389951b0e29a2f3a6b445dfc3cab0e59920c
Merge: 7bbb0f6 ca6d6e5
Author: joshua Nuttall <dragoncastjosh@live.com>
Date: Sat Jul 16 19:34:26 2016 +0100
Merge branch 'master' of https://github.com/urho3d/Urho3D
commit 7bbb0f68bb1c8f0fa5ccf39475a5997e82c18b62
Author: joshua Nuttall <dragoncastjosh@live.com>
Date: Sat Jul 16 18:57:49 2016 +0100
PBR Gamma correctoin, and small prefernace changes to the demo scene
2016-07-25 00:54:21 +03:00
Mike3D
238f09c53d
Fixed TileMap2D::PositionToTileIndex() and use it in tile map sample
2016-07-18 13:18:57 +02:00
Yao Wei Tjong 姚伟忠
fd9db884b4
Add template version of UIElement::GetChild() methods.
2016-07-11 19:17:52 +08:00
Yusuf Umar
a9f7703f74
Add update invisible parameter to RibbonTrail and use it on the samples.
2016-06-16 18:09:09 +07:00
Yao Wei Tjong 姚伟忠
239c0265a0
Fix a typo in RibbonTrail's attribute and other minor cleanups.
2016-06-16 13:28:02 +08:00
Lasse Öörni
f6d413aee4
Minor comment and code convention edits.
2016-06-15 21:14:59 +03:00
Yusuf Umar
f9e65027e3
Implementing RibbonTrail
2016-06-15 21:14:58 +03:00
Yao Wei Tjong 姚伟忠
eff1cd46b9
Sort samples list, just for consistency sake.
2016-06-11 20:43:33 +08:00
Yao Wei Tjong 姚伟忠
1243d8bcda
Regex replace all the uppercase key bindings with their constants.
2016-06-11 02:56:39 +08:00
Yao Wei Tjong 姚伟忠
9345cff42e
Remove custom memory adjustment as the default is set to 128 MB now.
2016-06-05 13:17:28 +08:00
Lasse Öörni
a794f9e59b
Prefer key constants instead of ascii codes in keydown/keypress checks. (AngelScript & C++)
2016-05-30 20:45:13 +03:00
cosmy
b057434bfa
Make escape key name consistent between keycode and scancode.
2016-05-27 13:27:53 +02:00
Yao Wei Tjong 姚伟忠
d2fe7b1228
Remove "z" shortcut for console (consistent with scripting samples).
2016-05-25 16:39:50 +08:00
Lasse Öörni
2ea850ff14
Do not compile HttpRequestDemo sample if URHO3D_NETWORK is not defined. Fix HttpRequest class Lua bindings to not inherit Deserializer to avoid crash, instead expose read functions manually like File does. Fix string concatenation in HttpRequestDemo lua code.
2016-05-23 20:37:02 +03:00
cosmy
2b1118528b
Simplify sample code.
2016-05-23 17:16:15 +02:00
cosmy
c2128e054e
Clean C++ sample and add Lua version.
2016-05-23 14:35:06 +02:00
cosmy
e8d0d60a98
Fix Clang compilation errors.
2016-05-23 14:14:49 +02:00
cosmy
bdb5035eb4
Add C++ Http Request demo sample.
2016-05-23 13:01:04 +02:00
1vanK
d6f5f5d45c
Fix gold coin animation
2016-05-11 11:27:29 +03:00
Lasse Öörni
a955725bd0
Add the interpolation mode IM_NONE to ValueAnimation. Add animating UI element to LightAnimation example. Add ResourceRef constructor that takes type & name as strings for easier script bindings.
2016-05-09 22:38:06 +03:00
Lasse Öörni
31e57e01fb
Add PBR sample C++ version.
2016-05-01 13:41:18 +03:00
Yao Wei Tjong 姚伟忠
a15abf5068
Avoid hard-coding of the sample list in the build script.
2016-04-27 12:23:35 +08:00
Yao Wei Tjong 姚伟忠
87f408be51
For CI - avoid hard-coding of the sample list in the build script.
...
Switch the build output verboseness to normal as the diagnostic mode also does not help to reveal any additional information on the crowd navigation sample when it segfaulted during test.
2016-04-26 13:25:45 +08:00
Lasse Öörni
44133d00d9
Fix typo.
2016-04-11 00:35:41 +03:00
Lasse Öörni
644eecfa7d
Demonstrate defining non-legacy vertex elements in the DynamicGeometry C++ & AngelScript examples.
2016-04-10 15:37:48 +03:00
hdunderscore
467c4bd4e8
- Updated sample mouse mode setup.
...
- (Web) Removed some of the exit engine logic.
2016-03-27 20:01:22 +11:00
hdunderscore
54565005e2
Updated HTML5 behavior of the samples, mouse modes and UI cursor.
...
Updates:
- Exposed a new method to determine whether the mouse pointer is confined to window.
- E_MOUSEMODECHANGED now has a new parameter, P_MOUSELOCK, indicating whether the mouse pointer is locked.
- MM_ABSOLUTE now behaves more closely to the desktop equivalent (web)
- Changed some samples to use different mouse movement methods as test cases.
- Input class: suppressNextMouseMove_ now suppresses all movements within the tick.
- Added script bindings for the Input class changes.
- On Web platform, removed event polling and instead use event callbacks, allowing pointer-lock requests to occur in browser events.
Bug fixes:
- Fixed mouse jumps on entering and exiting pointer-lock (web)
- Fixed a bug that caused the UI cursor and OS cursor to fall out of sync (web)
- Fixed a bug that could allow pointer-lock to be acquired after a different mouse mode was requested. (web)
- Prevent most samples from exiting on Web platform
- Reverted previous fix to web platform touch events, as upstream SDL has corrected the corresponding bug.
2016-03-23 01:52:12 +11:00
rikorin
51c7a94a04
Type mismatch in vehicle sample code
2016-03-21 13:18:42 +05:00
Yao Wei Tjong 姚伟忠
06bcfbeb7b
Fix all the cross-compiling builds due to bugs in SDL CMakeLists.txt.
...
Fix SDL library build on Web platform.
2016-03-16 01:45:08 +08:00
Yao Wei Tjong 姚伟忠
ccf6648eb3
Utilize new SDLActivity's get arguments feature.
2016-03-16 01:42:01 +08:00
Lasse Öörni
d9a295a595
Re-enable the unsigned/signed mismatch warning. Code cleanup.
2016-03-06 15:10:34 +02:00