Drawing a model one triangle at a time (construction anim)

How would one go about drawing a model one piece at a time to simulate the object being constructed in an RTS game?

I’ve considered moving the model below the terrain and slowly moving it up but this seems lazy, as does my other idea of just fading it in (transparency) so I came up with the triangle/quad idea.

If anyone has any insights, please feel free to share them, and thank you for any time you’re willing to give to my inquiry, happy coding :slight_smile:

(PS; put this in graphics as it seemed like more of a drawing question rather than animation in general, correct me if I’m wrong though)

If the model is animated, I’m not sure if it can be done. If it is static, then take a look at Unity’s Mesh class. You just have to add three vertices and one triangle each step.

1 Like

How are you going to set the order for the triangles to be drawn?
You could also consider using my free asset once it gets accepted on the AssetStore, although it operates not on noise textures, not triangles. It should happen soon and it is going to be free.
https://forum.unity3d.com/threads/world-space-transitions-looking-for-feedback.487060/