POV-Ray : Newsgroups : povray.beta-test : triangle texture interpolation : triangle texture interpolation Server Time
31 Jul 2024 02:28:43 EDT (-0400)
  triangle texture interpolation  
From: Jérôme Grimbert
Date: 15 Sep 2001 15:40:09
Message: <3BA3A9E3.9DF1D9E2@free.fr>
Povray 3.5 beta2, Windows 98 SE, Pentium MMX, 256 Mo.

According to doc 6.7.8, there could be a comma between the texture identifiers.
But the parser refuse it.

--


camera {
  location  <0.0, 0.5, -4.0>
  direction 1.5*z
  right     x*image_width/image_height
  look_at   <0.0, 0.0,  0.0>
}

light_source {
  <-30, 30, -30>          
  color rgb <1, 1, 1>  // light's color
}
                                      
#declare T1=texture { pigment {color rgb <1,1,0>} } 
#declare T2=texture { pigment {color rgb <1,0,0>} }
#declare T3=texture { pigment {color rgb <0,1,1>} }
mesh {                                                   
triangle { <-1,0,0>,<0,1,0>,<0,0,0> texture_list { T1 T2 T3 }  }   
triangle { <0,0,0>,<0,1,0>,<1,1,0> texture_list { T3  T2 , T1 }  }   
triangle { <0,0,0>,<1,1,0>,<1,0,0> texture_list { T3 , T1 , T2 }  }   
}


Post a reply to this message

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