POV-Ray : Newsgroups : povray.advanced-users : Surface reflection modeling : Re: Surface reflection modeling Server Time
30 Jul 2024 02:26:47 EDT (-0400)
  Re: Surface reflection modeling  
From: MikeH
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

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