[Open Source] Simple Defold Mesh Component Examples

show some buffer and mesh examples

show backface culling

show how to use script to control mesh by change buffer

8 Likes

What kind of things/effects can be achieved with mesh component? I have never been using it so far :flushed_face:

2 Likes

Mesh Component is actually very powerful and can do a lot. However, I’m only just starting to learn about this component myself, so I can’t answer your question perfectly right now. But Now I can share some interesting examples with you, and I’ll also be releasing more examples of Mesh Component in the future.

4 Likes

Mesh Component is definitely worth your time to learn. :grinning_face:

1 Like

All kinds of animated 3D (and 2D as well) effects, like e.g. Water waves, waving flags, clothes even, basically every geometry that is modified in runtime, procedurally generated content (terrain, trees, rocks, roads, rivers, etc), some vfx like tornado, fire, etc. Imagine you have possibility to modify every point creating the 2D/3D mesh and what can you do with this and shaders​:wink:

Definitely worth checking out when starting with meshes:

5 Likes

Using Mesh component to make water waves sounds very interesting, I’ll have a try later :grinning_face:

2 Likes

当物体的形状需要根据程序发生变化时,就可以考虑使用Mesh组件了。比如,水面、旗子、软体、山路、随风摆动的草或树木等等


When the shape of an object needs to change according to the program, you can consider using the Mesh component. Examples include water surfaces, flags, soft objects, mountain paths, grass or trees swaying in the wind, etc.

Cool, a powerful component with exciting effects to achieve! Thanks everybody! :blush:

2 Likes

The part towards the end of the presentation about how meshes were used in Mad Skills Motocross 2 on Poki shows a very good usecase for meshes:

7 Likes