Age | Commit message (Collapse) | Author |
|
|
|
Fix inferred typed array marked as constant
|
|
williamd67/GPULightmapper-increase-ray-triangle-hit-rate
|
|
|
|
Currently the method ray_hits_triangle determines triangles not to be hit by
a ray due to an epsilon that is too big. In practice those triangles are hit by
those rays.
This is fixed by introducing a smaller epsilon.
|
|
* New plugin system to control the whole import workflow
* Can add options and run code at every import step (general, per node, mesh, animation, material etc.)
This constitutes a first version of these plugins. The ability to interact with the import preview dialog will likely be added later on.
|
|
We've had many issues with WebM support and specifically the libvpx library
over the years, mostly due to its poor integration in Godot's buildsystem,
but without anyone really interested in improving this state.
With the new GDExtensions in Godot 4.0, we intend to move video decoding to
first-party extensions, and this would likely be done using something like
libvlc to expose more codecs.
Removing the `webm` module means we can remove libsimplewebm, libvpx and
opus, which we were only used for that purpose. Both libvpx and opus were
fairly complex pieces of the buildsystem, so this is a nice cleanup.
This also removes the compile-time dependency on `yasm`.
Fixes lots of compilation or non-working WebM issues which will be linked
in the PR.
|
|
Fix a few issues with await in GDScript
|
|
Don't grab the type of the awaited value unless it's constant (which
makes it synchronous) or call (which always use the proper return type).
|
|
In the case the call happens as a statement, since the return value
isn't used in this case.
|
|
If the keyword `await` is used without a coroutine, it should still
return the value synchronally.
|
|
|
|
Found by `scons dev=yes` on llvm-mingw.
|
|
|
|
So they don't reference to the old values anymore and instead refer to
a new value.
|
|
GDScript 2.0: Access outer scope classes
|
|
|
|
|
|
* Animations and Skeletons are now pose-only.
* Rest transform is kept as reference (when it exists) and for IK
* Improves 3D model compatibility (non uniform transforms will properly work, as well as all animations coming from Autodesk products).
|
|
|
|
|
|
|
|
williamd67/GPULightmapper-skip-smoothen-positions-flat-triangle
|
|
* `Animation.TYPE_TRANSFORM3D` track is gone.
* Added POSITION_3D, ROTATION_3D, SCALE_3D tracks.
* GLTF2, Collada, FBX importers will only import the track types found.
* Skeleton3D bone poses are now Pos/Rot/Scale, pose matrix removed.
* AnimationPlayer and AnimationTree animate these tracks separately, only when found.
* Removed BakeReset code, is useless with these changes.
This is the first in a series of commits designed to make the animation system in Godot more useful, which includes:
* Better compatibility with Autodesk products
* Better reusability of animations across models (including retargeting).
* Proper animation compression.
* etc.
*Note* GLTF2 animation saving went broken with this PR, needs to be fixed in a subsequent one.
|
|
In case the calculation of the delta contained infinity values (division by
zero), than later the calculation of the next cell failed as the infinity value
was multiplied by zero which resulted in a nan. The nan-value caused that the
next cell was equal to the current cell which resulted in an end-less loop,
which only terminates by the maximum iterations protection.
This is solved by replacing infinity with grid_size which acts as infinity.
|
|
Before this change only rays to the sky (RAY_MISS) in the first bounce were
processed as active rays. This caused artifacts, areas were too light, when
more than one bounce were processed.
Now rays to the sky are processed as active rays for all bounces.
|
|
Replace NULL with nullptr
|
|
Smoothening positions for flat, non-smoothened, triangles is unnecessary and
caused positions to move outside their triangle which caused side-effects as
rays from those positions intersected with triangles which could not be
reached from the original triangle.
This is solved by skipping smoothening of positions for flat triangles.
A triangle is determined to be flas as its vertex normals are equal.
|
|
|
|
|
|
|
|
|
|
|
|
Remove `hb_` prefix from the custom bitmap font functions to avoid potential conflicts with the HarfBuzz.
Cleanup commented debug code.
Update numbering system data to CLDR 39.
|
|
Fix some LGTM errors of "Multiplication result converted to larger type"
|
|
|
|
|
|
NodeAnimation"
|
|
|
|
Move add_syntax_highlighter bind to ScriptEditorBase
|
|
|
|
|
|
|
|
Made typed member setters safe
|
|
GDScript: Report property type errors
|
|
|
|
Co-authored-by: Chaosus <chaosus89@gmail.com>
|
|
|
|
While at it, tweak some boolean setters to use `p_enabled` for the bool.
Also renames `draw_minimap()` to `set_draw_minimap()`.
|
|
Instructions are now only emitted if input type matches expected type.
Otherwise usual setter fallback.
|