Is there a way to make random shape of model?

For example, like make random procedural environment like minecraft, are there a way of make random shape of 3d modeling?

So there is basic 3d model like weapon, house, vehicle.
I want to make random shape of them by some variables (float, int value).

Here [random shape] means, it keeps basic shape, so everyone can see it as house (or weapon), but at details, it can having very various shape.

Yes. I would typically approach it by parametising each aspect. Say the colour, length, width ect. Then you just throw in random numbers for the parameters. If you want reproducible you can specify a seed to start with.

The techniques get more and more complex as objects get more complex. But its still the same basic technique.

How can apply this to imported 3d model from 3ds max or assetstore’s? Color seems be easy, but others… is it possible?

I would also start by letting the script know the typical transformations and aspects of the object it wants to represent. For example if it wanted to represent a sword, I would store the regular transformations and colours of a regular un edited sword. Then allow it to randomise things that you want it to change like size by using Random.Range, so that it makes the size random but keeps it within reasonable parameters… an elaborated version of BoredMormon’s answer i should think.

1 Like

Break the model up into parts. Resize, swap, retexture, tint each one randomly.

1 Like

Exactly my idea:)

How about add some pattern or decoration parts to sword? So I want to tweak the 3d model’s mesh itself.