|
|
Thibaut Jonckheere <tua### [at] MAPSONyahoofr> wrote:
> I like it !
>
> and I would be interested by the method and the include file
Well, the method's not complicated, although maybe a little tedious (I did say
'relatively' quick!). Import the source image into inkscape, and trace the
fundamental repeating shape. Not the 'unit cell' of the pattern, just one
light/dark pair - in the case of the lizards, this was one complete lizard plus
the spine and eyes from the neighbour. Combine the paths. Export to POV-Ray. A
few trials (and errors) should allow you to copy and rotate the prism
sufficient to fill a unit cell. Many of them will be off the edge of the unit
cell, but no matter. Then, use an object pattern based on a union of the
prisms, and use repeat warps in x and z to populate the plane.
Some care is needed during tracing to make sure the bits of the shapes line up
with each other, but you can get away with some errors - look closely at the
lizards.
This assumes the unit cell is rectangular - I'm not sure how to approach the
hexagonal/rhomboidal patterns yet.
Bill
Post a reply to this message
|
|