|
|
Christopher James Huff wrote:
> As you've found out, transforms affect the entire texture, not just the
> pattern. You can work around this though:
>
> cylinder {
> <Length1, 0, 0>, <Length2, 0, 0>, 1
> texture {
> function {
> pattern {
> gradient x
> turbulence 1
> scale 10
> }
> }
> texture_map {
> [0 T_Paper ]
> [0.5 T_Paper ]
> [0.5 T_Transparent ]
> [1 T_Transparent ]
> }
> }
> }
>
> That's a texture_map using a function pattern with a pattern function
> using a turbulated and scaled pattern as the pattern. You may need to
> declare the pattern function separately, I've ran into some oddities
> with this area of the function syntax before.
>
Wonderful! that worked perfectly. Like you say I did have to declare
the pattern function separately, but then it worked.
I really don't understand why though :-)
--
I would've gotten away with it too, if it wasn't for those pesky kids!
Post a reply to this message
|
|