High!
>But there's still one problem: almost all countries' flags are
> rectangles (usually at a 3:2 ratio) rather than squares, so I need to
> scale the checker cells *before* I insert the defined textures...
I got it... scaling the checker pattern and then reciprocally rescaling
the textures does the trick!
plane
{
y, 0
texture
{
scale x*1.5
pigment
{
checker
pigment { P_Flag_Palau scale 0.3 scale <2/3, 0, 0> translate
<0.42, 0, 0.5> warp { repeat x } warp { repeat z } }
pigment { P_Flag_TrinidadAndTobago scale <2/3, 0, 0> translate
x*0.65 warp { repeat x } warp { repeat z } }
}
finish { ambient 1 diffuse 0 }
}
}
See you in Khyberspace!
Yadgar
Post a reply to this message
Attachments:
Download 'procflagstest.png' (15 KB)
Preview of image 'procflagstest.png'
|