filmov
tv
Blender Export Particle System as glb glTF File, Blender Rain Effect glb glTF
Показать описание
Blender Export Particle System with collision and Rain effect as glb glTF
[Make Particle System Faked Death]
So first I use this script to let the particle system's instances real, make all the particles become meshes, then the important part is your model can't change vertices numbers during your animation, what does that mean? it means the particle system has a lifetime, that will make these particles be deleted, and cant export as glTF file format, so the script is to make these particles instead have a lifetime but make these "dead particles" to still exist, then simply let these "faked death particles" to display scale 0.001.
[Water animation]
This part is simple because there are no vertices numbers changed, so you take care of the physics(I use Dynamic Paint to accomplish water effect), then export only "Water Plane" as .mdd file format, then re-import it to your "Water Plane", delete the Dynamic Paint modifier, and that's it.
[Export]
The easy part, select two parts of your model, Particle System, Water Plane.
Export it as glb or glTF, then the trick part, un-check the "Group By NLA Track" function in the Animation Label part, then you did it!
*If your result model has a large amount of space after you bake Water animation, un-subdivide water plane edges, it will look a little bad but it will make the file 5~10x smaller.
Sorry for the bad English, if you have other questions, leave a comment, I will reply to you ASAP~ :D
[Make Particle System Faked Death]
So first I use this script to let the particle system's instances real, make all the particles become meshes, then the important part is your model can't change vertices numbers during your animation, what does that mean? it means the particle system has a lifetime, that will make these particles be deleted, and cant export as glTF file format, so the script is to make these particles instead have a lifetime but make these "dead particles" to still exist, then simply let these "faked death particles" to display scale 0.001.
[Water animation]
This part is simple because there are no vertices numbers changed, so you take care of the physics(I use Dynamic Paint to accomplish water effect), then export only "Water Plane" as .mdd file format, then re-import it to your "Water Plane", delete the Dynamic Paint modifier, and that's it.
[Export]
The easy part, select two parts of your model, Particle System, Water Plane.
Export it as glb or glTF, then the trick part, un-check the "Group By NLA Track" function in the Animation Label part, then you did it!
*If your result model has a large amount of space after you bake Water animation, un-subdivide water plane edges, it will look a little bad but it will make the file 5~10x smaller.
Sorry for the bad English, if you have other questions, leave a comment, I will reply to you ASAP~ :D
Комментарии