|
![](/i/fill.gif) |
> Just for anybody who maybe isn't familiar with this feature...
> You can use matrices in POV, and they're very useful because you can
> shear (only way to do so)
#include "colors.inc"
camera {location <0, 3, -10> look_at 0 angle 60}
light_source {<0, 5, -5> color 2*White}
//sheared box
box {<-1, -1, -1>, <1, 1, 1>
pigment {checker color White, color Black}
finish {ambient .1 phong 1 phong_size 40}
rotate 45*z
scale <2, 1, 1>
rotate -27*z
translate 2*x
}
//non-sheared box
box {<-1, -1, -1>, <1, 1, 1>
pigment {checker color Black, color White}
finish {ambient .1 phong 1 phong_size 40}
translate -2*x
}
plane {y, -1
pigment {color 0.5*White}
finish {reflection .5}
}
/* neener neener neener ;-) */
Post a reply to this message
|
![](/i/fill.gif) |