summaryrefslogtreecommitdiffstats
path: root/scene/3d/arvr_nodes.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Renaming all ARVR nodes to XRBastiaan Olij2020-04-091-621/+0
|
* Replace NULL with nullptrlupoDharkael2020-04-021-17/+17
|
* Renamed 2D and 3D nodes to make their types explicitJuan Linietsky2020-03-271-4/+4
| | | | Fixes #30736.
* Refactored input, goes all via windows now.Juan Linietsky2020-03-261-4/+4
| | | | Also renamed Input to InputFilter because all it does is filter events.
* Refactored Input, create DisplayServer and DisplayServerX11Juan Linietsky2020-03-261-1/+1
|
* ARVRController.is_button_pressed requires to return a booleanBastiaan Olij2020-03-071-1/+1
|
* Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT.Juan Linietsky2020-02-251-2/+2
| | | | | | | | | | | | | | | | | | | | | - Renames PackedIntArray to PackedInt32Array. - Renames PackedFloatArray to PackedFloat32Array. - Adds PackedInt64Array and PackedFloat64Array. - Renames Variant::REAL to Variant::FLOAT for consistency. Packed arrays are for storing large amount of data and creating stuff like meshes, buffers. textures, etc. Forcing them to be 64 is a huge waste of memory. That said, many users requested the ability to have 64 bits packed arrays for their games, so this is just an optional added type. For Variant, the float datatype is always 64 bits, and exposed as `float`. We still have `real_t` which is the datatype that can change from 32 to 64 bits depending on a compile flag (not entirely working right now, but that's the idea). It affects math related datatypes and code only. Neither Variant nor PackedArray make use of real_t, which is only intended for math precision, so the term is removed from there to keep only float.
* Merge pull request #35406 from lawnjelly/ortho-shadowRémi Verschelde2020-01-221-6/+4
|\ | | | | Replace CameraMatrix::get_viewport_size with get_viewport_half_extents, shadow culling with ortho camera and other affected issues
| * Change CameraMatrix::get_viewport_size to get_viewport_half_extentslawnjelly2020-01-221-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #26637. Fixes #19900. The viewport_size returned by get_viewport_size was previously incorrect, being half the correct value. The function is renamed to get_viewport_half_extents, and now returns a Vector2. Code which called this function has also been modified accordingly. This PR also fixes shadow culling when using ortho cameras, because the correct input for CameraMatrix::set_orthogonal should be the full HEIGHT from get_viewport_half_extents, and not half the width. It also fixes state.ubo_data.viewport_size in rasterizer_scene_gles3.cpp to be the width and the height of the viewport in pixels as stated in the documentation, rather than the current value which is half the viewport extents in worldspace, presumed to be a bug.
* | Incorrect joystick id was returned on an inactive ARVR controllerBastiaan Olij2020-01-221-1/+2
|/
* Update copyright statements to 2020Rémi Verschelde2020-01-011-2/+2
| | | | | | | | | | | Happy new year to the wonderful Godot community! We're starting a new decade with a well-established, non-profit, free and open source game engine, and tons of further improvements in the pipeline from hundreds of contributors. Godot will keep getting better, and we're looking forward to all the games that the community will keep developing and releasing with it.
* Remove ERR_EXPLAIN from scene/* codeTomasz Chabora2019-08-091-12/+3
|
* Improve the node configuration warning displayHugo Locurcio2019-07-091-1/+1
| | | | | | | - Refer to properties explicitly when possible - When multiple warnings are returned, always separate them by one blank line to make them easier to distinguish - Improve grammar and formatting
* Add default values to the editor help, docs, and generated RSTBojidar Marinov2019-06-271-0/+1
| | | | | Also, make spacing of "=" in the editor help a bit more consistent. Closes #16086
* Fix ARVRAnchor and ARVRController error spamqarmin2019-06-061-2/+2
|
* Add a depth parameter to Camera::project_position()Cheeseness2019-05-291-3/+3
|
* Merge pull request #27007 from BastiaanOlij/arvr_notificationsRémi Verschelde2019-04-301-4/+12
|\ | | | | Send notifications to ARVRInterfaces
| * Send notifications to ARVRInterfacesBastiaan Olij2019-04-271-4/+12
| |
* | Merge pull request #27707 from Calinou/tweak-message-wordingRémi Verschelde2019-04-301-5/+5
|\ \ | |/ |/| Improve wording of various messages and make casing more consistent
| * Improve wording of various messages and make casing more consistentHugo Locurcio2019-04-211-5/+5
| | | | | | | | | | This also adds the number of selected projects to the confirmation dialog that appears before removing projects.
* | Added a mesh interface to the arvr positional trackersBastiaan Olij2019-02-061-0/+28
|/
* Update copyright statements to 2019Rémi Verschelde2019-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Update ARVR{Anchor,Controller}'s configuration warningFlorian Jung2018-11-251-0/+2
| | | | | | | Updates their config warning upon change of `controller_id` or `anchor_id`, respectively. fixes godotengine/godot#23881
* Repaired mistyped of 'its' on several files.M. Huri2018-10-251-2/+2
|
* Fight off some error spam in the editorBastiaan Olij2018-06-241-4/+16
|
* Update copyright statements to 2018Rémi Verschelde2018-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Reserved controller ids 1 and 2 for left and right hand controllers and ↵Bastiaan Olij2017-12-221-4/+6
| | | | added new center on hmd option
* Adding rumble support to ARVR controllers (if implemented on the ARVR interface)Bastiaan Olij2017-11-011-1/+29
|
* Always mixing up binary and and boolean and...Bastiaan Olij2017-10-201-1/+2
|
* Made a few tweaks to the interfaceBastiaanOlij2017-10-061-0/+110
|
* joyid is set to -1, not 0 when no joystick entity has been createdBastiaanOlij2017-09-151-2/+2
|
* Added ID to tracker signals and property for storing handBastiaan Olij2017-09-101-1/+14
|
* Remove Basis::set_scale and Basis::set_rotation_* functions.Ferenc Arn2017-08-291-1/+1
| | | | | | Those functions were added in #8277 but they did more harm than good. They're subtle, don't do what people think and requires users to understand the non-uniqueness of polar decomposition. They ended up confusing people. Until we store additional information enough to make a unique polar decomposition, these functions shouldn't be a part of Basis.
* Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-271-1/+1
|
* Convert Object::cast_to() to the static versionHein-Pieter van Braam2017-08-241-5/+5
| | | | | | | | | | | | Currently we rely on some undefined behavior when Object->cast_to() gets called with a Null pointer. This used to work fine with GCC < 6 but newer versions of GCC remove all codepaths in which the this pointer is Null. However, the non-static cast_to() was supposed to be null safe. This patch makes cast_to() Null safe and removes the now redundant Null checks where they existed. It is explained in this article: https://www.viva64.com/en/b/0226/
* Added ARVRAnchor support and a few small enhancementsBastiaanOlij2017-08-031-0/+113
|
* Adding base classes and structures for ARVR supportBastiaanOlij2017-07-281-0/+313
Added ArVrScriptInterface Added ARVRCamera, ARVRController and ARVROrigin helper objects