summaryrefslogtreecommitdiffstats
path: root/scene/3d/visual_instance.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Style: Fix whole-line commented codeRémi Verschelde2017-01-141-3/+3
| | | | | They do not play well with clang-format which aligns the `//` part with the rest of the code block, thus producing badly indented commented code.
* New API for visibility in both CanvasItem and SpatialJuan Linietsky2017-01-131-1/+1
| | | | | | visible (property) - access set_visible(bool) is_visible() is_visible_in_tree() - true when visible and parents visible show() hide() - for convenience
* Must now register with set_transform_notify() to get ↵Juan Linietsky2017-01-121-0/+1
| | | | NOTIFICATION_TRANSFORM_CHANGED
* Type renames:Juan Linietsky2017-01-111-1/+1
| | | | | | | | | | | | Matrix32 -> Transform2D Matrix3 -> Basis AABB -> Rect3 RawArray -> PoolByteArray IntArray -> PoolIntArray FloatArray -> PoolFloatArray Vector2Array -> PoolVector2Array Vector3Array -> PoolVector3Array ColorArray -> PoolColorArray
* It is now possible to name layers of different kinds!Juan Linietsky2017-01-101-1/+1
|
* -Conversion of most properties to a simpler syntax, easier to use by scriptJuan Linietsky2017-01-041-32/+31
| | | | | | -Modified help to display properties GDScript can still not make use of them, though.
* ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to ↵Juan Linietsky2017-01-021-22/+22
| | | | | | | | Variant. All usages of "type" to refer to classes were renamed to "class" ClassDB has been exposed to GDScript. OBJ_TYPE() macro is now GDCLASS()
* Merge remote-tracking branch 'origin/gles3' into gles3-on-masterRémi Verschelde2017-01-021-88/+59
|\ | | | | | | | | Various merge conflicts have been fixed manually and some mistakes might have been made - time will tell :)
| * work in progress global illuminationJuan Linietsky2016-12-201-65/+0
| |
| * Begining of GLES3 renderer:Juan Linietsky2016-10-031-36/+72
| | | | | | | | | | | | | | | | -Most 2D drawing is implemented -Missing shaders -Missing all 3D -Editor needs to be set on update always to be used, otherwise it does not refresh -Large parts of editor not working
* | Welcome in 2017, dear changelog reader!Rémi Verschelde2017-01-011-1/+1
|/ | | | | | | | That year should bring the long-awaited OpenGL ES 3.0 compatible renderer with state-of-the-art rendering techniques tuned to work as low as middle end handheld devices - without compromising with the possibilities given for higher end desktop games of course. Great times ahead for the Godot community and the gamers that will play our games!
* expose GeometryInstance.get_aabb() etc fixes #6587yg2f2016-09-221-0/+4
| | | | | | expose ``GeometryInstance.get_aabb();`` to gdscript expose ``VisualInstance.get_transformed_aabb();`` to gdscript and debug ``ImmediateGeometry::add_vertex()``;
* Added extra controls to GeometryInstances to control how they should cast ↵Saracen2016-03-071-1/+41
| | | | | | | shadows: double-sided and shadows only. Conflicts: servers/visual/visual_server_raster.h
* Update copyright to 2016 in headersGeorge Marques2016-01-011-1/+1
|
* -fix a bug in extra cull margin, closes #1760Juan Linietsky2015-05-011-0/+1
|
* Updated copyright year in all headersJuan Linietsky2015-04-181-1/+1
|
* support for 2D shadow castersJuan Linietsky2015-03-021-0/+15
| | | | | | | | | | Added support for 2D shadow casters. *DANGER* Shaders in CanvasItem CHANGED, if you are using shader in a CanvasItem and pull this, you will lose them. Shaders now work through a 2D material system similar to 3D. If you don't want to lose the 2D shader code, save the shader as a .shd, then create a material in CanvasItem and re-assign the shader.
* Batch of BugfixesJuan Linietsky2014-12-071-4/+4
| | | | | | | | | | | | | | | | | | | | | | -=-=-=-=-=-=-=-=- -Fixed Export UV XForm (should work now). #923 -Fixed enforcement of limits in property editor. #919 -Fixed long-standing bug of export editings in script inheritance. #914, #859, #756 -Fixed horrible error reporting in shader language. #912 -Added kinematic collision with plane (please test well). #911 -Fixed double animation track insert when using 2D rigs. #904 -VKey updates offset parameter in sprite edition. #901 -Do not allow anymore a script to preload itself. (does not fix #899, but narrows it down) -Avoid connection editor from overriding selected text. #897 -Fixed timer autostart. #876 -Fixed collision layers in 3D physics. #872 -Improved operators in shader #857 -Fixed ambient lighting bug #834 -Avoid editor from processing gamepad input #813 -Added not keyword #752 Please test!
* SceneMainLoop -> SceneTreeJuan Linietsky2014-11-051-1/+1
| | | | | | | | | | | | -=-=-=-=-=-=-=-=-=-=-=-=-=- *YOUR SOURCE MIGHT NOT WORK* For mor information on fix: https://github.com/okamstudio/godot/wiki/devel_scene_tree Other stuff: -Shower of bullets demo -Fixes all around
* -Much improvement to baked light bakerJuan Linietsky2014-10-271-2/+10
| | | | | | | -Fixed many bugs in stretch mode -Fixes to camera project and unproject as consequence of the above -added setget to script (documented in script doc) -more fixes to collada exporter for blender
* Little BitsJuan Linietsky2014-08-141-3/+18
| | | | | | | | -=-=-=-=-=- -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
* Small Issues & MaintenanceJuan Linietsky2014-08-011-0/+17
| | | | | | | | | -=-=-=-=-=-=-=-=-=-=-=-=-= -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
* Light Baker!Juan Linietsky2014-06-111-3/+75
| | | | | | -=-=-=-=-=-= -Support for lightmap baker, have fun figuring out how it works before tutorial is published.
* Add 'mesh/skeleton' property to MeshInstance to decouple mesh->skeleton from ↵marynate2014-05-131-1/+3
| | | | child parent constraint
* GODOT IS OPEN SOURCEJuan Linietsky2014-02-091-0/+260