POV-Ray : Newsgroups : povray.general : Adding two images via functions...? : Adding two images via functions...? Server Time
5 Nov 2024 05:24:45 EST (-0500)
  Adding two images via functions...?  
From: Tim Nikias v2 0
Date: 16 Jun 2003 19:36:40
Message: <3eee5488@news.povray.org>
What I'm trying to do is following:
I've got two images, one in grayscale,
the other just some image. I want to
add the grayscale to the other image, so
that white areas of the grayscale are white
in the combination, and black won't change
the colored image.

There has got to be some way to do this
and to use that function as a pattern (along
with colors and all), so that I may map the
resulting function using uv-mapping onto
two triangles which cover exactly the camera's
field of view.

Thus I want to create a method of combining
specularity-image (made by my latest macros)
with an image (which has no specularity components),
and still do it all in POV.

Any hints, code-snippets, links?


-- 
Tim Nikias v2.0
Homepage: http://www.digitaltwilight.de/no_lights
Email: Tim### [at] gmxde


Post a reply to this message

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