|
![](/i/fill.gif) |
> #declare T1 = texture { pigment { rgb<...> }}
> #declare T2 = texture { pigment { rgb<...> }}
> #declare T3 = texture { pigment { rgb<...> }}
> #declare T4 = texture { pigment { rgb<...> }}
>
> mesh {
> triangle { <...>,<...>,<...> texture {T1}}
> triangle { <...>,<...>,<...> texture {T2}}
> triangle { <...>,<...>,<...> texture {T3}}
> triangle { <...>,<...>,<...> texture {T4}}
> }
>
Thank you. I already have everything in a mesh, and it is more
efficient that way. However, because I'm using tens/hundreds of
thousands of triangles (I'm converting Mathematica-based graphics to
povray) I would like to be able to define the pigment on the same line
as the triangle, and thus avoid #declaring thousands of textures. Is
this possible in a mesh?
-Dave
Post a reply to this message
|
![](/i/fill.gif) |