Peter Popov wrote:
[snip]
> Take a spherical density. Why test 30 samples against it if the ray
> doesn't pass through its bounding volume at all? Intersect the ray
> with the bounding object of the density, and if and only if there are
> intersections (they will be exactly two) go on with shooting the
> samples. The two intersection points will actually be samples of
> density 0 so they can be cached and used in the calculations so no
> redundant work will be done.
>
> I think this will speed up rendering for any value of samples/pixel
> greater than 2.
>
> Peter Popov
> pet### [at] usa net
> ICQ: 15002700
I think this would _really_ foul up some of my cloud techniques where I
use
...
density { spherical colour_map {[0 rgb 1][cloudBase rgb 0]} }
...
or
...
density { spherical frequency -1 colour_map { ... } }
...
and similar constructs.
Does nobody else use blend maps in density?
Well, just my thoughts ...
Mike Andrews.
Post a reply to this message
|