mmp / pbrt-v4

Source code to pbrt, the ray tracer described in the forthcoming 4th edition of the "Physically Based Rendering: From Theory to Implementation" book.
https://pbrt.org
Apache License 2.0
2.87k stars 448 forks source link

Underwater Scene #328

Closed lucasamparo closed 1 year ago

lucasamparo commented 1 year ago

Hi everyone. I did not find a community for this library, so I decided to ask here.

Are there some examples or tutorials for underwater scene rendering?

Thanks.

pbrt4bounty commented 1 year ago

Hi.. A simple search in google show a few scenes and tutorials.. like this: https://www.youtube.com/watch?v=mAJCvx6CHMo Cheers..

lucasamparo commented 1 year ago

Hi. Thanks for the answer.

But I'm not using Blender. I'm looking for samples using PBRT...

pbrt4bounty commented 1 year ago

I think it's difficult that someone has written a tutorial on this type of renders with Pbrt-v4 since the book was published just yesterday and I don't know of a complete implementation of this engine for any DCC's except maybe for Blender. Cheers..

lucasamparo commented 1 year ago

Any version of PBRT would be useful to give me a start point.

mmp commented 1 year ago

There is no pbrt specific documentation for rendering underwater scenes. In general you will probably want to have some sort of participating media under the water to model the fine particles in the water. Sampling lighting effectively may be tricky with the standard volumetric path tracer; a bidirectional algorithm the the BDPT integrator or perhaps the Metropolis integrator (which is built on top of the BDPT one) may be your best bet.