POV-Ray : Newsgroups : povray.newusers : Assigning different textures to triangles in a mesh : Re: Assigning different textures to triangles in a mesh Server Time
4 Nov 2024 13:42:59 EST (-0500)
  Re: Assigning different textures to triangles in a mesh  
From: Mark M  Wilson
Date: 8 Sep 2002 23:25:28
Message: <pan.2002.09.08.23.27.55.718565.1883@att.net>
On Sun, 08 Sep 2002 23:27:25 -0400, Ken wrote:

But you're saying, if I understand correctly, that with a union of
triangles, I can use a pigment OR a texture quite freely, yes?
--Mark



> What it really want's is -
> 
> #include "glass.inc"
> 
> #declare T1 = texture { pigment { Col_Glass_Winebottle }} #declare T2 =
> texture { pigment { Col_Glass_Orange }}
> 
> 
> mesh {
>         triangle {<a>, <b>, <c> texture { T1 }} triangle {<c>, <d>, <e>
>         texture { T2 }} 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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.