POV-Ray : Newsgroups : povray.advanced-users : Surface reflection modeling Server Time
23 Dec 2024 22:29:06 EST (-0500)
  Surface reflection modeling (Message 1 to 5 of 5)  
From: Frank de Jong
Subject: Surface reflection modeling
Date: 15 Nov 2000 04:54:25
Message: <3A125EFF.2D347298@hotmail.com>
Hi,

I am interested in simulating surface reflectance from smooth dielectric
and
rough surfaces, using 'state-of-the-art' (non-Lambertian) surface
reflection
behaviour (Oren-Nayar, Wolff, He, Beckmann-Spizzichino, etc).

Can POV ray help me do this?
What kind of reflectance model(s) does POV use anyway?
Where do I add code?
Is POV able to generate scientific-grade output?
Is there FAQ or userlist for these kinds of applications?

TIA,

Frank


Post a reply to this message

From: MikeH
Subject: Re: Surface reflection modeling
Date: 15 Nov 2000 05:16:19
Message: <3A1253EE.54978CA6@aol.com>
> What kind of reflectance model(s) does POV use anyway?

Standard POV uses the lambertian model for diffuse (with a brilliance factor
for adjusting it in a non-realistic fashion) and two empirical specular
reflection models for highlights.  MegaPOV include the blinn macrofacet
model, or at least something like it.

> Where do I add code?

For adding your own models, there's lighting.c in the source.  If you want
to adjust highlights, look at do_phong and do_specular.  For diffuse
shading, there's do_diffuse.  These are used in the function diffuse().
Raytraced reflections are handled in reflect().  Any lighting model should
be easy to add if you have a reference on how it works.

> Is POV able to generate scientific-grade output?
> Is there FAQ or userlist for these kinds of applications?

Try the links pages at www.povray.org.  I seem to recall this kind of
application to be popular among many POV-Ray users.

-Mike


Post a reply to this message

From: Chris Huff
Subject: Re: Surface reflection modeling
Date: 15 Nov 2000 05:55:36
Message: <chrishuff-88C1B9.05554915112000@news.povray.org>
In article <3A125EFF.2D347298@hotmail.com>, Frank de Jong 
<fra### [at] hotmailcom> wrote:

> I am interested in simulating surface reflectance from smooth 
> dielectric and rough surfaces, using 'state-of-the-art' 
> (non-Lambertian) surface reflection behaviour (Oren-Nayar, Wolff, He, 
> Beckmann-Spizzichino, etc).
> What kind of reflectance model(s) does POV use anyway?

As mentioned, POV only does Lambertian diffuse reflection, MegaPOV also 
has a blinn highlight model. POV specular reflection(not highlights) is 
constant, MegaPOV has angle dependant and Fresnel reflection models.


> Where do I add code?

Mostly in lighting.c.


> Is POV able to generate scientific-grade output?

Depends on what you mean by "scientific-grade". POV is often used to 
produce images for visualization, and the scene language can do some 
simulations. However, there are many features that are not based on 
reality...so if you use these, forget about doing a simulation of real 
light.

-- 
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/

<><


Post a reply to this message

From: Ben Paschke
Subject: Re: Surface reflection modeling
Date: 15 Nov 2000 18:27:28
Message: <3A131CD5.3AB4CA89@rsp.com.au>
check out -

http://www.aetec.ee/fv/vkhomep.nsf/pages/povman2

-bep

Frank de Jong wrote:

> Hi,
>
> I am interested in simulating surface reflectance from smooth dielectric
> and
> rough surfaces, using 'state-of-the-art' (non-Lambertian) surface
> reflection
> behaviour (Oren-Nayar, Wolff, He, Beckmann-Spizzichino, etc).
>
> Can POV ray help me do this?
> What kind of reflectance model(s) does POV use anyway?
> Where do I add code?
> Is POV able to generate scientific-grade output?
> Is there FAQ or userlist for these kinds of applications?
>
> TIA,
>
> Frank


Post a reply to this message

From: Vahur Krouverk
Subject: Re: Surface reflection modeling
Date: 17 Nov 2000 02:03:34
Message: <3A14D8B3.B0DEA74@aetec.ee>
Ben Paschke wrote:
> 
> check out -
> 
> http://www.aetec.ee/fv/vkhomep.nsf/pages/povman2
> 
Yes, POVMan could be used for simulating different surfaces without
recoding core POV-Ray, instead one could use Shading Language. This is
good for experimenting, and if there is dare need for speed, then one
can recode shader later in C into POV-Ray core.
"Advanced RenderMan" book contains example of Oren-Nayar BRDF, shaders
from this book could be downloaded in BMRT site:
http://www.bmrt.org/arman/materials.html
Look into file locillum.h, it contains Oren-Nayar model implementation
(along with Ward Larson's anisotropic model)

HTH


Post a reply to this message

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