Port code from THREE.js

I want to port some code from THREE.js to PlayCanvas.
Has someone done such thing.

What is similar to this, eg:
https://threejs.org/docs/#api/en/geometries/PlaneBufferGeometry

The closest we have is the Mesh API which can be used to generate any mesh.

https://playcanvas.github.io/#graphics/mesh-generation.html

I believe we also have a createPlane function somewhere too. :thinking:

Edit: here we go:

2 Likes

@yaustar, brilliant, thanks!

Here i found this basic project
https://playcanvas.com/project/559360/overview/tutorial-procedural-mesh

1 Like