|
 |
"Bald Eagle" <cre### [at] netscape net> wrote:
> That's all I have - for the moment.
OK - I think that also maybe the colors for your vertices are done wrong.
Make your top left and bottom right four vertices white
top right two vertices blue
bottom left two vertices green
#declare model = mesh2 {
vertex_vectors {
8,
<-0.20000000298023224,0.20000000298023224,0.20000000298023224>, // 0 Left Top
Rear
<0.20000000298023224,0.20000000298023224,0.20000000298023224>, // 1 Right Top
Rear
<0.20000000298023224,0.20000000298023224,-0.20000000298023224>, // 2 Right Top
Front
<-0.20000000298023224,0.20000000298023224,-0.20000000298023224>, // 3 Left Top
Front
<-0.20000000298023224,-0.20000000298023224,0.20000000298023224>, // 4 Left
Bottom Rear
<0.20000000298023224,-0.20000000298023224,0.20000000298023224>, // 5 Right
Bottom Rear
<0.20000000298023224,-0.20000000298023224,-0.20000000298023224>, // 6 Right
Bottom Front
<-0.20000000298023224,-0.20000000298023224,-0.20000000298023224>, // 7 Left
Bottom Front
}
texture_list {
8,
texture{pigment{rgb 1}}
texture{pigment{rgb z}}
texture{pigment{rgb z}}
texture{pigment{rgb 1}}
texture{pigment{rgb y}}
texture{pigment{rgb 1}}
texture{pigment{rgb 1}}
texture{pigment{rgb y}}
}
face_indices {
12,
<0,1,2>, 0,1,2,
<2,3,0>, 2,3,0,
<4,5,1>, 4,5,1,
<1,0,4>, 1,0,4,
<5,6,2>, 5,6,2,
<2,1,5>, 2,1,5,
<6,7,3>, 6,7,3,
<3,2,6>, 3,2,6,
<7,4,0>, 7,4,0,
<0,3,7>, 0,3,7,
<7,6,5>, 7,6,5,
<5,4,7>, 5,4,7,
}
}
Post a reply to this message
Attachments:
Download 'cube_scene.png' (23 KB)
Preview of image 'cube_scene.png'

|
 |