Godot Subdiv

An asset by tefusion
The page banner background of a mountain and forest
Godot Subdiv thumbnail image
Godot Subdiv thumbnail image
Godot Subdiv hero image

Quick Information

0 ratings
Godot Subdiv icon image
tefusion
Godot Subdiv

Adds fast Loop and Catmull-Clark Subdivision to Godot.There are three options for importing:- SubdivMeshInstance3D: Ability to change subdivision level easily for each instance- ImporterMesh: Bake at import- BakedSubdivMesh: Bake at runtime (everytime you open the scene)Blendshapes, skeletons and surface override materials are fully supported in all three options.You can use these in the custom Subdivision section in any scene importer.Supported Platforms:Linux, Windows, Android

Supported Engine Version
4.0
Version String
0.3.2
License Version
MIT
Support Level
community
Modified Date
1 year ago
Git URL
Issue URL

README Version README License

Godot Subdiv

README UV Subdivision README Skinning subdivision

Getting Started

Importing

After installing the addon and enabling it in the settings you can select the custom Godot Subdiv Importer in the import settings for any glb or gltf file. You can also use the subdivision settings in any scene importer to be able to make use of all the features of the 3d import pipeline from Godot. There you will see three options:

SubdivMeshInstance3D BakedSubdivMesh ArrayMesh
The only option that doesn't bake. Skinning and blend shape changes get processed by CPU and then directly thrown at the RenderingServer. This is useful if you have a changing mesh or changing subdivision level. Bake at runtime: Useful for large reused meshes. Baking can take quite some time though so if space isn't an issue, the ArrayMesh might be the better option. Bake at import: The greatest advantage of this is, after importing you can remove godot subdiv again.

Adjust the subdivision level, click reimport and you should see your mesh subdivided.

Modeling Tips

OpenSubdiv has a great section on modeling for subdivision. Not all of them apply for Godot Subdiv though: You can currently only import either quad only meshes to use the Catmull-Clark scheme or any other mesh which will default to the Loop subdivision scheme.

Building the project yourself

To build this project you need to have SCons installed, otherwise everything is included in the project.


For just building and trying out the project do

scons target=template_debug

in the cloned folder.

For running the tests do

scons -Q tests=1 target=template_debug

which will run simple doctest tests when starting godot on the terminal:

path/to/godot --editor --path ${workspaceFolder}/project

See more in the SConstruct file

FAQ

How to create a mesh only containing Quads?

In Blender you can go in Edit Mode and go Select->Select All by Trait->Faces by Sides and set it to Not Equal To 4. After removing the then selected faces and replacing them with quads, Quad import will work.

Acknowledgements

License

MIT

Thirdparty notices are in THIRDPARTY.md.

Adds fast Loop and Catmull-Clark Subdivision to Godot.

There are three options for importing:
- SubdivMeshInstance3D: Ability to change subdivision level easily for each instance
- ImporterMesh: Bake at import
- BakedSubdivMesh: Bake at runtime (everytime you open the scene)

Blendshapes, skeletons and surface override materials are fully supported in all three options.

You can use these in the custom Subdivision section in any scene importer.

Supported Platforms:
Linux, Windows, Android

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
Godot Subdiv icon image
tefusion
Godot Subdiv

Adds fast Loop and Catmull-Clark Subdivision to Godot.There are three options for importing:- SubdivMeshInstance3D: Ability to change subdivision level easily for each instance- ImporterMesh: Bake at import- BakedSubdivMesh: Bake at runtime (everytime you open the scene)Blendshapes, skeletons and surface override materials are fully supported in all three options.You can use these in the custom Subdivision section in any scene importer.Supported Platforms:Linux, Windows, Android

Supported Engine Version
4.0
Version String
0.3.2
License Version
MIT
Support Level
community
Modified Date
1 year ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers