|
![](/i/fill.gif) |
On Sun, 08 Sep 2002 22:53:20 -0400, Ken wrote:
Oh. Well, I had tried to do a "test run" on a square (mesh of 2
triangles) but I had assigned only one texture to the whole mesh,
like so:
mesh {
triangle {1}
triangle {2}
texture { Col_Glass_Winebottle}
}
and it worked like that! Why does it let me use a color identifier as a
texture for the whole mesh, but not for the ind. triangles? That doesn't
really make sense to me. The docs could have been a little clearer on
that point, if you ask me....
Thanks -- you've saved me >some< head-banging. ;-)
--Mark W.
>
> You're trying to use color definitions as a texture identifier.
> Triangles in a mesh will only take a texture. To use the pre-declare
> colors listed in glass.inc you would have to use them like this -
>
> #include "glass.inc"
>
> mesh {
> triangle {<a>, <b>, <c> texture { pigment { Col_Glass_Winebottle
> }}} triangle {<c>, <d>, <e> texture { pigment { Col_Glass_Orange
> }}} etc...
> }
>
--
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GLS$ d+ s+: a C+ UL--- P L++ E--- W+ N+ o+ K- w--
O-- M- V-- PS+ PE Y+ PGP- t 5-- X- R- tv+ b+ DI++ D++
G e+++ h--- r+++ y+++
------END GEEK CODE BLOCK------
Post a reply to this message
|
![](/i/fill.gif) |