POV-Ray : Newsgroups : povray.binaries.images : Motecarlo path tracing with MegaPov 1.2.1 : Re: Motecarlo path tracing with MegaPov 1.2.1 Server Time
2 Aug 2024 20:21:30 EDT (-0400)
  Re: Motecarlo path tracing with MegaPov 1.2.1  
From: fidos
Date: 12 Feb 2008 15:45:00
Message: <web.47b20513dcec6a9f3a81b2650@news.povray.org>
Severi Salminen <sev### [at] NOTTHISsaunalahtifiinvalid> wrote:
> Nicolas Alvarez wrote:
>
> > AFAIK, this algorithm doesn't shoot rays per pixel, really. Just lots of
> > rays, and starting from the light.
> >
> > Note it's not the common "backwards raytracing" like POV-Ray has. This
> > is forwards.
>
> I think it actually does shoot rays from camera. The ray shooting
> recursive function returns when an emitting surface (or certain depth)
> is found. It actually doesn't matter (from physics point of view) where
> you start: from camera of from the light as the ray paths are identical.
I confirm, the start is from the camera, not from light.

> In brute force
> you keep on going (shooting random rays from diffuse surfaces) and you
> hope you hit a light at some point. And that is why all light sources
> must basically have surface to be able to hit.
I can't explain better. A small adding : with the use of portals, the light
source can have null surface (like light point).

Regards,
Fidos.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.