Comments (4)
Ah this could be a regression from MergeGroups. I don't think it looks serious, just a check for CPU source mesh which doesn't make sense with the old method.
I should be able to fix this up soon.
from godot.
I've done a PR to fix this, essentially the problem was just the new method defaults to creating meshes on CPU only and the MeshInstance::merge_meshes()
should create GPU meshes for use in the editor and rendering.
There is one additional change to be aware of here since 3.5:
- Mesh merging is now visibility aware, so if hidden meshes are merged, they will be merged to a hidden result.
- This means that in your script you either need to hide the source meshes after merging, or unhide the result mesh after merging.
Also as the merging backend has changed it may be more stringent for requirements for merging (it checks hopefully absolutely everything, so if e.g. a margin is different, then it will not merge).
I'm hoping to add a verbose mode for merging that will print out reasons for not merging (as this could be annoying to work out manually) but this may have to wait till a point release as we are in feature freeze.
from godot.
Thank you very much! If you need testing it, let me know, I will help!
from godot.
Thank you very much! If you need testing it, let me know, I will help!
Hopefully a lot of the jobs you previously did with MeshInstance::merge_meshes()
can now be automated better with MergeGroup
, as it essentially does what you were doing in your script, either at runtime or baked in the editor.
Any testing you can give would be greatly appreciated! 😀
https://docs.godotengine.org/en/3.6/tutorials/3d/merge_groups.html
from godot.
Related Issues (20)
- False error "Parse Error: The function signature doesn't match the parent." thrown in larger projects after changing both parent and child. HOT 2
- LineEdit breaks when using circumflex or acute accent characters HOT 2
- OpenGL: 3D MSAA crashing Meta Quest 2 OS when using compatibility mode HOT 5
- Can not play animation in sub thread
- Can't edit CollisionShape3D with Half Resolution HOT 3
- Distance Fade PixelDither and ObjectDither does not work when usign Compatibility Rendering HOT 4
- buggy editor preview on android HOT 5
- In the GDScript, adding an Animation with LoopMode set to LOOP_PINGPONG does not produce the expected effect.
- Instances of inherited scenes are not updated properly after changing any property
- Improvement notification export for GDExtensions HOT 4
- Can only run projects using the Compatibility rendering method, even though the hardware supports Vulkan HOT 6
- Editor hangs/crash when previewing a `Camera3D` with scale approaching 0 HOT 3
- resource icon is not shown when saving it with custom extension
- Can't change parent of a node that has MultiplayerSpawners embedded. Server crashes. HOT 2
- Visual shader is not updated when switching between tabs, which lead to bugs
- Editor crashes when defining two arrays who is lengths are defined of two constants where one is dependent on the other. HOT 1
- Interacting with Godot after Pop!_OS System Suspend causes computer restart HOT 4
- Update available indicator shown for the currently in-use version HOT 1
- CPUParticles3D causes stutter if selected on the scene tree HOT 2
- Button can still be clicked if overlapped with another control with MOUSE_FILTER_STOP if the user does not release mouse button(-s) HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from godot.