POV-Ray : Newsgroups : povray.binaries.images : Lizards pattern : Re: Lizards pattern Server Time
5 Nov 2024 13:24:01 EST (-0500)
  Re: Lizards pattern  
From: Thibaut Jonckheere
Date: 26 Mar 2009 16:39:47
Message: <49cbe813@news.povray.org>
Thank you for the explanations. Sounds like something worth trying :)

Thibaut



> 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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.