|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I'd thought about this a long time ago when I was writing my proximity pattern
code: programs like Meshlab can colour polygons based on lots of functions,
including ambient occlusion.
What What POV is missing (as far as I'm aware) is the ability to extract the
colour of a polygon and use it as a pigment. If I have a model that has each
polygon with a grayscale value based on something like AO, I'd like to be able
to use that gray value in a pigment_pattern to drive POV's more sophisticated
pigment code (grime in crevices, damage on exposed edges etc).
Does that make sense? Have I explained it clearly?
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Am 13.03.2011 22:10, schrieb Edouard:
> I'd thought about this a long time ago when I was writing my proximity pattern
> code: programs like Meshlab can colour polygons based on lots of functions,
> including ambient occlusion.
>
> What What POV is missing (as far as I'm aware) is the ability to extract the
> colour of a polygon and use it as a pigment. If I have a model that has each
> polygon with a grayscale value based on something like AO, I'd like to be able
> to use that gray value in a pigment_pattern to drive POV's more sophisticated
> pigment code (grime in crevices, damage on exposed edges etc).
>
> Does that make sense? Have I explained it clearly?
If I understand your request correctly, that feature already exists: It
is called "mesh camera". It will still require two render passes, but
should do what you want.
Note however that this is a limited solution, as it can be used for mesh
objects only.
Post a reply to this message
|
|
| |
| |
|
|
From: Jaime Vives Piqueres
Subject: Re: About Crevice Grime - Feature Request
Date: 14 Mar 2011 06:31:31
Message: <4d7dee83$1@news.povray.org>
|
|
|
| |
| |
|
|
> If I understand your request correctly, that feature already exists: It
> is called "mesh camera". It will still require two render passes, but
> should do what you want.
Yes, indeed... the mesh texture can be easily baked as a grayscale
image, which can be used then in several ways with POV-Ray textures. I
did some tests with "pseudo-AO" which were interrupted by Real Life:
http://www.ignorancia.org/uploads/tools-and-objects/mesh_camera/baking_demo_ao_bronze-verdi.jpg
http://www.ignorancia.org/uploads/tools-and-objects/mesh_camera/baking_demo_ao_marble-verdi.jpg
http://www.ignorancia.org/uploads/tools-and-objects/mesh_camera/baking_demo_ao_copper.jpg
> Note however that this is a limited solution, as it can be used for mesh
> objects only.
Which is just what Edouard requested... :)
--
Jaime Vives Piqueres
La Persistencia de la Ignorancia
http://www.ignorancia.org
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |