|
![](/i/fill.gif) |
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
|
![](/i/fill.gif) |