25d How to explode objects threejs

Pubblicato il: 07 giugno 2022
sul canale di: flanniganable
3,057
like

Learn how to break up objects into smaller triangles and move the triangles in a direction to make an explosion.
Learn how to use color and velocity in BufferGeometry.
Learn how to use Tesselate Modifier in three.js.

Timestamps:
00:00 Intro/demo
00:10 Get TesselateModifier.js
00:21 How does explosion effect work? three.js
01:18 Import statements
01:37 Vertex shader, fragment shader, uniforms three.js
03:00 Basic scene setup three.js
03:18 Create BufferGeometry & modify with TesselateModifier.js
05:40 Create shaderMaterial & mesh object three.js
06:05 Animate explosion in animate loop three.js

Resources:
TesselateModifier file at GitHub:
https://raw.githubusercontent.com/mrd...

TesselateModifer example:
https://threejs.org/examples/webgl_mo...


In questa pagina del sito puoi guardare il video online 25d How to explode objects threejs della durata di ore minuti seconda in buona qualità , che l'utente ha caricato flanniganable 07 giugno 2022, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 3,057 volte e gli è piaciuto like spettatori. Buona visione!