|
![](/i/fill.gif) |
Here is a simple mesh, made of two triangles. The mesh has a single
normal_vector, which is assigned to each vertex of each face. I would think
this would mean that the faces would take on that normal at every point, and
be shaded in the same way. However, the faces are shaded differently:
camera {
location <3,3,-5>
look_at 0
}
light_source {
<-5,5,-5>*9999
rgb .7
}
mesh2 {
vertex_vectors {
4,
<0,0,0>,x,z,x+z+y
}
normal_vectors {
1,
y
}
face_indices {
2,
<0,1,2>,<1,3,2>
}
normal_indices {
2,
<0,0,0>,<0,0,0>
}
pigment {rgb 1}
}
Am I doing something wrong, or what's going on here?
- Slime
[ http://www.slimeland.com/ ]
Post a reply to this message
|
![](/i/fill.gif) |