|
|
I was just scripting a little macro which should make it very
easy to apply a bump-map to a camera so that you can
easily create an embossed effect of your name, like I do
on my images as seen on my homepage.
I wanted a user-friendly approach, so all you do is actually
set a position on the final image ( ranging from <0,0>, lower
left corner, to <1,1>, upper right corner), set a size for the
embossment (.25 means the width of embossment covers
a quarter of the scene, height is adjusted appropriately).
Right now, the user has to "feed" POV the actual Pixel-Size
of the Bumpmap. All this is done so that you just have a
"heightfield" of the embossment, not an image you have
to wrap across the entire scene, also making different
ratios possible.
Is there a way for POV to know the pixelsize of the loaded
image, like the "image_width" and "image_height" knows the
size of the traced image?
I haven't found anything in the docs, but maybe I'm just looking
at the wrong places.
Thanks in advance!
--
Tim Nikias
Homepage: http://www.digitaltwilight.de/no_lights/index.html
Email: Tim### [at] gmxde
Post a reply to this message
|
|