POV-Ray : Newsgroups : povray.general : How get two # colors in blob ? Server Time
5 Nov 2024 11:18:16 EST (-0500)
  How get two # colors in blob ? (Message 1 to 1 of 1)  
From: martial rameaux
Subject: How get two # colors in blob ?
Date: 24 Sep 1998 01:17:12
Message: <3609C7AF.E3CBCC88@Biosys.net>
Bonjour.
In a blob
I wanna got one color different of the main.
In a finger the texture of the nail different of the Hand.
but the two texture are always dissolved.

for sample:

//====================================
#default { finish { ambient 0.5}}
#declare T_ongle=texture { pigment {color rgb 1} }
#declare T_doigt=texture { pigment {color rgb <0.8,0.5,0.5> }} 
camera { location <0,10,-5> look_at <0,0,0>}   
light_source { 0*x color rgb 1 translate <0,40,-20> }
        
blob {  
        threshold 0.60
//--------index
              sphere   { <0.50,-.10,0.0>,0.2,1.2  }           // (1) 
              cylinder { <0.50,   0,  0>,<0,1.5,0>,1.0,1 }     // (2)
              cylinder { <   0, 1.5,  0>,<0,3,0>,1.0,1 }      // (3)
              cylinder { <0,3,0>,<1.5,3.8,-.1>,1.0,1.}       

//---------reduction des noeuds et faisons des ongles  
                   
              sphere { <0.0,-.18, 0.0>,0.5,-0.32 texture {T_ongle }}
//nail texture
//(1)  index
                   
              sphere { <0.0, 1.5, 0.0>,1,-1 }          //(2)
              sphere { <0.0, 3.0, 0.0>,1,-1 }          //(3)
                  
     texture { T_doigt }  // main texture
     rotate y*-90 
     rotate x*60
  }
//======================  


The two texture are also blob. 

what can I make ?  
Thanks !


Post a reply to this message

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