POV-Ray : Newsgroups : povray.binaries.images : Three Buddhas - Multipass Rendering vs Radiosity : Re: Three Buddhas - Multipass Rendering vs Radiosity Server Time
31 Jul 2024 04:18:12 EDT (-0400)
  Re: Three Buddhas - Multipass Rendering vs Radiosity  
From: Edouard
Date: 30 Apr 2010 20:55:00
Message: <web.4bdb7b518fe449e421619a220@news.povray.org>
"Tek" <tek### [at] evilsuperbraincom> wrote:
> Stunningly realistic materials & rendering techniques. I genuinely thought
> it was a photo.

Thank-you so much.

> I'd had a similar thought about user defined cameras and stochastic
> sampling, primarily because pov's apeture shape for focal blur is a cube,
> which is unlike any camera that could ever be built! But I gave up when the
> calculations for a nice random distribution on a  5-blade iris started to
> hurt my brain. If you crack it (the problem, not my brain) I'd love to see
> the code!

Yes - POVs aperture code is pretty substandard.

I just use a pigment or a PNG image of the bokeh, and sample it with an halton
sequence. I then dim the image by the gray value returned (i.e. this sample is
76% bright, that one is 40% bright). If the value is below a threshold (e.g. 5%)
I take another sample.

The code is all in my Camera35mm macros I posted a year or so ago.

Cheers,
Edouard.


Post a reply to this message

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