![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
How can I make the beam of light solid - code follows
light_source {
<-0, 5, 0>
color rgb <1,1,1>*30
spotlight
cylinder
point_at <0, -10, 0>
radius .5 // hotspot (inner, in degrees)
tightness 10 // tightness of falloff (1...100) lower is softer,
higher is tighter
falloff 3 // intensity falloff radius (outer, in degrees)
media_interaction on
}
cylinder{y*-10,y*10,1//was2
pigment {color rgbt 1}
interior{
media{
scattering{1,1 extinction .125}
method 3
samples 20,100
intervals 10
}
}
hollow
}
Mick
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
On Sat, 10 Nov 2001 14:50:51 -0000, Mick Hazelgrove wrote:
>How can I make the beam of light solid - code follows
> hollow
Don't make it hollow to start with. something like
colour rgb 1 transmit 0.75, make it a bit ambient and
you can do away with the media.
--
Cheers
Steve email mailto:ste### [at] zeropps uklinux net
%HAV-A-NICEDAY Error not enough coffee 0 pps.
web http://www.zeropps.uklinux.net/
or http://start.at/zero-pps
3:02pm up 33 days, 6:45, 1 user, load average: 1.01, 1.04, 1.03
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Scattering much depends on the surrounding environment, the code you posted
here looks solid in all my tests.
BTW if you use a cylinder bigger than the light beam (with non-zero
extinction) you will see the bigger cylinder absorbing part of the
background.
--
Jonathan.
"Mick Hazelgrove" <mic### [at] mhazelgrove fsnet co uk> ha scritto nel messaggio
news:3bed3e61@news.povray.org...
> How can I make the beam of light solid - code follows
>
> light_source {
> <-0, 5, 0>
> color rgb <1,1,1>*30
> spotlight
> cylinder
> point_at <0, -10, 0>
> radius .5 // hotspot (inner, in degrees)
> tightness 10 // tightness of falloff (1...100) lower is
softer,
> higher is tighter
> falloff 3 // intensity falloff radius (outer, in degrees)
> media_interaction on
> }
> cylinder{y*-10,y*10,1//was2
> pigment {color rgbt 1}
> interior{
> media{
> scattering{1,1 extinction .125}
> method 3
> samples 20,100
> intervals 10
> }
> }
> hollow
> }
>
> Mick
>
>
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |