POV-Ray : Newsgroups : povray.general : ??? Bright object without or with very weak shadow? Server Time
23 Dec 2024 22:40:33 EST (-0500)
  ??? Bright object without or with very weak shadow? (Message 1 to 4 of 4)  
From: substorm124
Subject: ??? Bright object without or with very weak shadow?
Date: 10 Oct 2006 20:15:01
Message: <web.452c35854a4f00385cc56ce30@news.povray.org>
Does anybody know how to make a bright object without shadow?

I am upset when I tried to plot objects (cylinder or sphere) looks bright
but with no shadow. It seems to me no way to plot a pictures without shadow
by POV-ray. Is it right? I am a scientist in physics. I want to use Pov_ray
plot 3-D pictures for my project.

here is a example:
#include "colors.inc"

//area light
//light_source{<10,10,-100> color White area_light x*8,y*8,4,4}
//light_source{<10,20,10> color shadowless}
light_source{<10,20,-1100> color White}
//background { color red 0.2 green 0.5 blue 0.1 }

camera {
   location  <    0.0,    2.0,   -100.0>
   direction <   0.0,    0.0,    20.0>
   look_at   <  0.0,    1.0,      0.0>
//   right   < 0.67,0,0>
 //  rotate <0,180,0>
}


//background
//plane{z,1000 pigment{White}}

plane{z,1000 pigment{rgb 1}
finish { brilliance 1 diffuse 1}
}


//plane{y,0 pigment{rgb 1}
 //finish { brilliance 0 diffuse 1}
//}



//cylinder{-y,y*50,20 pigment{White} finish{ambient 1} hollow}

//object to show
//cylinder{0,y*2,.5 pigment{Red}}

//object to show
union{
cylinder{0,y*4,.25 pigment{Red}}
cylinder{<-1,1,-2>,<1,1,-3>.15 pigment{Red}}
cylinder{<-1,2,-5>,<1,2,-5>.05 pigment{Red}}
//finish{ambient 0}
// finish { brilliance 1 diffuse 1}
       }


//finish{ambient 1}


Thanks,

Wanwan


Post a reply to this message

From: Warp
Subject: Re: ??? Bright object without or with very weak shadow?
Date: 10 Oct 2006 20:24:39
Message: <452c39c7@news.povray.org>
substorm124 <sub### [at] yahoocom> wrote:
> It seems to me no way to plot a pictures without shadow
> by POV-ray.

  How about simply applying "no_shadow" to the object?

-- 
                                                          - Warp


Post a reply to this message

From: StephenS
Subject: Re: ??? Bright object without or with very weak shadow?
Date: 10 Oct 2006 20:28:06
Message: <452c3a96$1@news.povray.org>
...
> light_source{<10,20,-1100> color White}
...
Change this to:
 light_source{<10,20,-1100> color White shadowless}

Stephen


Post a reply to this message

From: substorm124
Subject: Re: ??? Bright object without or with very weak shadow?
Date: 10 Oct 2006 22:55:00
Message: <web.452c5c2643cc34145cc56ce30@news.povray.org>
"StephenS" <stephen@nospam> wrote:
> ...
> > light_source{<10,20,-1100> color White}
> ...
> Change this to:
>  light_source{<10,20,-1100> color White shadowless}
>
> Stephen
thank, it works.


Post a reply to this message

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