# Solid surface for BufferGeometry

**URL:** <https://discourse.threejs.org/t/solid-surface-for-buffergeometry/47593>\
**Category:** Questions\
**Tags:** 3d, materials, geometry\
**Created:** [February 2, 2023, 5:08pm UTC](https://discourse.threejs.org/t/solid-surface-for-buffergeometry/47593 "2023-02-02T17:08:14Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![muddv](https://avatars.discourse-cdn.com/v4/letter/m/97f17d/32.png) [@muddv](https://discourse.threejs.org/u/muddv)\
**Post date:** [March 22, 2023, 4:29pm UTC](https://discourse.threejs.org/t/solid-surface-for-buffergeometry/47593/4 "2023-03-22T16:29:08Z")

</div>

So what I ended up doing was plotting RGB points in 3d space and using Delaunay triangulation with delaunator library and example from [this thread](https://discourse.threejs.org/t/three-js-delaunator/4952). So RGB cube idea worked out in part, but I could not figure out how to deal with empty space produced by surface deformation, so triangulation was a way to go. In the end it worked out pretty well in my opinion

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/3X/5/1/513c85183cfd8cf5ff663e48119c5f60d65c5061.jpeg)

Hope this helps anyone who finds this thread in future

---

_[View the full topic](https://discourse.threejs.org/t/solid-surface-for-buffergeometry/47593)._
