|
 |
Op 20-2-2020 om 16:41 schreef Wijnand:
> Op 19-2-2020 om 23:17 schreef Wijnand:
>> Op 19-2-2020 om 19:15 schreef Dick Balaska:
>>> union {
>>> Â Â Â Â Â box { <0, 0, 0.01>, 1 texture {pigment {White}}}
>>> Â Â Â Â Â box { 0, <1, 1, 0.011>
>>> Â Â Â Â Â Â Â Â pigment {
>>> Â Â Â Â Â Â Â Â Â Â Â Â image_map {gif "vintage-40-vloertegel.gif"}
>>> Â Â Â Â Â Â Â Â }
>>> Â Â Â Â Â }
>>> }
>>>
>> Thanks a lot, regards...
>
> Hello Dik (?),
>
> Strange... I have made some changes to use your example for a set of
> tiles in cm (20x20x0.9 cm). The right one is yours, the left one my
> trial. Look the motive is split up in 4 parts and the parts are moved. ???
>
> My source:
>
> camera {
> Â location < 0, 50, 0>
>  look_at < 0, 0, 0>
> }
>
> object {
> Â light_source {<-100,100,-100> color White }
> }
>
>
> #declare Tile_2 =
> union {
>  box { <-0.5, -0.5, 0.045>,< 0.5, 0.5, 0.01> texture {pigment {White}}}
>  box { <-0.5, -0.5, 0.0 >,< 0.5, 0.5, 0.00001>
> Â Â Â pigment {
> Â Â Â Â Â image_map {gif "vintage-41-randtegel.gif"}
> Â Â Â }
> Â }
> Â rotate<90,0,0>
> //Â scale 20
> }
>
> #declare Tile_5 =
> union {
> Â box { <0, 0, 0.01>, 1 texture {pigment {White}}}
> Â box { 0, <1, 1, 0.011>
> Â Â Â pigment {
> Â Â Â Â Â image_map {gif "vintage-41-randtegel.gif"}
> Â Â Â }
> Â }
> Â rotate<90,0,0>
> }
>
>
> object { Tile_2 scale 20 rotate <0,180,0> translate <-20,0,0>}
> object { Tile_5 scale 20Â Â Â Â Â Â Â Â translate <10,0,-10>}
Found it, an image_map starts alway at <0,0,0>.... Grrr.
Post a reply to this message
|
 |