POV-Ray : Newsgroups : povray.off-topic : Physically based rendering Server Time
23 Dec 2024 21:58:31 EST (-0500)
  Physically based rendering (Message 1 to 10 of 63)  
Goto Latest 10 Messages Next 10 Messages >>>
From: Nekar Xenos
Subject: Physically based rendering
Date: 21 Jun 2015 03:44:17
Message: <op.x0kk32qvufxv4h@xena>
Can some explain to me what exactly PBR is. In Pov-Ray terms would be nice  
:)

-- 
-Nekar Xenos-


Post a reply to this message

From: Le Forgeron
Subject: Re: Physically based rendering
Date: 21 Jun 2015 06:50:22
Message: <558696ee$1@news.povray.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Le 21/06/2015 09:44, Nekar Xenos a écrit :
> Can some explain to me what exactly PBR is. In Pov-Ray terms would
> be nice :)
> 

Best fast link from search engine about PBR:

http://radsite.lbl.gov/radiance/refer/Notes/rendering_note.html

In povray terms, it would mean: respect the reality, do not cheat even
if it is harder to model and might disappoint you.
It might mean staying away of HDR map (instead, you provide the whole
scene, even if it stay out of view but in reflection).

Lights are only placed where there is a real apparatus to provide lights
.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iJwEAQEIAAYFAlWGlu0ACgkQhKAm8mTpkW0jDwQA2iJ5s83Cmp6qercOOip3KAEF
0x8CnlTIoO0YdikyVx/2luWXRWGjvuf0H2Zi3owS9IT4F1AskHmuR72atGBqh/iN
TPX2fj7qf2K/wtxd1ZPywp3pvjVVv1tz5Yagw5gB/bdV4ZpUr/okBEKrmk6Lqrr8
c4SBUbcdKdnFfVa99oU=
=xXmW
-----END PGP SIGNATURE-----


Post a reply to this message

From: clipka
Subject: Re: Physically based rendering
Date: 22 Jun 2015 12:07:19
Message: <558832b7$1@news.povray.org>
Am 21.06.2015 um 09:44 schrieb Nekar Xenos:
> Can some explain to me what exactly PBR is. In Pov-Ray terms would be
> nice :)

PBR avoids old-school shading models and rendering algorithms that were 
designed to achieve a particular effect, and instead uses mechanisms 
that were designed to model the underlying physical processes.

POV-Ray has been heavily geared towards PBR in recent times, and UberPOV 
should by now be a viable PBR tool, provided you stick to the following 
rules:

- Don't use "ambient". Use radiosity instead, and "emission" where 
applicable.

- Don't use "phong" or "specular". Rely on reflections instead (which, 
for good results, mandates that you use blurred reflections).

- If you decide that you do need to use "phong" or "specular", prefer 
"specular", and /always/ use it in tandem with reflection, making sure 
that the parameters match: Use "specular albedo N" where N is the 
maximum reflection intensity, and use "fresnel on" or "metallic on" for 
the entire finish block just as you do in the reflection block. Also, 
make sure to specify the same "roughness" in the reflection block. 
(You'll need an up-to-date version of UberPOV for "fresnel on" in the 
entire finish block and "roughness" in the reflection block.)

- Always use "fresnel on" for reflections (don't forget to specify 
"ior"), or "metallic on" where applicable, and always use 0.0 for the 
minimum reflection (or leave it out, specifying the maximum reflection 
only).

- Don't use colours as reflection parameters. Use the "metallic" 
mechanism for this instead.

- Don't use "light_source". Use objects with "emission" (or a sky 
sphere) and radiosity instead.

- If you decide that you do need to use "light_source", always use a 
well-matching "looks_like" object with "no_radiosity on", always use 
"area_light", always use "fade_power 2" with "fade_distance" set to 
(roughly) half the area light vectors' dimensions, and always use 
"area_illumination" unless the light source is sufficiently far away. 
Also, do make use of photon mapping.

- Use "normals on" and "media on" in the radiosity settings. Use 
high-quality settings, and/or turn sample caching off (requires UberPOV).

- Don't use "filter" (unless you know what you're doing). Use a fading 
interior instead, with "fade_power 1001", or use absorbing media.

- Don't use "rainbow" (does anyone?).

- Do use a little bit of reflection on all your materials (typically 
with heavy blur).

- If something doesn't look right, don't ask "what effect can I add or 
tweak to make it look better?" but "what phyiscal properties of my scene 
have I not modelled correctly?"


As for HDR light probes, contrary to what Jerome wrote, the question of 
whether they're legit as a /sky sphere/ to avoid complex modelling is 
outside the scope of PBR; what's a no-go in PBR is using them for 
/environment mapping/ to fake reflections, but POV-Ray doesn't support 
that technique out of the box anyway. (You /could/ achieve a similar 
effect and possibly some of the speedup by using a HDR sky sphere and 
setting all objects to "no_reflection on", but environment mapping is 
also frequently used with different maps for different objects.)


The advantages of PBR are threefold:

- It takes far less time to achieve a convincing result, provided you 
have a basic understanding of the the underlying physical effects, 
because you don't need endless iterations of tweaking your material and 
light source parameters, repeatedly trying to figure out (A) what's 
still wrong about the resulting image, and (B) how to counter this with 
the knobs available (without introducing other undesired effects). With 
PBR, first of all your images will /always/ be physically consistent in 
themselves (and thus convincing in a very basic sense), and second, all 
you need to achieve a truly convincing look is to carefully examine the 
materials and light sources you intend to model and plug in the 
corresponding values. If you did it right, all you have left to do is 
worry about whether the image is pleasing, not whether it is convincing.

- You can freely combine elements from different sources. In a non-PBR 
environment, only the combination of materials and lighting can be 
assessed for whether they are convincing or not, and any attempt to set 
up some "neutral" setting to assess just one or the other is moot: To 
assess whether a lighting setup is "neutral" it would have to be tested 
with known "neutral" materials, but to assess whether a material is 
"neutral" in the first place it would have to be tested with a known 
"neutral" lighting setup - a classic hen and egg problem. In practice, 
different authors will inevitably have different ideas what a chicken 
actually is. In a PBR environment, however, a material can be assessed 
simply by checking whether the parameters plugged in match the optical 
characteristics observed in reality, without rendering even a single 
image, and the same goes for lighting setups. So even if you don't have 
the facilities to measure the exact optical chracteristics of all your 
materials and lighting setups, you can jump-start your chicken farm from 
a small set of precisely known materials and lighting setups.

- You can rely on the results being physically accurate, allowing you to 
model scenes for which you have no real-life reference image to go by. 
(Maybe one of the most spectacular examples is the black hole and 
accretion disk in the "Interstellar" movie, which was modeled solely 
from physical principles - at least as far as the distortion of 
spacetime is concerned - rather than preconceived notions of how such a 
phenomenon would look like.)


Post a reply to this message

From: Orchid Win7 v1
Subject: Re: Physically based rendering
Date: 22 Jun 2015 14:28:35
Message: <558853d3$1@news.povray.org>
On 22/06/2015 05:07 PM, clipka wrote:
> PBR avoids old-school shading models and rendering algorithms that were
> designed to achieve a particular effect, and instead uses mechanisms
> that were designed to model the underlying physical processes.
>
> POV-Ray has been heavily geared towards PBR in recent times, and UberPOV
> should by now be a viable PBR tool, provided you stick to the following
> rules:

I don't know, man. Like, in the beginning, everybody did scanline 
rendering, which is very fast and just barely capable of crudely 
approximating enough effects to be almost believable.

And then people started using ray-tracers, which "model the real 
physics" to achieve far more realistic results. They work by directly 
tracing individual rays of light, rather than trying to fake it somehow 
with clever short-cuts. Things like physically correct specular 
reflection on curved surfaces are trivial for a ray tracer, but 
notoriously difficult with scanline rendering.

...except that classical ray-tracers are *still* using short-cuts. Like 
point-lights. These do not exist in the real world, but look just about 
convincing enough that it can look OK. Or "ambient light", which is a 
crude approximation to global diffuse inter-reflection...

So people start adding hacks like photon maps and pre-computed radiosity 
to try to work around the defects.

And now, people just run unbiased renderers on the GPU which *directly* 
simulate all manner of effects like caustics and diffuse reflection 
properly, by simply computing *all* light paths by brute force...


Post a reply to this message

From: Stephen
Subject: Re: Physically based rendering
Date: 22 Jun 2015 15:30:16
Message: <55886248$1@news.povray.org>
On 22/06/2015 19:28, Orchid Win7 v1 wrote:
> And now, people just run unbiased renderers on the GPU which *directly*
> simulate all manner of effects like caustics and diffuse reflection
> properly, by simply computing *all* light paths by brute force...

My mind is blown by the graphics in Elite Dangerous Sometimes I just 
look at it and stare into space. @ 120 fps. :-)


-- 

Regards
     Stephen


Post a reply to this message

From: Orchid Win7 v1
Subject: Re: Physically based rendering
Date: 22 Jun 2015 16:26:32
Message: <55886f78$1@news.povray.org>
On 22/06/2015 08:30 PM, Stephen wrote:
> On 22/06/2015 19:28, Orchid Win7 v1 wrote:
>> And now, people just run unbiased renderers on the GPU which *directly*
>> simulate all manner of effects like caustics and diffuse reflection
>> properly, by simply computing *all* light paths by brute force...
>
> My mind is blown by the graphics in Elite Dangerous Sometimes I just
> look at it and stare into space. @ 120 fps. :-)

Uh... Isn't Elite Dangerous just a thousand parsecs of EMPTY NOTHINGNESS??


Post a reply to this message

From: Stephen
Subject: Re: Physically based rendering
Date: 22 Jun 2015 18:29:49
Message: <55888c5d$1@news.povray.org>
On 22/06/2015 21:26, Orchid Win7 v1 wrote:
> On 22/06/2015 08:30 PM, Stephen wrote:
>> On 22/06/2015 19:28, Orchid Win7 v1 wrote:
>>> And now, people just run unbiased renderers on the GPU which *directly*
>>> simulate all manner of effects like caustics and diffuse reflection
>>> properly, by simply computing *all* light paths by brute force...
>>
>> My mind is blown by the graphics in Elite Dangerous Sometimes I just
>> look at it and stare into space. @ 120 fps. :-)
>
> Uh... Isn't Elite Dangerous just a thousand parsecs of EMPTY NOTHINGNESS??

Yes, until you come to the busy bits.

Here's some empty bits

http://imgur.com/a/kmdku

-- 

Regards
     Stephen


Post a reply to this message

From: clipka
Subject: Re: Physically based rendering
Date: 22 Jun 2015 22:41:46
Message: <5588c76a$1@news.povray.org>
Am 22.06.2015 um 22:26 schrieb Orchid Win7 v1:

>> My mind is blown by the graphics in Elite Dangerous Sometimes I just
>> look at it and stare into space. @ 120 fps. :-)
>
> Uh... Isn't Elite Dangerous just a thousand parsecs of EMPTY NOTHINGNESS??

As with many things you haven't actually tried out, once again you don't 
have a clue ;)


Post a reply to this message

From: clipka
Subject: Re: Physically based rendering
Date: 22 Jun 2015 22:52:20
Message: <5588c9e4$1@news.povray.org>
Am 22.06.2015 um 22:26 schrieb Orchid Win7 v1:

>> My mind is blown by the graphics in Elite Dangerous Sometimes I just
>> look at it and stare into space. @ 120 fps. :-)
>
> Uh... Isn't Elite Dangerous just a thousand parsecs of EMPTY NOTHINGNESS??

(BTW, you don't even have the magnitude right; ED is about 30 times 
larger than that :P)


Post a reply to this message

From: Orchid Win7 v1
Subject: Re: Physically based rendering
Date: 23 Jun 2015 03:03:34
Message: <558904c6@news.povray.org>
On 23/06/2015 03:41 AM, clipka wrote:
> Am 22.06.2015 um 22:26 schrieb Orchid Win7 v1:
>> Uh... Isn't Elite Dangerous just a thousand parsecs of EMPTY
>> NOTHINGNESS??
>
> As with many things you haven't actually tried out, once again you don't
> have a clue ;)

Well, as you say, I haven't actually seen the game. But I was under the 
impression that space is black. Except for a few infinitesimal points of 
white light. Doesn't sound like an amazing visual experience. ;-)


Post a reply to this message

Goto Latest 10 Messages Next 10 Messages >>>

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