|
![](/i/fill.gif) |
David Arcoleo wrote:
>
> > #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
No I am afraid that simply is just not possible.
--
Ken Tyler
mailto://tylereng@pacbell.net
Post a reply to this message
|
![](/i/fill.gif) |