POV-Ray : Newsgroups : povray.newusers : Texturing landscapes : Re: Texturing landscapes Server Time
29 Jul 2024 10:20:55 EDT (-0400)
  Re: Texturing landscapes  
From: Prodan
Date: 13 Mar 2006 04:35:01
Message: <web.44153ba2f111dca5ef7b24140@news.povray.org>
What is the best way to texture a object.

Here is the code:

#include "colors.inc"
#include "textures.inc"
#include "skies.inc"


camera {
        location <-70,40,-150>
        angle 45
        look_at <27.5,41,0>
}

light_source { <-1000,500,200> White }
background {White}

difference {
        box { <20, 0, -15>, <21, 65, -30> }
        box { <19, 51, -20>, <22, 58, -25> }
        texture {
        pigment{ image_map { jpeg "stone01.jpg" } }
        }
}

//right, front wall
box {
        <20, 0, -29>, <30, 65, -30>
        texture {
        pigment{ image_map { jpeg "stone01.jpg" } }
        }
        }

It just seems that the box is not textured properly, how can I make it
realistic?


Post a reply to this message

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