|
|
I've got a lightning include file and I am working onadding
atmospheric lighting effects, but I've run into a few problems.... I
first tried rendering a light source at every bend of the lightning....
This resulted in approximately 250 light sources, although rendering
slowly, the light sources stopped interacting with the atmosphere after
about 50-60 lights (I never calculated it exactly as I moved on to try
other things).... Then I tried reducing the number of lights to every
3rd or 4th bend and only on the main branch which resulted in good
lighting effects in the atmosphere, but an odd "layered" look at
eye-level.... Then I tried the "looks_like" in the light definition and
tried to use the entire bolt as a a light and the atmospheric effects
turned off all together..... Anyone have any idea how to bypass these
problems? (I'm using 3.04POVray for Windows95)
just me,
jeff
`._`.*.'_._ ____.____ Jeffry J. Brickley
* .o o.* `.`. +. . jbr### [at] geocitiescom
` |\^/| `. * . * ` Magic is REAL, unless declared INTEGER.
`.. \U/ . + http://www.geocities.com/CapeCanaveral/Hangar/9078/
`. /_\ .`. http://www.geocities.com/SiliconValley/Pines/3210
Post a reply to this message
|
|
|
|
Jeffry J. Brickley <bri### [at] geocitiescom> wrote in article
<3575977C.8D97A7EC@geocities.com>...
> I've got a lightning include file and I am working onadding
> atmospheric lighting effects, but I've run into a few problems.... I
> first tried rendering a light source at every bend of the lightning....
> This resulted in approximately 250 light sources, although rendering
> slowly, the light sources stopped interacting with the atmosphere after
> about 50-60 lights (I never calculated it exactly as I moved on to try
> other things).... Then I tried reducing the number of lights to every
> 3rd or 4th bend and only on the main branch which resulted in good
> lighting effects in the atmosphere, but an odd "layered" look at
> eye-level.... Then I tried the "looks_like" in the light definition and
> tried to use the entire bolt as a a light and the atmospheric effects
> turned off all together..... Anyone have any idea how to bypass these
> problems?
Looks_like does not solve your problem. It does not make the entire object
into a light - it just prevents that one object from blocking the light or
being illuminated by it.
Unless you want the lighting to work properly with a pinhole camera or
other simulated optics, you need nowhere near that many lights. If you use
(say) a 10x1 area light with "adaptive" and "jitter" turned on, lined up
approximately
with your lightning bolt, you will probably not be able to see the
difference and it will run very fast, compared with even a 50-light array.
Your "layered" look is not because of too few lights, I suspect, though
using a lot of them might cure the problem at a mighty cost. Rather it is
likely to be because of not having your atmosphere parameters set
optimally. Try using jitter, adaptive, and antialiasing here, too.
-Robert Dawson
Post a reply to this message
|
|