|
|
File as Texture...
Hello !
Is it possible, to use a picture-file (.tif, .jpg, .gif, .bmp...) as a
texture ? How ?
Regards
Martin
P.S.: Please mail your answers, too !! Thanx !
Post a reply to this message
|
|
|
|
"Martin T. Thoma" wrote:
>
> File as Texture...
>
> Hello !
>
> Is it possible, to use a picture-file (.tif, .jpg, .gif, .bmp...) as a
> texture ? How ?
You may use an image inside a pigment statement using the image_map
command. Look in the docs for specific information on using an image
map in your scene.
The basic syntax is -
#declare My_Tex =
texture {
pigment {
image_map { tga "your_image.tga" }
}
}
There is a great online tutorial on using image maps here -
http://members.xoom.com/yang4yang/pov/imap1.html
--
Wishing you Seasons Greetings, A Merry Christmas, Happy New Millennium !
Ken Tyler - 1300+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/
Post a reply to this message
|
|