|
|
In article <web.4c244575fe1b7109ac37d8490@news.povray.org>,
"samu" <sam### [at] yahoocom> wrote:
> Dear all,
>
> I'm trying to create a planar scene (with image texture) for an animation and
> part of this plane should be a rectangular checker grid (ex: 7x9).
>
> I know individually to create planar scenes with checker, but this gives me an
> infinite plane (not 7x9). I need to have the checker grid with dimensions - so
> think i can not apply an image of a checker board (7x9) as a texture to a
> polygon.
>
> So how to achieve this. Any help appreciated.
>
> Regards,
> samu
use this macro :
#macro finitePlane (xDim, zDim)
box {
<0, 0, 0>, <+xDim, 0, zDim>
pigment { checker White, Black }
finish { ambient 0.40 diffuse 0.60 }
translate <-xDim, 0, -zDim>*0.50
}
#end
use it in your scene as :
finitePlane(7,9)
there's more than one way to do it...
--
klp
Post a reply to this message
|
|