# \#mesh

**URL:** https://forum.babylonjs.com/tag/mesh/73.md

[Latest](https://forum.babylonjs.com/latest.md) · [Categories](https://forum.babylonjs.com/categories.md) · [Tags](https://forum.babylonjs.com/tags.md)

---

## [Browser-based GLB Compressor — demo reduced from 3.14 MB to 489.58 KB](https://forum.babylonjs.com/t/browser-based-glb-compressor-demo-reduced-from-3-14-mb-to-489-58-kb/64258)

<div class="topic-metadata">

**Author:** [@AkashGuptaEmk\_AkEmk](https://forum.babylonjs.com/u/AkashGuptaEmk_AkEmk)\
**Replies:** 7\
**Last updated:** [October 15, 2026, 7:04am UTC](https://forum.babylonjs.com/t/browser-based-glb-compressor-demo-reduced-from-3-14-mb-to-489-58-kb/64258 "2026-10-15T07:04:16Z")

</div>

Hi everyone, I’m the creator of Toolkit360. I built a free browser-based GLB compressor and would love feedback from developers working with glTF/GLB assets. In a recent test using the built-in demo model: Original …

---

## [Allow subMesh to preserve the draw cache of other pass IDs](https://forum.babylonjs.com/t/allow-submesh-to-preserve-the-draw-cache-of-other-pass-ids/64188)

<div class="topic-metadata">

**Author:** [@Teych](https://forum.babylonjs.com/u/Teych)\
**Replies:** 8\
**Last updated:** [October 2, 2026, 9:01pm UTC](https://forum.babylonjs.com/t/allow-submesh-to-preserve-the-draw-cache-of-other-pass-ids/64188 "2026-10-02T21:01:07Z")

</div>

I have been working on a solution for a renderer with multiple engine views where each view can have diverging material states (I.e one view shows wireframe while another doesnt) I wanted to come up with a solution that…

---

## [How to use thinInstanceAdd and createInstance on an imported model (type AbstractMesh)](https://forum.babylonjs.com/t/how-to-use-thininstanceadd-and-createinstance-on-an-imported-model-type-abstractmesh/63596)

<div class="topic-metadata">

**Author:** [@Yasinli29](https://forum.babylonjs.com/u/Yasinli29)\
**Replies:** 6\
**Last updated:** [June 7, 2026, 9:03am UTC](https://forum.babylonjs.com/t/how-to-use-thininstanceadd-and-createinstance-on-an-imported-model-type-abstractmesh/63596 "2026-06-07T09:03:45Z")

</div>

Hello everyone！ This is an official PG: 123 | Babylon.js Playground In the official example, the AbstractMesh type can use createInstance, but the compiler tells me that this function does not exist, and also the th…

---

## [Mesh.\_isWorldMatrixFrozen not serialized](https://forum.babylonjs.com/t/mesh-isworldmatrixfrozen-not-serialized/63255)

<div class="topic-metadata">

**Author:** [@kzhsw](https://forum.babylonjs.com/u/kzhsw)\
**Replies:** 1\
**Last updated:** [April 23, 2026, 1:21pm UTC](https://forum.babylonjs.com/t/mesh-isworldmatrixfrozen-not-serialized/63255 "2026-04-23T13:21:22Z")

</div>

Version: git HEAD TransformNode.\_isWorldMatrixFrozen is currently not serialized nor parsed for TransformNode, but it’s parsed for mesh: But in curr codebase there is nowhere parsedMesh.freezeWorldMatrix get serialize…

---

## [Subtract text from a mesh](https://forum.babylonjs.com/t/subtract-text-from-a-mesh/63063)

<div class="topic-metadata">

**Author:** [@Trevor\_Orr](https://forum.babylonjs.com/u/Trevor_Orr)\
**Replies:** 11\
**Last updated:** [April 12, 2026, 4:17pm UTC](https://forum.babylonjs.com/t/subtract-text-from-a-mesh/63063 "2026-04-12T16:17:39Z")

</div>

I am playing around with trying to subtract text from a mesh using csg2 and not having much luck with it. I am getting the error: Error while creating the CSG: Not manifold I have done a lot of searching and try differe…

---

## [MeshBuilder and CSG2](https://forum.babylonjs.com/t/meshbuilder-and-csg2/62944)

<div class="topic-metadata">

**Author:** [@Trevor\_Orr](https://forum.babylonjs.com/u/Trevor_Orr)\
**Replies:** 2\
**Last updated:** [March 26, 2026, 11:18pm UTC](https://forum.babylonjs.com/t/meshbuilder-and-csg2/62944 "2026-03-26T23:18:15Z")

</div>

I am new to Babylon but come using Three.js. I am playing around with MeshBuilder and CSG2. I am creating two 90 degree cylinders and subtracting the smaller one from the bigger one and get this odd piece that is not r…

---

## [Mesh outline depth calculation failure](https://forum.babylonjs.com/t/mesh-outline-depth-calculation-failure/62913)

<div class="topic-metadata">

**Author:** [@izzydesigns](https://forum.babylonjs.com/u/izzydesigns)\
**Replies:** 4\
**Last updated:** [March 25, 2026, 12:50pm UTC](https://forum.babylonjs.com/t/mesh-outline-depth-calculation-failure/62913 "2026-03-25T12:50:18Z")

</div>

Hello! I’m having a depth calculation issue when using the mesh outline feature. I notice the edge of outlines on meshes often shows through walls when the occluded mesh with an outline enabled is viewed at a steep angle…

---

## [Shed Configurator V2 (Babylon.js + React)](https://forum.babylonjs.com/t/shed-configurator-v2-babylon-js-react/62828)

<div class="topic-metadata">

**Author:** [@Karim\_Mohammed](https://forum.babylonjs.com/u/Karim_Mohammed)\
**Replies:** 2\
**Last updated:** [March 18, 2026, 1:07pm UTC](https://forum.babylonjs.com/t/shed-configurator-v2-babylon-js-react/62828 "2026-03-18T13:07:11Z")

</div>

Hey guys I wanted to share a project I’ve been working on recently and get some feedback. It’s a real-time 3D shed configurator built with Babylon.js and React. The idea is pretty simple: users can customize a shed (di…

---

## [Meshbuilder helper create box with rounded edges](https://forum.babylonjs.com/t/meshbuilder-helper-create-box-with-rounded-edges/35848)

<div class="topic-metadata">

**Author:** [@ReubenH](https://forum.babylonjs.com/u/ReubenH)\
**Replies:** 7\
**Last updated:** [January 5, 2026, 10:01am UTC](https://forum.babylonjs.com/t/meshbuilder-helper-create-box-with-rounded-edges/35848 "2026-01-05T10:01:44Z")

</div>

I’ve created a helper functions that created a cuboid with rounded edges so that it render nicely with a shader that uses normals. I thought this might be useful to somebody else so thought I’d share. https://playgroun…

---

## [HTMLMESH. Replacing mesh with htmlMesh](https://forum.babylonjs.com/t/htmlmesh-replacing-mesh-with-htmlmesh/61585)

<div class="topic-metadata">

**Author:** [@sk1wz](https://forum.babylonjs.com/u/sk1wz)\
**Replies:** 3\
**Last updated:** [November 28, 2025, 2:19pm UTC](https://forum.babylonjs.com/t/htmlmesh-replacing-mesh-with-htmlmesh/61585 "2025-11-28T14:19:30Z")

</div>

Hi! I would like to ask how you can make an htmlMesh by replacing some kind of mesh. What I mean is, for example, we have a parent-monitor mesh. The monitor mesh has a child (a separate mesh “monitor screen”, I would lik…

---

## [Real-Time Parametric Geometry Editing in Babylon.js](https://forum.babylonjs.com/t/real-time-parametric-geometry-editing-in-babylon-js/61361)

<div class="topic-metadata">

**Author:** [@Rayan\_Farhat](https://forum.babylonjs.com/u/Rayan_Farhat)\
**Replies:** 29\
**Last updated:** [November 23, 2025, 3:52pm UTC](https://forum.babylonjs.com/t/real-time-parametric-geometry-editing-in-babylon-js/61361 "2025-11-23T15:52:28Z")

</div>

Hi all, One limitation in Babylon.js is that once you create a mesh, its geometry isn’t easily editable in real time—you lose the original primitive parameters. I wrote a short article explaining how to solve this prob…

---

## [No information anywhere about optimizeIndicesAsync function. how to use it?](https://forum.babylonjs.com/t/no-information-anywhere-about-optimizeindicesasync-function-how-to-use-it/61455)

<div class="topic-metadata">

**Author:** [@TooCalm](https://forum.babylonjs.com/u/TooCalm)\
**Replies:** 9\
**Last updated:** [November 20, 2025, 3:26am UTC](https://forum.babylonjs.com/t/no-information-anywhere-about-optimizeindicesasync-function-how-to-use-it/61455 "2025-11-20T03:26:23Z")

</div>

Hi i found a function which updates indices of a mesh inside babylon engine. Looks like it affects performance. optimizeIndicesAsync(); looks like it was introduced here Questions about onPointerObservable - #11 by De…

---

## [Ground height map from UInt8Array corrupted points](https://forum.babylonjs.com/t/ground-height-map-from-uint8array-corrupted-points/61456)

<div class="topic-metadata">

**Author:** [@Khanon](https://forum.babylonjs.com/u/Khanon)\
**Replies:** 2\
**Last updated:** [November 18, 2025, 9:02am UTC](https://forum.babylonjs.com/t/ground-height-map-from-uint8array-corrupted-points/61456 "2025-11-18T09:02:36Z")

</div>

I’m experimenting with BABYLON.MeshBuilder.CreateGroundFromHeightMap and I have a question and an issue. Question: I don’t have clear what minHeight and maxHeight are doing exactly. For what I’ve been testing, those tw…

---

## [Large scale terrain details generation](https://forum.babylonjs.com/t/large-scale-terrain-details-generation/61389)

<div class="topic-metadata">

**Author:** [@pietrko](https://forum.babylonjs.com/u/pietrko)\
**Replies:** 1\
**Last updated:** [November 11, 2025, 9:48pm UTC](https://forum.babylonjs.com/t/large-scale-terrain-details-generation/61389 "2025-11-11T21:48:53Z")

</div>

I have following problem. I need to render thousands of small strategic map cities. Each city is very similar to each and is composed of up to 100 different meshes Cities are placed in different areas of the world i w…

---

## [GLB rig look different from Maya](https://forum.babylonjs.com/t/glb-rig-look-different-from-maya/60661)

<div class="topic-metadata">

**Author:** [@Raymon](https://forum.babylonjs.com/u/Raymon)\
**Replies:** 12\
**Last updated:** [October 23, 2025, 10:28pm UTC](https://forum.babylonjs.com/t/glb-rig-look-different-from-maya/60661 "2025-10-23T22:28:33Z")

</div>

Hi, hope you guys doing well. The issue I have is that in Maya the model seems smooth but in GLB it has these pointy issues. Here is the maya and glb file BearTest.zip (3.6 MB) I have been working with babylon exporte…

---

## [General Relativity Simulation of Spacetime Curvature Due to Mass☄️](https://forum.babylonjs.com/t/general-relativity-simulation-of-spacetime-curvature-due-to-mass/10731)

<div class="topic-metadata">

**Author:** [@HiteshSahu](https://forum.babylonjs.com/u/HiteshSahu)\
**Replies:** 5\
**Last updated:** [October 22, 2025, 12:17am UTC](https://forum.babylonjs.com/t/general-relativity-simulation-of-spacetime-curvature-due-to-mass/10731 "2025-10-22T00:17:39Z")

</div>

Massive objects cause a distortion in space-time, which is felt as gravity- Albert Einstein I made a simulation of spacetime bending due to the mass of terrestrial bodies. You can shoot an Asteroids or drag Earth to …

---

## [Mesh.MinMax breaks bounding box data](https://forum.babylonjs.com/t/mesh-minmax-breaks-bounding-box-data/60884)

<div class="topic-metadata">

**Author:** [@qwiglydee](https://forum.babylonjs.com/u/qwiglydee)\
**Replies:** 3\
**Last updated:** [October 10, 2025, 7:47am UTC](https://forum.babylonjs.com/t/mesh-minmax-breaks-bounding-box-data/60884 "2025-10-10T07:47:19Z")

</div>

Hi! That’s totally weird. After calling to Mesh.MinMax coordinates of bounding box of the very first mesh get distorted. The console reads: BJS - \[13:31:59\]: Babylon.js v8.31.0 - WebGL2 ==== just created ==== box.…

---

## [Performance Issue in Large Web Metaverse World (Heavy Models & Low FPS Even on High-End PCs)](https://forum.babylonjs.com/t/performance-issue-in-large-web-metaverse-world-heavy-models-low-fps-even-on-high-end-pcs/60823)

<div class="topic-metadata">

**Author:** [@omar\_alyazoribs](https://forum.babylonjs.com/u/omar_alyazoribs)\
**Replies:** 0\
**Last updated:** [October 6, 2025, 9:54am UTC](https://forum.babylonjs.com/t/performance-issue-in-large-web-metaverse-world-heavy-models-low-fps-even-on-high-end-pcs/60823 "2025-10-06T09:54:17Z")

</div>

Hi everyone, I’m building a Web Metaverse world using Babylon.js, which includes stores, reservation systems, screens, player avatars, multiplayer chat, and friend systems — basically a complete interactive environment. …

---

## [\`numOfMeshes === 1\` check in Geometry.\_applyToMesh](https://forum.babylonjs.com/t/numofmeshes-1-check-in-geometry-applytomesh/60260)

<div class="topic-metadata">

**Author:** [@kzhsw](https://forum.babylonjs.com/u/kzhsw)\
**Replies:** 9\
**Last updated:** [September 3, 2025, 2:51pm UTC](https://forum.babylonjs.com/t/numofmeshes-1-check-in-geometry-applytomesh/60260 "2025-09-03T14:51:28Z")

</div>

In Geometry.\_applyToMesh, there are numOfMeshes === 1 checks, which uploads data to gpu if the geometry has exactly 1 mesh. \_applyToMesh is used in 2 places, applyToMesh, where meshes are added one by one, it’s ok to us…

---

## [How to use mesh's bounding as collisionMesh of TouchMeshButton3D](https://forum.babylonjs.com/t/how-to-use-meshs-bounding-as-collisionmesh-of-touchmeshbutton3d/60087)

<div class="topic-metadata">

**Author:** [@rollaroll](https://forum.babylonjs.com/u/rollaroll)\
**Replies:** 2\
**Last updated:** [August 15, 2025, 12:48pm UTC](https://forum.babylonjs.com/t/how-to-use-meshs-bounding-as-collisionmesh-of-touchmeshbutton3d/60087 "2025-08-15T12:48:18Z")

</div>

I need to use 3D text as the mesh of a button3D, but I find that the button is only triggered when the mouse touches the characters in the text. I hope to use the boundingbox of the 3D text as the collisionMesh of TouchM…

---

## [InstancedMesh: duplicated call to refreshBoundingInfo in clone()](https://forum.babylonjs.com/t/instancedmesh-duplicated-call-to-refreshboundinginfo-in-clone/59939)

<div class="topic-metadata">

**Author:** [@kzhsw](https://forum.babylonjs.com/u/kzhsw)\
**Replies:** 7\
**Last updated:** [August 8, 2025, 2:56pm UTC](https://forum.babylonjs.com/t/instancedmesh-duplicated-call-to-refreshboundinginfo-in-clone/59939 "2025-08-08T14:56:15Z")

</div>

In InstancedMesh.clone(), it calls refreshBoundingInfo after the cloned instance constructed. But createInstance , which internally called Mesh.\_instancedMeshFactory, which called the InstancedMesh constructor, where r…

---

## [Camera Gets Stuck Inside Prop When Moving Around – What Could Be Causing This?](https://forum.babylonjs.com/t/camera-gets-stuck-inside-prop-when-moving-around-what-could-be-causing-this/59710)

<div class="topic-metadata">

**Author:** [@DANIEL\_S](https://forum.babylonjs.com/u/DANIEL_S)\
**Replies:** 1\
**Last updated:** [July 24, 2025, 4:59pm UTC](https://forum.babylonjs.com/t/camera-gets-stuck-inside-prop-when-moving-around-what-could-be-causing-this/59710 "2025-07-24T16:59:44Z")

</div>

Hi Babylon.js community :waving\_hand: I’m working on a 3D application where I load and instance props (furniture, displays, etc.) into a scene. Each prop is exported from Blender with a hierarchy like this: Root (Trans…

---

## [Vertex color support of binary STL format](https://forum.babylonjs.com/t/vertex-color-support-of-binary-stl-format/59494)

<div class="topic-metadata">

**Author:** [@crd233](https://forum.babylonjs.com/u/crd233)\
**Replies:** 1\
**Last updated:** [July 14, 2025, 12:30pm UTC](https://forum.babylonjs.com/t/vertex-color-support-of-binary-stl-format/59494 "2025-07-14T12:30:37Z")

</div>

Stantard version of STL has no material support, but there are non-standard variations on the binary STL format for adding color information (see STL (file format) - Wikipedia). To be compared with, Three.js has the sup…

---

## [Potential Issue with BILLBOARDMODE\_Y in Right-Handed System](https://forum.babylonjs.com/t/potential-issue-with-billboardmode-y-in-right-handed-system/59413)

<div class="topic-metadata">

**Author:** [@Roman\_Diadiushkin](https://forum.babylonjs.com/u/Roman_Diadiushkin)\
**Replies:** 5\
**Last updated:** [July 14, 2025, 2:44pm UTC](https://forum.babylonjs.com/t/potential-issue-with-billboardmode-y-in-right-handed-system/59413 "2025-07-14T14:44:00Z")

</div>

Hello, I’ve recently encountered a potential issue with billboard mode when using the right-handed system. Specifically, BILLBOARDMODE\_Y doesn’t appear to function as expected - it doesn’t make the mesh face the camera…

---

## [Custom active mesh determining?](https://forum.babylonjs.com/t/custom-active-mesh-determining/59401)

<div class="topic-metadata">

**Author:** [@Panuchka](https://forum.babylonjs.com/u/Panuchka)\
**Replies:** 8\
**Last updated:** [July 11, 2025, 10:48am UTC](https://forum.babylonjs.com/t/custom-active-mesh-determining/59401 "2025-07-11T10:48:51Z")

</div>

Hi everyone! Quick question; I am trying to optimize my server code once again for cpu usage. It is a bit difficult since with Bun I cannot get a debug inspect mode that I used to rely on with Node. Also JavaScriptCode …

---

## [Can't figure out drawing a border on a rectangle clearly](https://forum.babylonjs.com/t/cant-figure-out-drawing-a-border-on-a-rectangle-clearly/59438)

<div class="topic-metadata">

**Author:** [@erin\_collective](https://forum.babylonjs.com/u/erin_collective)\
**Replies:** 7\
**Last updated:** [July 8, 2025, 4:51pm UTC](https://forum.babylonjs.com/t/cant-figure-out-drawing-a-border-on-a-rectangle-clearly/59438 "2025-07-08T16:51:03Z")

</div>

I am having a lot of trouble getting a clear border around rectangles, I’ve created a playground to demo what i’m talking about, the positioning of the lines is something i can get right on my own but i can’t figure out …

---

## [LinesMesh no longer disposes shaderMaterial by default — causes memory leak in BoundingBoxGizmo](https://forum.babylonjs.com/t/linesmesh-no-longer-disposes-shadermaterial-by-default-causes-memory-leak-in-boundingboxgizmo/59194)

<div class="topic-metadata">

**Author:** [@Roman\_Diadiushkin](https://forum.babylonjs.com/u/Roman_Diadiushkin)\
**Replies:** 5\
**Last updated:** [July 3, 2025, 9:02am UTC](https://forum.babylonjs.com/t/linesmesh-no-longer-disposes-shadermaterial-by-default-causes-memory-leak-in-boundingboxgizmo/59194 "2025-07-03T09:02:40Z")

</div>

Hello! It looks like some recent changes to LinesMesh have affected how shaderMaterial is handled. Specifically, the shaderMaterial is no longer disposed automatically when the mesh is disposed. This leads to a memory …

---

## [billboardMode of sourceMesh changes instance rotation](https://forum.babylonjs.com/t/billboardmode-of-sourcemesh-changes-instance-rotation/58469)

<div class="topic-metadata">

**Author:** [@kzhsw](https://forum.babylonjs.com/u/kzhsw)\
**Replies:** 4\
**Last updated:** [May 20, 2025, 12:44am UTC](https://forum.babylonjs.com/t/billboardmode-of-sourcemesh-changes-instance-rotation/58469 "2025-05-20T00:44:16Z")

</div>

Engine: WebGL2 Version: 8.8.1 Playground: Babylon.js Playground Steps to reproduce: Open the playground: Babylon.js Playground Move camera Watch the blue box Expected: The blue box kept exactly its rotation, and d…

---

## [Cannot load an obj file](https://forum.babylonjs.com/t/cannot-load-an-obj-file/58243)

<div class="topic-metadata">

**Author:** [@DavidP](https://forum.babylonjs.com/u/DavidP)\
**Replies:** 5\
**Last updated:** [May 5, 2025, 1:19pm UTC](https://forum.babylonjs.com/t/cannot-load-an-obj-file/58243 "2025-05-05T13:19:58Z")

</div>

Hello, I cannot load obj’s from my local hard drive anymore. It used to work just a couple of days ago. Here is playground to demo the problem - click the browse button and try to load your obj file Please let me know…

---

## [Mesh free movement](https://forum.babylonjs.com/t/mesh-free-movement/57843)

<div class="topic-metadata">

**Author:** [@hbwow123](https://forum.babylonjs.com/u/hbwow123)\
**Replies:** 5\
**Last updated:** [April 16, 2025, 2:41am UTC](https://forum.babylonjs.com/t/mesh-free-movement/57843 "2025-04-16T02:41:55Z")

</div>

This is my PG： When I press and drag the sphere, it moves freely on the screen. When I click on the sphere and scroll the mouse wheel, I want to change the depth of the sphere on the screen. But it doesn’t seem to be w…

[Next page](https://forum.babylonjs.com/tag/mesh/73.md?match_all_tags=true&page=1&tags%5B%5D=mesh)
