Thanks to all for your comments.
Paolo, yes, a road network would be totally feasible. Managing crossroad at
various angles could be challenging though. The rules should rather be
procedurally generated in that case.
Samuel B., marching cube is interesting too. The two algorithms differ by the
way you describe the type of elements in each cell. If you have a function to
express the types according to the coordinates, marching cube is probably the
right solution. If you're in a case where there is no way to express them but to
explicitly list them, the wave function collapse algorithm seem
to me a more appropriate algorithm.
I had just a little more time to play with it and made a celtic knots generator
(code added to the article and result attached below). I'd like to find time for
a small 3D example too, for completion, but it seems improbable...
Pascal
Post a reply to this message
Attachments:
Download 'celticknots.jpg' (65 KB)
Preview of image 'celticknots.jpg'
|