vendredi 15 avril 2011

At least, the L-System for Shape modeling

I now got a social map (invisible on the pics), a road graph of major and minor segments and a ground division.

Any division will be called initial shape, and will be the first data given to my new L-System.

The principle is quite simple : the procedural engine now get a list of shape, which store some geometry info and a single production rule. If the rule is not empty, it apply it to the shape that store it. The rule will transform this shape in one or more shapes, and assign next (or recursive) rules to the successor. Then, the procedural engine get these successors and so on.

This engine is not that easy to manage at the beginning, but it is very powerfull and have no limit. I can create as many rule as I need, and call in any modelisation path I decide.

Here is an exemple of the whole process from graph to divisions, envelopes and detailled shapes.



Aucun commentaire:

Enregistrer un commentaire