summaryrefslogtreecommitdiff
path: root/scene/3d/arvr_nodes.cpp
AgeCommit message (Collapse)Author
2020-02-25Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT.Juan Linietsky
- 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.
2020-01-22Merge pull request #35406 from lawnjelly/ortho-shadowRémi Verschelde
Replace CameraMatrix::get_viewport_size with get_viewport_half_extents, shadow culling with ortho camera and other affected issues
2020-01-22Change CameraMatrix::get_viewport_size to get_viewport_half_extentslawnjelly
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.
2020-01-22Incorrect joystick id was returned on an inactive ARVR controllerBastiaan Olij
2020-01-01Update copyright statements to 2020Rémi Verschelde
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.
2019-08-09Remove ERR_EXPLAIN from scene/* codeTomasz Chabora
2019-07-09Improve the node configuration warning displayHugo Locurcio
- 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
2019-06-27Add default values to the editor help, docs, and generated RSTBojidar Marinov
Also, make spacing of "=" in the editor help a bit more consistent. Closes #16086
2019-06-06Fix ARVRAnchor and ARVRController error spamqarmin
2019-05-29Add a depth parameter to Camera::project_position()Cheeseness
2019-04-30Merge pull request #27007 from BastiaanOlij/arvr_notificationsRémi Verschelde
Send notifications to ARVRInterfaces
2019-04-30Merge pull request #27707 from Calinou/tweak-message-wordingRémi Verschelde
Improve wording of various messages and make casing more consistent
2019-04-27Send notifications to ARVRInterfacesBastiaan Olij
2019-04-21Improve wording of various messages and make casing more consistentHugo Locurcio
This also adds the number of selected projects to the confirmation dialog that appears before removing projects.
2019-02-06Added a mesh interface to the arvr positional trackersBastiaan Olij
2019-01-01Update copyright statements to 2019Rémi Verschelde
Happy new year to the wonderful Godot community!
2018-11-25Update ARVR{Anchor,Controller}'s configuration warningFlorian Jung
Updates their config warning upon change of `controller_id` or `anchor_id`, respectively. fixes godotengine/godot#23881
2018-10-25Repaired mistyped of 'its' on several files.M. Huri
2018-06-24Fight off some error spam in the editorBastiaan Olij
2018-01-01Update copyright statements to 2018Rémi Verschelde
Happy new year to the wonderful Godot community!
2017-12-22Reserved controller ids 1 and 2 for left and right hand controllers and ↵Bastiaan Olij
added new center on hmd option
2017-11-01Adding rumble support to ARVR controllers (if implemented on the ARVR interface)Bastiaan Olij
2017-10-20Always mixing up binary and and boolean and...Bastiaan Olij
2017-10-06Made a few tweaks to the interfaceBastiaanOlij
2017-09-15joyid is set to -1, not 0 when no joystick entity has been createdBastiaanOlij
2017-09-10Added ID to tracker signals and property for storing handBastiaan Olij
2017-08-29Remove Basis::set_scale and Basis::set_rotation_* functions.Ferenc Arn
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.
2017-08-27Use HTTPS URL for Godot's website in the headersRémi Verschelde
2017-08-24Convert Object::cast_to() to the static versionHein-Pieter van Braam
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/
2017-08-03Added ARVRAnchor support and a few small enhancementsBastiaanOlij
2017-07-28Adding base classes and structures for ARVR supportBastiaanOlij
Added ArVrScriptInterface Added ARVRCamera, ARVRController and ARVROrigin helper objects