POV-Ray : Newsgroups : povray.binaries.images : Help. Problem with Blob Head : Re: Help. Problem with Blob Head Server Time
19 Aug 2024 00:30:07 EDT (-0400)
  Re: Help. Problem with Blob Head  
From: Greg M  Johnson
Date: 8 Feb 2001 11:52:29
Message: <3A82CD5D.E0681695@my-dejanews.com>
"Marc A. Lavoie" wrote:

> > The main portion of the head is a cylinder component scaled down in Y and
> > matrixed to give the jaw line an upward tilt.

The matrix operation is your problem.  Without it, the demarcation in pigment
disappears.

It looks like pigments, matrices, and blobs don't work well together.    Don't
know if this is a bug or what...

Simplified version of your code below, zooming in on the chin at an angle:

#include "colors.inc"
background{Blue}
camera{location<0,1,-10> look_at<-.6,0.4,0> angle 4 }
light_source{<5,5,-20> color White*1.5}
#declare head=
        blob{   threshold .35
                cylinder{<0,-.5,0><0,1,0>,.55,10
                        scale<1,.6,1>

                        //COMMENT OUT THIS LINE TO SEE SMOOTH PIGMENT//
                        matrix< 1, 0, 0, 0, 1, 0, 0,.4, 1, 0, 0, 0>
                        //YES, THAT LINE ABOVE THIS ONE!
                        }
                sphere{<0,0,0>.3, 2 scale<1.2,.6,.5> rotate x*-45
translate<0,-.6,-.35>}

                texture{pigment{Yellow}}
           }

object{head rotate <90,90,0>}


Post a reply to this message


Attachments:
Download 'lavoiechin.jpg' (3 KB)

Preview of image 'lavoiechin.jpg'
lavoiechin.jpg


 

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