|
|
Le 09/03/2014 20:41, LanuHum nous fit lire :
> The cube wasn't deformed
> On the image result of a render and texture of modulate
it was rolled.
roll {
original Cube_ob
albinos
direction <1000,0,0>
maximal 300.0
minimal 0.2
modulation { Modul }
origin <2,2,2>
texture{Material_tex}
}
The center of rotation is < 2,2,2> whereas the mesh is in <-1,-1,-1> /
<1,1,1> : no problem.
The axis of rotation has a direction of +x, going thru <2,2,2>, with a
+1000 for one unit from the axis... but it is maxed at 300.
your mesh only has 8 points, so do not expect to see the grid reflected
on the final object, and yes, modulation is effective : try commenting
the modulation and see.
Second picture with :
#declare Cube_ob =
cubicle{
original box{-1,1}
accuracy 20
}
object { Cube_ob texture {pigment { color green 0.8 } } }
roll {
original Cube_ob
albinos
direction <10,0,0>
maximal 300
minimal 0.2
modulation { Modul }
origin <2,2,2>
texture{Material_tex}
}
Post a reply to this message
Attachments:
Download 'roll.png' (10 KB)
Download 'roll2.png' (56 KB)
Preview of image 'roll.png'
Preview of image 'roll2.png'
|
|