POV-Ray : Newsgroups : povray.binaries.images : Tile on a floor : Re: Tile on a floor Server Time
6 Oct 2024 05:46:07 EDT (-0400)
  Re: Tile on a floor  
From: LanuHum
Date: 1 Mar 2014 13:55:01
Message: <web.53122c62745dbc337a3e03fe0@news.povray.org>
#version 3.7;

global_settings {
    assumed_gamma 1.0
    max_trace_level 3
}

background {rgbt<0.7, 0.3, 0.5, 0>}

#declare Tile_01 = pigment{ uv_mapping
    agate
    agate_turb 2
    color_map {
        [0 color rgbf<0.5,0.5,0,0>]
        [1 color rgbf<1,1,1,0>]
    }
    frequency 2
    scale -0.5
    rotate <0,90,0>
    translate <100,0,0>
}

#declare Tile_02 = pigment{ uv_mapping
    agate
    agate_turb 2
    color_map {
        [0 color rgbf<0.5,0.5,0,0>]
        [1 color rgbf<1,1,1,0>]
    }
    frequency 2
    scale 0.5
}

#declare All_tiles = pigment{ uv_mapping
    checker
    pigment{Tile_01}
    pigment{Tile_02}
    scale <0.1,0.1,0.1>
}

#declare Mortars = texture{pigment { uv_mapping
    image_map {"/home/leonid/grid.png" map_type 0 interpolate 2}}
}

#declare Floor_tex =
texture {pigment {All_tiles}}
texture {Mortars}

#declare Plane_ob =
mesh {
triangle {<-2.745,1.2e-07,2.745>,<2.745,1.2e-07,2.745>,<-2.745,-1.2e-07,-2.745>
uv_vectors <0.0001001,9.998e-05>,<0.9999,0.0001>,<9.998e-05,0.9999>}
triangle {<2.745,1.2e-07,2.745>,<2.745,-1.2e-07,-2.745>,<-2.745,-1.2e-07,-2.745>
uv_vectors <0.9999,0.0001>,<0.9999,0.9999>,<9.998e-05,0.9999>}
inside_vector <1,1,1>
}
object {Plane_ob
    texture{Floor_tex}
}


light_source {
    <4.08,5.9,-1.01>
    color rgb<1, 1, 1>
}
camera {
    location  <0, 0, 0>
    look_at  <0, 0, -1>
    right <-1.6077777759896383, 0, 0>
    up <0, 1, 0>
    angle  49.134343
    rotate  <-27.098163, 46.688390, -0.903519>
    translate <7.481132, 5.343666, 6.507640>
}


Post a reply to this message


Attachments:
Download 'povwip.png' (237 KB)

Preview of image 'povwip.png'
povwip.png


 

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.