POV-Ray : Newsgroups : povray.newusers : Newbie - dont understand texture and position : Newbie - dont understand texture and position Server Time
29 Jul 2024 00:26:31 EDT (-0400)
  Newbie - dont understand texture and position  
From: TheMightyZog
Date: 1 Jun 2007 05:25:01
Message: <web.465fe4e11928f4cbff6e04e90@news.povray.org>
Hi,

I'm a real newbie (2 days old) and I do not understand why a texture is
different depending on the position of the object.

I wrote the following and would like to know what I should do to get both
walls to look the same (as I have failed with all the variations I can
think of).

Thanks

Source>>>>>>>>>>>
#declare BrickWall =
   material  // BrickWall
   {
     texture{
        pigment{ brick
                 color <1.000,1.000,1.000>    color rgb <0.815686, 0.490196,
0.05098>
                 brick_size <0.08, 0.0225, 0.0225 >
                 mortar 0.01
               }
        normal { wrinkles 0.75 scale 0.01}
        finish { diffuse 0.9 phong 0.2}
     }
    }

background { color <0.000,0.000,0.000> }

light_source {
  <0, 1.6, -3>
  color rgb <1.000, 1.000, 1.000>*0.7
  adaptive 1
  jitter
  media_attenuation on
  photons {
    reflection on
    refraction on
  }
}

#declare Camera_0 = camera {
    angle 13  // front view
    location  <0.0 , 1.1 ,-10.0>
    right     x*image_width/image_height
    look_at   <0.0 , 0.7 , 10.0>}

camera{Camera_0}

// try .1 = 1 ft  ********************

box { // LeftWall
  <-1.2134, 0, -.067>, <-.8134, 1.675, .067>
  material { BrickWall}
}
box { // RightWall
  <.8134, 0, -.067>, <1.2134, 1.675, .067>
  material { BrickWall}
}


Post a reply to this message

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