POV-Ray : Newsgroups : povray.newusers : pigment type : Re: pigment type Server Time
5 Nov 2024 13:23:12 EST (-0500)
  Re: pigment type  
From: Sander
Date: 3 Sep 1999 07:30:57
Message: <37cfb171@news.povray.org>
Hello Ken,
You are quick!
I hope this isn't too large.
I get 3 times the message "No pigment type given."
It must be in the material "Kolom_M", but I don't see it.
Thanks for your answers!
Sander

////////////////////////////////////////////////////////////////////////////
////////
#include "colors.inc"

#declare Kolom_M =
  material{
    texture{
      finish{
        reflection 0.1
        diffuse 0.09
        specular 0.2
        roughness 1/2
        ambient 0.15
        phong 0.1
      }
      pigment{color <0.8,0.8,0.6>}
    }
  }

sky_sphere   // sky-sphere
{                                       
  pigment{
    gradient y
    color_map{
      [ 0.5  color <0.61,0.85,0.94> ]
      [ 1.0  color <0.61,0.85,0.94>*1.5 ]
    }
  scale 2
  translate -1
  }
}  
       
#declare COL = 
union{ 
  cylinder{ <0, 0, 0>,<0, 5, 0>, 30 
    material{ Kolom_M } 
    }
  cylinder{ <0, 25, 0>, <0, 100, 0>, 22  
    material {Kolom_M } 
    }
  scale 2
  }   

camera{
  location    <2600, 150, 20600>
  look_at     <5300,  50, 20000>
  angle        15
  }

light_source { <2300, 1000, 20700> color <1, 1, 1> area_light x*300, z*300, 3, 3
looks_like{sphere{0,20pigment{color White*10}}}}
light_source { <2300, 1000, 18800> color <1, 1, 1> area_light x*300, z*300, 3, 3
looks_like{sphere{0,20pigment{color White*10}}}}

polygon {5, <-13000, 0.0, -13000>, 
            <-13000, 0.0,  37000>, 
            < 37000, 0.0,  37000>, 
            < 37000, 0.0, -13000>, 
            <-13000, 0.0, -13000>
  pigment{color Yellow}
  }


object{ COL translate < 5300, 0, 20000 > }
object{ COL translate < 5800, 0, 20000 > }
object{ COL translate < 4800, 0, 20000 > }
////////////////////////////////////////////////////////////////////////////////

Ken <tyl### [at] pacbellnet> schreef in berichtnieuws 37CF9459.AAAC70B9@pacbell.net...
> 
> 
> If your scene is a small...


Post a reply to this message

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