|
![](/i/fill.gif) |
Glen Berry <7no### [at] ezwv com> wrote:
: Why not? I have seen mesh files where each triangle had a unique
: pigment definition. Each line of the mesh file had a triangle
: definition followed by a pigment definition. This makes for a much
: larger mesh file, and it takes longer to parse than an uncolored mesh,
: but it does work. One doesn't *have* to #declare pigments or textures
: in advance if using something like "rgb <0.8, 0.4, 0.2>" to define the
: colors on each line is acceptable.
As Ken replied, it's not possible.
However, I can hardly believe that you had to declare a pigment for each
triangle. I don't think each triangle has a unique color. Those meshes you
are describing sound to me like they had just a few hundreds of colors.
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
![](/i/fill.gif) |