|
|
|
|
|
|
| |
| |
|
|
From: stbenge
Subject: Proximity and subsurface scattering macros + examples
Date: 10 Aug 2008 15:48:32
Message: <489f4610@news.povray.org>
|
|
|
| |
| |
|
|
Okay, here they are! The proximity and SSS pattern macros, as seen in
p.b-images.
Full documentation is included within the inc file, so be sure to read
it carefully to avoid long parse/render times. The examples have highish
settings, and don't represent the fastest speeds achievable.
Have fun with these! You can add scuff marks to the edges, dirt to the
corners, and light scattering to the surfaces of your objects now :)
Happy rendering!
Sam
Post a reply to this message
Attachments:
Download 'fastprox.zip' (8 KB)
|
|
| |
| |
|
|
From: stbenge
Subject: Re: Proximity and subsurface scattering macros + examples
Date: 10 Aug 2008 17:12:53
Message: <489f59d5@news.povray.org>
|
|
|
| |
| |
|
|
I forgot to mention that you may get strange artifacts if the vector
right after the min/max vectors is too high. This is especially true for
curved surfaces. You will have to fiddle with it to achieve a desirable
result. The value right after than should be set to 2 or more. Higher
values give more falloff, and tend to reduce artifacts.
The patterns are 3d, so they can be used for media and isosurface
functions, although these will take a long time to render.
Also, I did not make a fastSSS3 macro to behave like fastProx3. You can
probably make one yourself by looking at the code.
That is all :)
edit:
One last thing. You can transform the object after applying a pattern to
it, but don't expect this to work very well with the SSS pattern.
For SSS you should apply your transforms *first*, and then apply the
pattern to the object and adjust the bounding box accordingly.
The proximity patterned object can be transformed anytime, as it does
not take a light position into account.
Sam
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I research this and Edouard's df3prox-0.95 , thanks for the idea and detail how
it can achieve. I'm planing to write macros with such pattern storage in .df3,
too. I want to write a slope pattern with proximity pattern at the same time.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
hi,
"And" <49341109@ntnu.edu.tw> wrote:
> I research this and Edouard's df3prox-0.95 ... I'm planing to write macros with such
pattern storage in .df3,
may be worth looking at PB's page, too:
<http://paulbourke.net/miscellaneous/povexamples/#df3>
regards, jr.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"jr" <cre### [at] gmailcom> wrote:
> hi,
>
> may be worth looking at PB's page, too:
> <http://paulbourke.net/miscellaneous/povexamples/#df3>
>
>
> regards, jr.
Thank you very much. I ever saw this page many years ago, but if you didn't
remind me, I have forgot it.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I think that I can calculate several properties together in the main loop.
1). Proximity pattern
2). Slope pattern
just like POV-Ray's slope pattern, assign a axis, then calc the slope of that
axis
3). ...
investigate the point is near or far from object surface
then output to series .df3 file.
Post a reply to this message
Attachments:
Download 'df3 pattern idea.jpg' (452 KB)
Preview of image 'df3 pattern idea.jpg'
|
|
| |
| |
|
|
|
|
| |