25d How to explode objects threejs

Published: 07 June 2022
on channel: 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...


On this page of the site you can watch the video online 25d How to explode objects threejs with a duration of hours minute second in good quality, which was uploaded by the user flanniganable 07 June 2022, share the link with friends and acquaintances, this video has already been watched 3,057 times on youtube and it was liked by like viewers. Enjoy your viewing!