|
|
"Greg M. Johnson" wrote:
>
> I cannot get a pointlight to interact with atmospheric media. What's up?
>
> When I put a spotlight here, it looks cool. The pointlight, however,
> doesn't do a thing....
>
> light_source{<0.005,0.00081,0.00081> color White*14
> media_interaction on}
> /*
> light_source { <0,0,0>
> color White*14
> spotlight
> radius 90
> falloff 89//28
> tightness 1
> point_at x
>
> }
> */
> media { //media scattering
> intervals 10
> scattering { 2, red 0.05 blue 0.001 green 0.02}
> samples 1, 10
> confidence 0.9999
> variance 1/1000
> ratio 0.9
> }
This works for me using your media and my camera. Turn the media_interaction
off and the media dissappears. Turn the media_interaction on and the media
appears. I don't know what your problem is but it's not Pov's fault.
#include "colors.inc"
camera {
location <0, 0, -1>
look_at <0, 0, 0>
angle 75
}
light_source{<0.005,0.00081,0.00081> color White*14
media_interaction on}
media { //media scattering
intervals 10
scattering { 2, red 0.05 blue 0.001 green 0.02}
samples 1, 10
confidence 0.9999
variance 1/1000
ratio 0.9
}
--
Ken Tyler
1100+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html
Post a reply to this message
|
|