![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Message <360AE258.7BA40B66@Biosys.net>, Martial Rameaux typed...
>
>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 !
>
It seemed to look alright to me; at least, I "see" a fingernail there...
Besides that, blob component textures (those in each of the 'sphere' or
'cylinder' parts) will always *average* together where they meet.
What you may be needing is two different things: i.e., the finger-tip and
finger-nail to be two unique objects. Perhaps a cylinder CSG segment entirely
outside of the blob object, or another blob CSG.
Bob
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
Ok! Thanks for advices...But is curious behavior in csg.
<BR>If you use union or merge the distance is very great z=100 for
z=2 in blob.
<BR>If you don't use union, the distance is long z=8 for z=2.
<BR>It's very difficult to get one's bearing.
<BR> </HTML>
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |