On 4 fév, 22:36, Alex <abudov
...@gmail.com> wrote:
> From its name, it seems like it was initially intended to describe a "module" hat performed purely hidden surface elimination (HSE) in an RM renderer.
> But it seems like it's used for anything from Raytracing, Photon mapping, to just regular (hidden) surface elimination.
> Is that because those aspects are tightly coupled to HSE?
Ray tracing used for primary rays is just another algorithm for hidden
surface elimination. As would be a z buffer. And it could be argued
that the primary task when generating photon maps is to figure out
which surfaces are visible to each photon (the photon hider does not
do "photon mapping" as a whole, it only does photon map generation).
The later is a bit of a stretch but I guess it was the least ugly way
to add photon map generation within the existing API.
Olivier