zadvorsky / three.bas

THREE.JS Buffer Animation System

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compatibility with bufferGeometry

Prayssi opened this issue · comments

Hello, i believe the compatibility with the geometry is broken.
I tried to use ModelBufferGeometry with three.TextGeometry but ModelBufferGeometry is using the three.geometry.face's property which doesn't exist anymore.
I believe threejs moved their geometries to buffergeometry

useful link: https://stackoverflow.com/questions/42141438/access-to-faces-in-buffergeometry

Hope to hearing from you soon !

Hello!

ModelBufferGeometry does indeed only work with the older Geometry class. It would be possible to rewrite, but I can't commit to a timeline for that. In the meantime, you can check out this example. You can create a Geometry instance from a BufferGeometry instance, and use that with the ModelBufferGeometry. I have an es6 export version of the older Geometry class in the examples folder of this repo (linked in the index.html of that example), which might help.

Thank you for your quick answer, your work is insane btw !
I have played a bit with the example and my project works nicely now 😄