Procedural Subdivision

Has anyone implemented a script for subdividing meshes in a scene?

Gonna take a look at these:

Unless someone has any other thoughts?

We do have a simple version here:

1 Like

Cool, cause I started a conversion:
https://www.babylonjs-playground.com/#5HV27W

and am pretty close, but if its done Ill use that!

@Deltakosh
https://www.babylonjs-playground.com/#5HV27W#1
box.subdivide(2) does not seem to be doing anything?

Got it:
box.increaseFacets(2)
http://babylonjsguide.github.io/snippets/Increasing_Facets
https://www.babylonjs-playground.com/#5HV27W#2

Is mesh.increaseFacets not a standard method?

pinging @JohnK for increaseFacets (not yet merge)

(mesh.subdivide is not about simplification but sudbividing the mesh in subMeshes)

You may want to check that: Simplify a Mesh with Auto-LOD - Babylon.js Documentation

I would be happy to get more tools to subdivide meshes

The increaseFacets should serve my purpose. Thank you!

1 Like