Commit Graph

9612 Commits

Author SHA1 Message Date
Lasse Öörni
04f5ab2271 Fixed Zone's isInside() test. 2011-04-08 17:53:07 +00:00
Lasse Öörni
f0fecccacb Removed unused Matrix operations.
Optimized defining a Matrix4x3 transform.
2011-03-20 15:23:37 +00:00
Lasse Öörni
d8f7e6a688 Renamed Quaternion definition methods to define() to match the convention of Matrix, BoundingBox etc. 2011-03-20 13:58:24 +00:00
Lasse Öörni
61f9f5e38c Added matrix decomposition and construction of quaternion from a rotation matrix. 2011-03-20 13:36:08 +00:00
Lasse Öörni
7b8b7d9fd5 Fixed invisible animated objects always updating. 2011-03-20 10:43:09 +00:00
Lasse Öörni
1009db5487 Optimized light prepass to use only the g component of light shape texture for specular strength. 2011-03-15 07:54:43 +00:00
Lasse Öörni
7b5c761d20 Fixed erroneous specular lighting outside the light cone in prepass rendering. 2011-03-15 00:02:20 +00:00
Lasse Öörni
8659977c52 GCC fixes. 2011-03-14 23:47:24 +00:00
Lasse Öörni
9d9d7ec870 VS2010 fixes. 2011-03-14 22:53:48 +00:00
Lasse Öörni
bdf76d2445 Refactored ScriptInstance recreation when the ScriptFile is reloaded. Now it uses events. Same system used also for CollisionShapes and Models to ensure proper reloading.
Added possibility to get primitive & batchcount from the Pipeline. This will only include the actual 3D scene statistics, not UI or debug geometry.
Fixed import of model in the editor in case the Models subdirectory did not exist yet.
Fixes to handling of root derived transforms in AssetImporter.
Renamed the NinjaSnowWar scene.
2011-03-14 22:29:07 +00:00
Lasse Öörni
c593231dae Editor documentation update. 2011-03-14 07:40:37 +00:00
Lasse Öörni
480e0a07c1 Save/load editor settings.
Support for stop() function in the Urho3D Shell. This will be run at application exit.
2011-03-14 07:32:22 +00:00
Lasse Öörni
eb319a77c9 Added octree debug display to NinjaSnowWar. 2011-03-13 23:54:14 +00:00
Lasse Öörni
bb39d663c9 Camera settings dialog expanded to be a general editor settings dialog.
Added object move/rotate/scale by ctrl + arrow keys.
Math script API additions.
Merged the license texts of different libraries into License.txt.
2011-03-13 23:43:45 +00:00
Lasse Öörni
3b386cea6c Fixed NinjaSnowWar enemy aiming. 2011-03-13 19:04:04 +00:00
Lasse Öörni
23152b4d58 Improved asset import directly invokable from the editor.
Fixed octree octants not always getting deleted when empty.
Fixed memory corruption when closing the file selector with the buttons.
API improvements.
Doxygen documentation fixes.
2011-03-13 18:17:26 +00:00
Lasse Öörni
a3150b5f11 Fixed lockup in removeResourcePath().
Fixed editor UI element priorities.
Added closebutton to the file selector.
Menus with popup activate from mouse press, not release.
Editor status display is split on two rows if width is less than 1024.
Increased default resolution to 800x600.
Removed test UI layouts.
2011-03-11 21:04:20 +00:00
Lasse Öörni
1f5d0e69a1 Skip physics collisionshape reloading, which causes crash at the moment. 2011-03-11 03:46:50 +00:00
Lasse Öörni
d0a73ddd25 Added twosided default materials.
Added simple "avatar" demo (character movement without NinjaSnowWar game)
Fixed masked shadowcaster material.
API fixes & additions.
Rudimentary Tundra (.txml) scene import option in the editor.
2011-03-11 03:29:07 +00:00
Lasse Öörni
0840721ef0 More editor features.
Added F5-save to both GraphicsTest & script-remake of NinjaSnowWar.
Clamped cascaded shadows far distance to camera far clip.
Fixed "live" octree resize.
Fixed wrong savefile extension in documentation and some code, .dat is the proper extension.
2011-03-10 22:48:56 +00:00
Lasse Öörni
7d51c583a8 Entity & component cut/copy/paste.
Entity & component data is now displayed in the same window (though entity only displays its name.)
Smoother edits for numeric values.
Minor API improvements.
Changed UI & render update order, so that deleting entities or the whole scene inside UI event handling does not result in a crash.
2011-03-10 20:06:48 +00:00
Lasse Öörni
02ffc5801c Component enum & resource editing.
API improvements & fixes.
2011-03-10 16:26:29 +00:00
Lasse Öörni
803953f41c Added choose resource path & reload resources functionality to editor.
Fixed menu accelerators.
2011-03-10 07:28:34 +00:00
Lasse Öörni
52ea7484d3 Drag and drop operations for moving components and reparenting scene nodes.
Added prevention of assigning self as a child in Node & UIElement.
2011-03-09 22:29:53 +00:00
Lasse Öörni
05edd77856 Fixed toggling child item visibility. 2011-03-09 14:00:47 +00:00
Lasse Öörni
d04a135ce5 Fix UI element drag outside window.
Enable console in the editor.
2011-03-09 13:04:40 +00:00
Lasse Öörni
24a76f7d99 Notice when the scene has been modified. 2011-03-09 09:36:26 +00:00
Lasse Öörni
5707722337 Editor fixes and cleanup. Handle changing amount of component attributes as a result of edit.
API improvements.
Minor scene XML format changes to accomodate editing.
2011-03-09 08:27:06 +00:00
Lasse Öörni
e2335ec26e Initial component editing.
API improvements & fixes. Drawing the debug geometry is manual again.
2011-03-09 01:27:24 +00:00
Lasse Öörni
9d8228f55c Registered Node::getChildren() to script.
Proper handling of child nodes in scene hierarchy window.
2011-03-08 15:59:22 +00:00
Lasse Öörni
781a1681cf Initial scene hierarchy view in the editor.
Script API additions & fixes.
2011-03-08 07:50:33 +00:00
Lasse Öörni
d7b57c45f2 Missing file. 2011-03-07 21:20:49 +00:00
Lasse Öörni
a7b269d79f Added camera settings dialog.
Respect fixed size when updating layout.
2011-03-07 21:20:19 +00:00
Lasse Öörni
5a4957b7a3 Added debug geometry drawing to Octree.
Added possibility to insert UI child elements at any position.
2011-03-07 20:21:52 +00:00
Lasse Öörni
e43c591f6e Added Renderer::setWindowTitle().
Added accelerator key support to menus.
UI bugfixes.
Changed binary scene extension to bin.
2011-03-07 07:59:45 +00:00
Lasse Öörni
bec3a65ee3 Fixed UIElement priority bug when bringing element to front and no elements to compare to. 2011-03-07 01:00:06 +00:00
Lasse Öörni
5c98ad85df Initial file menu in the editor.
Added getFilterIndex() to FileSelector. 
Popup menus hide themselves when another unrelated element focused.
2011-03-07 00:13:17 +00:00
Lasse Öörni
1f0bfd8b76 Moved to FreeType font rendering. 2011-03-06 22:44:27 +00:00
Lasse Öörni
ec327701e5 Initial skeleton of the scene editor.
Font scaling/positioning fixes.
API improvements.
2011-03-06 19:09:36 +00:00
Lasse Öörni
a31265fb65 Further input fixes.
Added getAttributeNames() to XMLElement.
Renamed EVENT_WINDOWRESIZED to EVENT_SCREENMODE.
Renamed EVENT_MOUSEMOVE delta & position parameters.
2011-03-06 11:17:32 +00:00
Lasse Öörni
c42dfa060d Added application activation & deactivation events.
Fixed mouseclick in wrong position when application reactivated in non-confined mode.
2011-03-06 01:23:23 +00:00
Lasse Öörni
962c4ec9a7 Input bugfixes. Enabled mouse move also in non-confined mode and removed the EVENT_MOUSEPOS event. 2011-03-06 01:07:56 +00:00
Lasse Öörni
1eb8498291 Added systemOpenFile() function, which will open a file in an external program.
Added non-confined mouse cursor mode.
Added Input functionality, such as setting the operating system cursor position manually.
2011-03-06 00:34:03 +00:00
Lasse Öörni
cb326b7fdf Fixed quaternion to Euler conversion and changed its signature.
Added save function to CollisionShape.
Exposed entity properties & UI element userdata directly as a map property.
Exposed Material::save() to script.
In Urho3D Shell, try to load the script or scene first from resource directories or packages, then from the filesystem.
2011-03-05 19:03:27 +00:00
Lasse Öörni
2b1bfa75f6 Register readID() & writeID() to script. 2011-03-04 22:36:36 +00:00
Lasse Öörni
f9ef9957b7 Added four-byte identifiers to binary files.
Fixed point light shape texture when used with shadows.
Removed direction from Light. Instead scene nodes now have setDirection(), which sets the node rotation from a vector.
2011-03-04 22:31:08 +00:00
Lasse Öörni
609422cc81 Initial masked pointlight support. 2011-03-04 16:38:01 +00:00
Lasse Öörni
3ca81fd464 Added support for colored spotlight texture. 2011-03-03 22:01:40 +00:00
Lasse Öörni
97d3e56a1f Split data files to Data & CoreData. CoreData contains the bare necessary files needed to run, like shaders and default materials.
Added systemCommand() function.
Added file extensions to ignore in PackageTool.
Optimized Console text update.
Cleaned up ShaderCompiler code.
2011-03-03 21:08:27 +00:00
Lasse Öörni
d33562e87a Fixed UI layout bugs. 2011-03-03 13:49:10 +00:00