# A Studio project using three-mesh-bvh and GPUComputationRenderer

**URL:** https://forum.8thwall.com/t/a-studio-project-using-three-mesh-bvh-and-gpucomputationrenderer/6104
**Category:** Made with 8th Wall
**Created:** [April 17, 2025, 3:31am UTC](https://forum.8thwall.com/t/a-studio-project-using-three-mesh-bvh-and-gpucomputationrenderer/6104 "2025-04-17T03:31:00Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Ken\_Mitsui](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.8thwall.com/ken_mitsui/32/163_2.png) [@Ken\_Mitsui](https://forum.8thwall.com/u/Ken_Mitsui)
#### Post date: [April 17, 2025, 3:31am UTC](https://forum.8thwall.com/t/a-studio-project-using-three-mesh-bvh-and-gpucomputationrenderer/6104/1 "2025-04-17T03:31:00Z")

</div>

I’ve just made the “Too Hot for Yokai” project (originally built for the Real‑World Impact Challenge) available as Cloneable Code.

> **[Too Hot for Yokai | Bench.co.,ltd | 8th Wall](https://www.8thwall.com/bench/vps-point-gpgpu/code/)**
>
> Global warming is also affecting Yokai(Japanese Monster).
> Compare the yokai at today's temperature with those at temperatures 10 years ago.

In this project, we run a flocking simulation over the bufferGeometry we get from reality.meshfound, so the flock actually moves across the mesh surface. Specifically:

1. For each vertex position, we use **three-mesh-bvh** to find the nearest vertex on the mesh, then grab its position and normal.
2. When running the flocking calculation with **GPUComputationRenderer** , we feed in each vertex’s nearest‑mesh data from step 1, so the flock moves _along_ the mesh.

In short, three-mesh-bvh lets you express movement constrained to a mesh, and you can absolutely do GPU‑based computations with GPUComputationRenderer in Niantic Studio, too.

I realize most people probably won’t care, but if anyone does need it, feel free to check out the code.

I can’t offer support, but if you pass the code to an AI it should be smart enough to pick it up and run with it.

I am grateful for the support team’s efforts.  
Here’s to 8thWall taking off and sparking all kinds of awesome new projects!

---

<div class="post-metadata">

### Author: ![Samuel\_Jones](https://avatars.discourse-cdn.com/v4/letter/s/c77e96/32.png) [@Samuel\_Jones](https://forum.8thwall.com/u/Samuel_Jones)
#### Post date: [July 18, 2025, 6:27pm UTC](https://forum.8thwall.com/t/a-studio-project-using-three-mesh-bvh-and-gpucomputationrenderer/6104/2 "2025-07-18T18:27:42Z")

</div>

Wow! this is amazing!
