summaryrefslogtreecommitdiff
path: root/scene/3d/gi_probe.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-02-18PoolVector is gone, replaced by VectorJuan Linietsky
Typed `PoolTypeArray` types are now renamed `PackedTypeArray` and are sugar for `Vector<Type>`.
2020-02-12doc: Sync classref with current sourceRémi Verschelde
Lots of internal API changes and some docstrings were lost in the conversion. I manually salvaged many of them but for all the rendering-related ones, an additional pass is needed. Added missing enum bindings in BaseMaterial3D and VisualServer.
2020-02-11Fix code formatting issues and VS compilationRémi Verschelde
Also temporarily disable multicheck build so that we get a full build even when there are style issues on Vulkan. Fixes #33356.
2020-02-11Improved Voxel AO settings.Juan Linietsky
2020-02-11Several fixes to GIProbesJuan Linietsky
2020-02-11Fix export template compilationPedro J. Estébanez
2020-02-11AO support for GIProbe (right on time for Godot Sprint!)Juan Linietsky
2020-02-11GIProbe now generates a distance field on bake using CPU, for better ↵Juan Linietsky
compatibility
2020-02-11More GIProbe work and fixesJuan Linietsky
2020-02-11GIProbes working.Juan Linietsky
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-11-21GIProbe::bake: Remove check for ownershipPtrMan
Fixes #28508.
2019-07-10Notify changes in properties that can be edited by 3D gizmosHugo Locurcio
This makes the Inspector always display an up-to-date value after editing properties using 3D gizmos.
2019-07-02Fix various memory leaks and errorsBojidar Marinov
2019-06-16Tweak some editor property hints to be more flexible and consistentHugo Locurcio
This partially addresses #19242.
2019-03-03add warning to GIProbe when using GLES2clayjohn
2019-01-01Update copyright statements to 2019Rémi Verschelde
Happy new year to the wonderful Godot community!
2018-07-18Ability to disable scale in nodes, closes #19927Juan Linietsky
2018-01-11Fixed crash on duplicate GIProbe bakingAndreaCatania
2018-01-05Add missing copyright headers and fix formattingRémi Verschelde
Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
2018-01-01Update copyright statements to 2018Rémi Verschelde
Happy new year to the wonderful Godot community!
2017-12-14-Add lightmapperJuan Linietsky
-Fixes to unwrapper (remove degenerates), makes Thekla not crash -Added optional cancel button in EditorProgress -Added function to force processing of events (needed for cancel button)
2017-12-10Style: Re-apply clang-format over recent invalid additionsRémi Verschelde
2017-12-09Update GIProbe data instead of creating a new one on bakeMarc Gilleron
2017-12-07Style: Apply new clang-format 5.0 style to all filesRémi Verschelde
2017-11-22change default propagation valueJuan Linietsky
2017-11-17Rename Rect3 to AABB.Ferenc Arn
Fixes #12973.
2017-11-15Fix energy not affecting emissive texture in GI baker.Ferenc Arn
Also fix emission_tex being invalid always due to wrong reference type. Fixes #10534.
2017-11-15-Ability to choose operator for emission, closes #10441Juan Linietsky
-Ability to use proper operator for GI Probe, closes #10534 -Closes #12938 as it's no longer needed (thanks for the work though)
2017-10-30Clean up GI Probe baking, proper button and progress bar.Juan Linietsky
2017-10-22Bind unbound enums, rearrange some by valuePoommetee Ketson
2017-10-04Restored normal bias as default bias in GIProbeJuan Linietsky
2017-09-12Merge pull request #10908 from hpvb/fix-unused-variablesRémi Verschelde
Fix unused variable warnings
2017-09-08Fix unused variable warningsHein-Pieter van Braam
The forth in my quest to make Godot 3.x compile with -Werror on GCC7
2017-09-08Remove assignment and declarations in if statementsHein-Pieter van Braam
After discussing with @reduz and @akien-mga it was decided that we do not allow assignments or declarations in if statements. This PR removes the instances of this I could find by automated means.
2017-09-06Check whether stuff is visible before baking it, closes #10525Juan Linietsky
2017-09-02Fix use of unitialized variablesHein-Pieter van Braam
The second in my quest to make Godot 3.x compile with -Werror on GCC7
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-20ClassDB: Provide the enum name of integer constantsIgnacio Etcheverry
2017-08-10Removes type information from method bindsIgnacio Etcheverry
2017-07-29Few small GI Probe fixesJuan Linietsky
2017-07-19Add object type hint for docsPoommetee Ketson
2017-07-15Many fixes to improve GI Probe qualityJuan Linietsky
2017-06-09renamed all Rect3.pos to Rect3.positionalexholly
2017-06-07-Added proper access to depth texture from shaderJuan Linietsky
-Split Mesh into Mesh (abstrat class) and ArrayMesh, to allow to proper mesh primitives, as well as streamable meshes in the future.
2017-06-02many fixes to image loader, voxel cone tracing, etc.Juan Linietsky
2017-06-01GI probes working back againJuan Linietsky
2017-05-17Removal of Image from Variant, converted to a Resource.Juan Linietsky