# \#vertex

**URL:** https://discourse.threejs.org/tag/vertex/734.md

[Latest](https://discourse.threejs.org/latest.md) · [Categories](https://discourse.threejs.org/categories.md) · [Tags](https://discourse.threejs.org/tags.md)

---

## [A construction-style web app (like building a cabin)](https://discourse.threejs.org/t/a-construction-style-web-app-like-building-a-cabin/87094)

<div class="topic-metadata">

**Author:** [@Parisa\_Shahbazi](https://discourse.threejs.org/u/Parisa_Shahbazi)\
**Replies:** 3\
**Last updated:** [September 21, 2025, 5:18am UTC](https://discourse.threejs.org/t/a-construction-style-web-app-like-building-a-cabin/87094 "2025-09-21T05:18:21Z")

</div>

Hi everyone, I’m building a web-based construction app using Three.js where users can create structures like a cabin. What is the best way to: Draw walls (e.g., click-drag to create rectangular walls). Allow real…

---

## [How to implement editable faces with push/pull behavior like SketchUp or Coohom in Three.js?](https://discourse.threejs.org/t/how-to-implement-editable-faces-with-push-pull-behavior-like-sketchup-or-coohom-in-three-js/85460)

<div class="topic-metadata">

**Author:** [@Parisa\_Shahbazi](https://discourse.threejs.org/u/Parisa_Shahbazi)\
**Replies:** 2\
**Last updated:** [July 24, 2025, 4:00pm UTC](https://discourse.threejs.org/t/how-to-implement-editable-faces-with-push-pull-behavior-like-sketchup-or-coohom-in-three-js/85460 "2025-07-24T16:00:30Z")

</div>

Hi everyone, I’m trying to implement a feature in Three.js similar to the Push/Pull tool in SketchUp (or the face extrusion tool in Coohom), where a user can click on a face of a 3D box, see a draggable arrow appear, an…

---

## [How to use vertexNode of NodeMaterial](https://discourse.threejs.org/t/how-to-use-vertexnode-of-nodematerial/69299)

<div class="topic-metadata">

**Author:** [@ligaofeng0901](https://discourse.threejs.org/u/ligaofeng0901)\
**Replies:** 13\
**Last updated:** [August 19, 2024, 6:53am UTC](https://discourse.threejs.org/t/how-to-use-vertexnode-of-nodematerial/69299 "2024-08-19T06:53:31Z")

</div>

I set vertexNode like this below, but It always occurs an error. And there are few examples to show how to use it. Can anyone help me please? const sphereGeometry = new THREE.SphereGeometry(1, 32, 32); const material2 =…

---

## [Point projection onto rectangular mesh](https://discourse.threejs.org/t/point-projection-onto-rectangular-mesh/66349)

<div class="topic-metadata">

**Author:** [@moxx1234](https://discourse.threejs.org/u/moxx1234)\
**Replies:** 2\
**Last updated:** [June 4, 2024, 7:36am UTC](https://discourse.threejs.org/t/point-projection-onto-rectangular-mesh/66349 "2024-06-04T07:36:39Z")

</div>

Hello everyone! I’m trying to project points on the meshes with rectangular bufferGeometry const { width, height } = this.size const vertices = new Float32Array(\[ -width / 2, 0, 0, -width / 2, height, 0, wid…

---

## [How to detect exactly collision of a Mesh has children](https://discourse.threejs.org/t/how-to-detect-exactly-collision-of-a-mesh-has-children/63057)

<div class="topic-metadata">

**Author:** [@hunghaui2310](https://discourse.threejs.org/u/hunghaui2310)\
**Replies:** 1\
**Last updated:** [March 21, 2024, 6:49am UTC](https://discourse.threejs.org/t/how-to-detect-exactly-collision-of-a-mesh-has-children/63057 "2024-03-21T06:49:50Z")

</div>

Now I’m checking the collision between Mesh. I use Vertex and Raycaster to detect the collision. const spheres = editor.scene.children; // list object from scene const box1 = spheres\[0\]; if (box1.children.length \> 0) {…

---

## [Adding video texture results in Error](https://discourse.threejs.org/t/adding-video-texture-results-in-error/58520)

<div class="topic-metadata">

**Author:** [@timogd](https://discourse.threejs.org/u/timogd)\
**Replies:** 9\
**Last updated:** [November 27, 2023, 11:43am UTC](https://discourse.threejs.org/t/adding-video-texture-results-in-error/58520 "2023-11-27T11:43:13Z")

</div>

Hey, when I add a video texture to my plane (created in Blender, imported to three.js/editor, exported as gltf) I get an error. The whole project is working with images as texture but as soon as I add a video as texture…

---

## [Update vertices base on useFrame](https://discourse.threejs.org/t/update-vertices-base-on-useframe/48000)

<div class="topic-metadata">

**Author:** [@an\_nguyen](https://discourse.threejs.org/u/an_nguyen)\
**Replies:** 9\
**Last updated:** [February 16, 2023, 4:55am UTC](https://discourse.threejs.org/t/update-vertices-base-on-useframe/48000 "2023-02-16T04:55:16Z")

</div>

Hi there, I get all vertices of the first render of an animated model. I draw a Points cloud base on that vertices. But I can’t sync that point cloud when animation running. How can I safely update? const getVertices =…

---

## [InstancedMesh Vertex Shader custom animation normals not looking correct](https://discourse.threejs.org/t/instancedmesh-vertex-shader-custom-animation-normals-not-looking-correct/47046)

<div class="topic-metadata">

**Author:** [@kanistra](https://discourse.threejs.org/u/kanistra)\
**Replies:** 0\
**Last updated:** [January 18, 2023, 9:43pm UTC](https://discourse.threejs.org/t/instancedmesh-vertex-shader-custom-animation-normals-not-looking-correct/47046 "2023-01-18T21:43:07Z")

</div>

Hi awesome humans, Question: I am using IsntancedMesh to create a cube of cubes, applied MeshStandard material and in onBeforeCompile i am modifying vertex shader to animate some cubes, but it feels like my light setup…

---

## [Any examples of vertex alpha color?](https://discourse.threejs.org/t/any-examples-of-vertex-alpha-color/44369)

<div class="topic-metadata">

**Author:** [@prominent](https://discourse.threejs.org/u/prominent)\
**Replies:** 4\
**Last updated:** [November 6, 2022, 6:32am UTC](https://discourse.threejs.org/t/any-examples-of-vertex-alpha-color/44369 "2022-11-06T06:32:25Z")

</div>

Are there any examples of using alpha with vertex colors? I can’t seem to get it to work, so I’ve been trying to see some working examples, but I can’t find any.

---

## [Find the pixel position corresponding to a vertex](https://discourse.threejs.org/t/find-the-pixel-position-corresponding-to-a-vertex/44349)

<div class="topic-metadata">

**Author:** [@Agam\_Kashyap](https://discourse.threejs.org/u/Agam_Kashyap)\
**Replies:** 0\
**Last updated:** [November 4, 2022, 2:26pm UTC](https://discourse.threejs.org/t/find-the-pixel-position-corresponding-to-a-vertex/44349 "2022-11-04T14:26:09Z")

</div>

Hi, I am rendering a 3D model using THREEjs. My project requires me to find the pixel position of the final rendered vertex. I found the following answer on stackoverflow: javascript - How Does a camera convert from cl…

---

## [Get world position of edge of rotated plane](https://discourse.threejs.org/t/get-world-position-of-edge-of-rotated-plane/41305)

<div class="topic-metadata">

**Author:** [@DYDOI](https://discourse.threejs.org/u/DYDOI)\
**Replies:** 7\
**Last updated:** [August 12, 2022, 9:48am UTC](https://discourse.threejs.org/t/get-world-position-of-edge-of-rotated-plane/41305 "2022-08-12T09:48:46Z")

</div>

Hi, again! I want to get position of edge of rotated plane . But I don’t know how to do it. Code: // I created plane let geometry = new THREE.PlaneGeometry( 80, 80); let material = new THREE.MeshBasicMaterial( {color:…

---

## [Optimize 2d spiral real-time animation](https://discourse.threejs.org/t/optimize-2d-spiral-real-time-animation/36268)

<div class="topic-metadata">

**Author:** [@nikakhachi](https://discourse.threejs.org/u/nikakhachi)\
**Replies:** 2\
**Last updated:** [March 23, 2022, 10:47am UTC](https://discourse.threejs.org/t/optimize-2d-spiral-real-time-animation/36268 "2022-03-23T10:47:41Z")

</div>

I have a spiral animation in three.js, where I have to create objects in the animation loop because I am getting object parameters real-time. The performance is not good, it becomes so laggy. How can I optimize the perfo…

---

## [Fat lines - best approach for 10k+ lines](https://discourse.threejs.org/t/fat-lines-best-approach-for-10k-lines/33939)

<div class="topic-metadata">

**Author:** [@sw43](https://discourse.threejs.org/u/sw43)\
**Replies:** 0\
**Last updated:** [January 21, 2022, 1:34pm UTC](https://discourse.threejs.org/t/fat-lines-best-approach-for-10k-lines/33939 "2022-01-21T13:34:39Z")

</div>

Hello, I need to render 10k+ complex polygons (maximum ~70k vertices each, but most of them have up to 500 verts) on 2D space with raycast. Currently im using spite/THREE.MeshLine and with merged geometries performance…

---

## [Raycasting after transform position in vertex shader](https://discourse.threejs.org/t/raycasting-after-transform-position-in-vertex-shader/22074)

<div class="topic-metadata">

**Author:** [@supah](https://discourse.threejs.org/u/supah)\
**Replies:** 3\
**Last updated:** [January 1, 2021, 5:21pm UTC](https://discourse.threejs.org/t/raycasting-after-transform-position-in-vertex-shader/22074 "2021-01-01T17:21:18Z")

</div>

Hi, I have a simple PlaneBufferGeometry with a MeshStandardMaterial. I edit its shape in an arc editing its vertex onBeforeCompile. Everything works well except the raycasting that only fire on its previous shape. How…

---

## [How to get position of a vertex on a morphed SkinnedMesh?](https://discourse.threejs.org/t/how-to-get-position-of-a-vertex-on-a-morphed-skinnedmesh/12711)

<div class="topic-metadata">

**Author:** [@Sarge](https://discourse.threejs.org/u/Sarge)\
**Replies:** 2\
**Last updated:** [February 13, 2020, 12:11pm UTC](https://discourse.threejs.org/t/how-to-get-position-of-a-vertex-on-a-morphed-skinnedmesh/12711 "2020-02-13T12:11:24Z")

</div>

I am trying to get the position of a vertex on a model for positioning another 3D object on it. Some old stackoverflow topics mention getting the info from mesh.geometry.vertices\[n\] which is not the case for the version …
