|
![](/i/fill.gif) |
Hello again!
Now my light is REALLY strange...
I have a sort of yellow thing that is stuck to the wall, butthe shadow is as
if my thing was far from the wall...
Plus, there is a brass ball that have a really strange shadow O_o
And if I apply a scale 20, the artifacts diseapear 0_o
Here is the image :
http://dragons.masters.free.fr/images/demo3.png
Here comes the code :
#include "colors.inc"
#include "textures.inc"
#include "metals.inc"
global_settings {
max_trace_level 20
}
// Change this and you will see
// that the artifacts chenge... :-S
#declare echelle = 1;
camera {
location <-0.00,-0.7957,-1.308>*echelle
look_at <-0.0,-.791,-1.30001>*echelle
}
#declare my_object = union {
union {
light_source {
<-0.22,-0.75,-1.40>
White
}
union {
box {
<0.025,-0,-1.3>
<-0.025,-0.87,-1>
}
mesh {
triangle {
<0,-0.79,-1.29999>
<0.004,-0.795,-1.29999>
<0,-0.7925,-1.303>
}
triangle {
<0,-0.79,-1.29999>
<-0.004,-0.795,-1.29999>
<0,-0.7925,-1.303>
}
triangle {
<0,-0.795,-1.29999>
<0.004,-0.795,-1.29999>
<0,-0.7925,-1.303>
}
triangle {
<0,-0.795,-1.29999>
<-0.004,-0.795,-1.29999>
<0,-0.7925,-1.303>
}
triangle {
<0,-0.795,-1.29999>
<-0.004,-0.795,-1.29999>
<0,-0.79,-1.2999>
}
triangle {
<0,-0.795,-1.29999>
<0.004,-0.795,-1.29999>
<0,-0.79,-1.29999>
}
inside_vector <0,1,0>
texture {
pigment { Yellow }
}
}
sphere {
<0,-0.7935,-1.301>
0.001
texture {
Brass_Metal
}
}
texture {
pigment { Red }
}
}
}
}
object {
my_object
scale echelle
}
Post a reply to this message
|
![](/i/fill.gif) |