POV-Ray : Newsgroups : povray.newusers : Finishes on blobs : Re: Finishes on blobs Server Time
30 Jul 2024 00:26:33 EDT (-0400)
  Re: Finishes on blobs  
From: stm31415
Date: 21 Dec 2004 15:25:00
Message: <web.41c88588959ceca6101b172d0@news.povray.org>
>
> blob {
>  threshold 0.65
>  sphere {
>   <0,0,0>, 3, 1
>   pigment { rgb<0,0,1> }
>  }
>  cylinder {
>   <0,3,0>, <0,-3,0>, 3, 1
>   pigment { rgb<1,0,0> }
>   scale <1.3,0,0.5>
>  }
>  finish { Mirror }
> }

As far as I understand it, you can't do it qute this way; you are implying a
full texture definition (including a finish) by using the pigment{} block.
If you put the finish in both sections it works:

> blob {
>  threshold 0.65
>  sphere {
>   <0,0,0>, 3, 1
>   pigment { rgb<0,0,1> }
>  finish { Mirror }   <-----------------Like this
>  }
>  cylinder {
>   <0,3,0>, <0,-3,0>, 3, 1
>   pigment { rgb<1,0,0> }
>  finish { Mirror }  <------------------and this.
>   scale <1.3,0,0.5>
>  }
> }

Or by getting rid of the pigment definitions. The texture you are using
there will not have any pigment showing anyway, as all the light is
reflected perfectly.

-S
5TF!


Post a reply to this message

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