POV-Ray : Newsgroups : povray.newusers : Strang texture behavior : Strang texture behavior Server Time
5 Nov 2024 09:25:03 EST (-0500)
  Strang texture behavior  
From: Remco Poelstra
Date: 27 Feb 2000 16:13:59
Message: <38B9E8B4.BC3C0EE8@home.nl>
Hi,

I've created a very simple house, but the texture is strange on one site
(like it is scaled).
Here is a part of the code (just enough to see the problem):
____________________________________________________________
camera { 
    location < 0, 2, -25>
    look_at  <0,3,0>
    rotate y*90
}         
                 
light_source  { <100, 100, -100>
    color rgb 1
    rotate y*90
}


#declare Boerderij =
difference {
    box { < -4, 0, -2>, <  4, 4, 2>      
	texture {
	    pigment { brick
		scale 0.1
	    }
	}
    }
    box { <-3, 0, -2.0001>, <-1,  3,  3>        
	texture {
	    pigment { rgb 0 }
        }
    }
    box { < 0, 1, -2.0001>, < 3, 3, -1.99999>
	texture {
    	    pigment { rgb <0,0,1> }
        }
    }     
rotate <0, -90, 0>
scale <2, 2, 2>
}

object { Boerderij }
______________________________________________________________________

I hope someone can help me.

Remco Poelstra


Post a reply to this message

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