|
![](/i/fill.gif) |
> The problem with the first block is that the transformation is applied to the
> pigment, not the object. Correct indentation can help prevent these kind of
> mistakes. Your code is currently like this:
>
> torus {
> 3, 2
> pigment {
> granite
> scale <1,5,1>
> rotate <-45,0,0>
> translate <0,2,0>
> }
> }
>
> I think you meant this:
>
> torus {
> 3, 2
> pigment { granite }
> scale <1.5,1,1>
> rotate <-45,0,0>
> translate <0,2,0>
> }
>
> Note the placement of the curly braces.
>
>
> -Reactor
This helped out a lot :) Thank you for your time and patience. I didn't think of
putting braces around the pigment. My torus shape did shift, it looks great!
Thanks,
Lace
Post a reply to this message
|
![](/i/fill.gif) |