|
|
On 02/10/2018 10:36 PM, Mike Horvath wrote:
> I've been reading this
>
> https://en.wikipedia.org/wiki/Miniature_faking
>
> and have been wondering how to achieve the effect in POV-Ray. Obviously,
> there is no true scale in POV-Ray, so there's no need to "fake" the
> effect. But I don't know how to construct the correct camera.
>
> Any ideas?
>
See:
http://news.povray.org/povray.binaries.images/thread/%3C57e14051%241%40news.povray.org%3E/
for a technique using a not yet adopted parser change which allowed
image_maps to be used directly in density {} blocks.
Mention it because though our documentation
http://wiki.povray.org/content/Reference:User_Defined_Pattern
doesn't yet disclose it, the new-ish 3.7.1/3.8 pigment { user_defined {
} } capability was implemented by Christoph in a way so it works for
density blocks too. Of course only the R,G,B functions do anything where
used with density {}.
This means it should be possible to implement the tilt shift technique
in the first reference by building up functions which grab the r,g,b
channels via #declare Fn... = function { pigment { image_map {...} } }
and using those functions in two density { user_defined { } } blocks in
a density_map. It's a more awkward means than using the image_maps
directly in the density blocks, but it should work.
The technique uses media blending between two densities. One blurred via
turbulence and one not.
Bill P.
Post a reply to this message
|
|