Troika 3D Extruded Text #594
Replies: 2 comments 3 replies
-
After messing around a bit, I realized that all I needed to do for a basic extrude is to duplicate it. I ended up using the following. Any other suggestions appreciated though.
|
Beta Was this translation helpful? Give feedback.
-
Duplicating seems like a heavy approach since it will create many components and have potentially a large perf impact. I was scanning Troika briefly and it looks like they suggest using a "DepthMaterial". There is a companion packages called troika-three-utils to help with this.
This only fakes the depth though. Actually extruding might involve having to retrieve the geometry created. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible to extrude Troika text? I'm currently working on it at https://codesandbox.io/s/troika-3d-text-via-react-three-fiber-95yw6?file=/src/index.js, but I haven't had any luck yet.
Beta Was this translation helpful? Give feedback.
All reactions