POV-Ray : Newsgroups : povray.newusers : light_source : Re: light_source Server Time
2 Nov 2024 05:20:02 EDT (-0400)
  Re: light_source  
From: sprocket
Date: 8 Sep 2004 17:50:00
Message: <web.413f7d74d9eae58548cbffb00@news.povray.org>
Hi Oleguer,
had a quick look at the file.
heres the work around.
you forgot to apply the finish to the green only the ring :)
try this script to see the difference.[START]

 #include "colors.inc"
global_settings { assumed_gamma 2 }
background { color rgb 1 }
camera { location <-10, 8, -19> look_at <0, 5, 0> }
light_source { <0, 33, 0> color White spotlight point_at <0, 0, 0> radius 50
falloff 20 tightness 0  }// My test.
light_source { <0, 19, 0> color rgb <0.5, 0.5, 0.5> }
light_source { <40, 25, 0> color rgb <1, 1, 1>
spotlight
point_at <0, 5, 0>
radius 20
falloff 20  }

#declare Reloj =
union {
  merge {
    box {<-5,0,-55>,<0,95,55>}
    cylinder{<-5,95,0>,<0,95,0>,55}
   pigment { color rgb<0,1,0> } finish{specular .51 ambient 1 diffuse
..96}//this is the main line you missed the finish only affected the ring in
the next part.
  scale 0.1}

difference {
    cylinder{<-10,95,0>,<20,95,0>,40}
    cylinder{<-11,95,0>,< 6,95,0>,36}
    pigment{color Black}
    finish {specular 2 ambient 1 diffuse .07 reflection 0.1 phong 0.3
phong_size 30}
  scale 0.1}
 }
object { Reloj rotate y*115 translate <0, 0, 0> }
// perspective (default) camera
camera {
  location  <0.0, 10.0, 55.0>
  look_at   <0.0, 0.0,  0.0>
  right     x*image_width/image_height
}

[END]


"Oleguer Vilella" <ole### [at] infonegociocom> wrote:
> Hello,
>
> I'm traying to make this object more luminous. I'm using this lights because
> I will put this object to an other scene and I need this lights.
> I was searching on the help file and I found the "Spotlights", I trayed with
> it, but it didn't work well.
>


Post a reply to this message

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