Commit graph

156 commits

Author SHA1 Message Date
Juan Linietsky f00f4b9296 CollisionPolygon (3D)
Workaround for round() on PC.
2014-09-16 21:19:54 -03:00
Juan Linietsky 642c63319e Camera Fixes
-=-=-=-=-=-=

-Object Picking and orthogonal camera related functions fixed (i hope)
-Going to preview mode in the camera shows a frame with the correct game aspect ratio
-Changed Camera API and properties a little t make it more straightforward
-Fixed bug in shader compiler.

-Fixed bug in ShaderGL
2014-09-15 20:06:37 -03:00
Juan Linietsky 8cab401d08 3D Physics Rework, Other Stuff
-=-=-=-=-=-=-=-=-=-=-=-=-=-

3D Physics:
-Fixed "Bounce" parameter in 3D
-Fixed bug affecting Area (sometims it would not detect properly)
-Vehicle Body has seen heavy work
-Added Query API for doing space queries in 3D. Needs some docs though.
-Added JOINTS! Adapted Bullet Joints: and created easy gizmos for setting them up:
   -PinJoint
   -HingeJoint (with motor)
   -SliderJoint
   -ConeTwistJoint
   -Generic6DOFJoint
-Added OBJECT PICKING! based on the new query API. Any physics object now (Area or Body) has the following signals and virtual functions:
    -input_event (mouse or multitouch input over the body)
    -mouse_enter (mouse entered the body area)
    -mouse_exit (mouse exited body area)
   For Area it needs to be activated manually, as it isn't by default (ray goes thru).

Other:

-Begun working on Windows 8 (RT) port. Compiles but does not work yet.
-Added TheoraPlayer library for improved to-texture and portable video support.
-Fixed a few bugs in the renderer, collada importer, collada exporter, etc.
2014-09-15 11:33:30 -03:00
Juan Linietsky 1a2cb755e2 3D Physics and Other Stuff
-=-=-=-=-=-=-=-=-=-=-=-=-=

-New Vehicle (Based on Bullet's RaycastVehicle) - Vehiclebody/VehicleWheel. Demo will come soon, old vehicle (CarBody) will go away soon too.
-A lot of fixes to the 3D physics engine
-Added KinematicBody with demo
-Fixed the space query API for 2D (demo will come soon). 3D is WIP.
-Fixed long-standing bug with body_enter/body_exit for Area and Area2D
-Performance variables now includes physics (active bodies, collision pairs and islands)
-Ability to see what's inside of instanced scenes!
-Fixed Blend Shapes (no bs+skeleton yet)
-Added an Android JavaClassWrapper singleton for using Android native classes directly from GDScript. This is very Alpha!
2014-09-02 23:13:40 -03:00
Juan Linietsky 2ee4ac183b Little Bits
-=-=-=-=-=-

-Fixed small bugs all around
-Added ability to show/hide entire sections of the spatial (3D) tree
-WIP new vehicle (not ready yet) based on Bullet
2014-08-14 10:31:38 -03:00
reduz 2693a883fa Merge pull request #595 from marynate/PR-fix-view-grid
Fixed #470 View grid toggle in 3d not working
2014-08-14 10:30:20 -03:00
tnt e0f37da057 ERR_FILE_CANT_READ -> ERR_FILE_CANT_WRITE 2014-08-13 22:31:50 +02:00
Juan Linietsky 678948068b Small Issues & Maintenance
-=-=-=-=-=-=-=-=-=-=-=-=-=

-Begin work on Navigation Meshes (simple pathfinding for now, will improve soon)
-More doc on theme overriding
-Upgraded OpenSSL to version without bugs
-Misc bugfixes
2014-08-01 22:10:38 -03:00
marynate f5c56f4a3d Make sure View Grid state saved with scene state 2014-07-15 15:07:29 +08:00
marynate e55ef57f62 Fixed #470 View grid toggle in 3d not working 2014-07-15 13:29:36 +08:00
Juan Linietsky 9ff6d55822 Polygon2D
-=-=-=-=-

Another gift for those who make 2D games:
-Edit polygons, concave or convex, color them, texture them and uv-map them
-Corresponding editor
-Can have a custom pivot, so they are compatible with bones and IK
2014-07-07 17:44:21 -03:00
Juan Linietsky 3d68949a1c 2D Animation Improvements
-=-=-=-=-=-=-=-=-=--=-=-=

-Ability to set 2D nodes as bones
-Abity to set 2D nodes as IK chains
-2D IK Solver
-Improvements in the UI for adding keyframes (separate loc,rot,scale buttons)
2014-07-06 11:49:27 -03:00
reduz a5af2971bb Merge pull request #504 from marynate/PR-pm-filter
Add project list filter for easy finding projects
2014-07-02 10:55:15 -03:00
marynate 0eed04904c Forgot to add SceneTreeDock::set_selected change in last PR 2014-07-02 15:34:46 +08:00
marynate 87d27bb997 Fixed when opening sub-scene by pressing sub-scene icon in scene tree, tab changed to script tab 2014-06-30 23:01:23 +08:00
marynate 002db0b125 Fix ERROR: FileAccessWindows::_get_modified_time: Method/Function Failed on windows due to accessing modifiled time of internal resource when editor gaining focus 2014-06-30 13:28:16 +08:00
Juan Linietsky 01632a824e Bug Fixes
-=-=-=-=-

-Documentation now shows overridable theme values (though this needs to be documented).
-Detect when object transform is flipped and flip normals too.
-TileMap can specify bounce and friction for collision.
-Removed limit of 4 lights per object
-Added is_hovered() to buttons.
2014-06-29 22:41:02 -03:00
reduz ae5b064427 Merge pull request #542 from marynate/PR-fix-resource-name-update
Fixed resource name not updated when saved in resurce dock
2014-06-29 19:07:33 -03:00
reduz 4dc7b0f3b8 Merge pull request #546 from marynate/PR-fix-pin-project-segfault
Fix #526 segfault when pinning projects
2014-06-29 19:04:46 -03:00
Juan Linietsky 8ffc113b70 Missing name on collada-imported materials 2014-06-28 09:50:20 -03:00
Juan Linietsky 2af2a84a03 Misc Fixes
==========

-NOTIFICATION_WM_QUIT fixed on android (seems tha way this is reported changed in newer sdk)
-WIP implementation of APK Expansion APIs for publishing games larger than 50mb in Play Store
-Feaures in the new tutorials are all present in the sourcecode
-This (hopefully) should get rid of the animation list order getting corrupted
-Improved 3D Scene Importer (Skeletons, Animations and other stuff were not being merged). Anything missing?
-In code editor, the automatic syntax checker will only use file_exists() to check preload() else it might freeze the editor too much while typing if the preload is a big resource
-Fixed bugs in PolygonPathFinder, stil pending to do a node and a demo
2014-06-27 23:21:45 -03:00
marynate de7811ab42 Fix pinning project segfault 2014-06-25 12:01:56 +08:00
marynate ee131f9f05 Fixed resource name not updated when saved in resurce dock 2014-06-23 01:54:21 +08:00
Juan Linietsky e086bccd63 Import 3D Scene Improvements
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

-If re-importing from the "dependency changed" dialog, edited scene will keep the local changes.
-Imported scene will keep track of changes in the source asset
-Geometry changes in source geometry or nodes with a different transform will be updated.
-Materials will be kept if changed locally.
-New nodes added will be kept
-If nodes were reparented or renamed, they will still keep track
-Deleted notes will be restored, use the -noimp option to avoid this.
-In general, you can trust that if you do local modifications to the imported scene, they will not be erased after re-import.
-Erasing your changes is done by re-importing from the "Re-Import" menu, re-opening the "Import 3D Scene" dialog. This wil re-import fresh.

Overall, This should allow you to work on a scene and see changes made to 3D assets in real-time.

So Please test!!
2014-06-19 02:23:03 -03:00
Juan Linietsky ddc0e7fd3b FineTune HDR and Other Stuff
-=-=-=-=-=-=-=-=-=-=-=-=-=-

-More parameters to ESM shadows
-LightMap Octree now can bake to "hdr" (use HDR8 for now)
-New resource PolygonPathFinder, polygon based pathfinder using A-star algorithm. (will add nodes to use it more easily soon)
2014-06-17 11:58:35 -03:00
reduz 6cb3c94b03 Merge pull request #509 from marynate/PR-script-editor-replace-dialog
Script editor: Add selected text in replace dialog automatically
2014-06-17 11:56:09 -03:00
reduz a285708a0c Merge pull request #510 from marynate/PR-align-with-view
Align selected node with current view (3d editor)
2014-06-17 11:55:52 -03:00
reduz 59fd2c51f6 Merge pull request #512 from marynate/PR-fix-texture-preview-not-update
Fixed #185 Setting a new Texture for a Sprite node does not update preview
2014-06-17 11:55:26 -03:00
marynate b9a8c39af5 Use toolbutton for clear search term 2014-06-17 13:39:01 +08:00
marynate 8b31ae491f Move ProjectListFilter::FilterOption into private section 2014-06-17 13:38:44 +08:00
marynate 57ab93bd27 Add project list filter for easy finding projects 2014-06-17 13:38:44 +08:00
marynate 9a75d3175e Search filesystem by name or path; Remove extension filter; Use toolbutton for clear search term 2014-06-17 13:35:14 +08:00
Juan Linietsky 703004f830 More 3D Work
-=-=-=-=-=-

-ESM Shadow Mapping for softer and less glitchy shadows
-HDR Pipeline (convert to Linear on texture import, convert to SRGB at the end)
-Fix to xml parse bug
2014-06-16 10:22:26 -03:00
marynate 2b6106541c Fixed #185 Setting a new Texture for a Sprite node does not update preview 2014-06-15 10:11:58 +08:00
marynate 2f79e59c00 Add align with view in 3d editor viewport (useful for aligning camera with
current view)
2014-06-13 15:59:02 +08:00
marynate eb6f7f38c0 Script editor: Put selected text in replace dialog automatically (unless selected more than 1 line); Replace textbox get focus when there's search text but no replace text; Bump up transparency of FindReplaceDialog 2014-06-13 11:32:38 +08:00
Juan Linietsky 64e83bfd14 Merge branch 'master' of https://github.com/okamstudio/godot 2014-06-11 10:41:43 -03:00
Juan Linietsky 9b8696d3dd Light Baker!
-=-=-=-=-=-=

-Support for lightmap baker, have fun figuring out how it works before tutorial is published.
2014-06-11 10:41:03 -03:00
reduz 58a323e062 Merge pull request #446 from marynate/PR-fix-scons-cstringio
Use cStringIO to write editor_icons.cpp
2014-06-11 01:20:43 -03:00
reduz 09023224b6 Merge pull request #490 from macramole/master
Set project name automatically when choosing path for new projects in project manager
2014-06-11 01:12:41 -03:00
reduz b0b6f143ff Merge pull request #496 from marynate/PR-scene-dock-search
Adding search box to scene dock(file system tab)
2014-06-11 01:11:45 -03:00
reduz 3a7cbfcea6 Merge pull request #498 from marynate/PR-pm-favorite
Add pin/favorite projects in project manager
2014-06-11 01:11:17 -03:00
marynate 151df47677 Add pin/favorite projects in project manager 2014-06-10 11:05:46 +08:00
marynate e94f875788 Allow run/edit multiple projects from project manager 2014-06-10 11:03:32 +08:00
marynate 2c3d279c75 Adding search box to scene dock(file system tab) 2014-06-10 10:36:45 +08:00
leandrogarber@gmail.com 729cadad13 small feature: set project name automatically when choosing path for new projects (recommit due problem with codeblocks tabs) 2014-06-04 18:30:39 -03:00
leandrogarber@gmail.com 0be5ff50aa small feature: set project name automatically when choosing path for new projects 2014-06-04 18:15:37 -03:00
Juan Linietsky 6f0b4678e2 More 3D Improvements
-=-=-=-=-=-=-=-=-=-=

-Sprite3D and AnimatedSprite3D support.
-Opaque pre-pass works, is compatible with shadows
-Improved shadow map rendering (can differentiate between plain opaque and opaque with shaders/discard/etc)
-Added option to use alpha discard in FixedMaterial
-Improved Glow FX, many more options (three modes, Additive, Screen and SoftLight), strength and scale
-Ability for Background (image or cubemap) to send to glow buffer
-Dumb Deploy of clients now actually works in Android
-Many Many rendering fixes, 3D is much more usable now.
2014-05-29 10:56:39 -03:00
Juan Linietsky 1cad087969 Making Godot Easier to Use..
-=-=-=-=-=-=-=-=-=-=-=-=-=-=

-Auto indenter in code editor, this makes it much easier to paste external code.
-Zoom in 2D viewport now uses the mouse pointer as reference.
-Obscure hack to see where code/line of GDScript in C++ backtrace.
-Fixed a bug where keys would get stuck on X11 if pressed simultaneously
-Added Api on IP singleton to request local IPs.
-Premultiplied alpha support when importing texture, editing PNGs and as a blend mode.
2014-05-24 01:35:47 -03:00
marynate 1e41bfa9cf Use cStringIO to write editor_icons.cpp, lower the opportunity file access conflit when buiding with spawn_jobs 2014-05-22 16:26:55 +08:00