Mael wrote:
>
> after reading HW Jensen bssrdf paper (in case it'll be easy to code :) i
> have a question : one part of the algorithm requires a monte carlo
> integration with points lying on the surface around a point x0. So given a
> float value d, we need a random point xi lying on the surface at distance d
> of x0
> anyone have an idea how such points can be found in a ray-tracer (we only
> have a trace function) ?
I'm not much into Jensen's paper (although i read it some time ago) but
isn't it possible to assume the surface is locally flat?
I just had a quick look again and i think this is generally assumed
(although it's mentioned that for highly curved surfaces special
consideration is necessary)
Christoph
--
Christoph Hormann <chr### [at] gmx de>
IsoWood include, radiosity tutorial, TransSkin and other
things on: http://www.schunter.etc.tu-bs.de/~chris/
Post a reply to this message
|