POV-Ray : Newsgroups : povray.general : File as Texture... Server Time
31 Oct 2024 23:31:05 EDT (-0400)
  File as Texture... (Message 1 to 2 of 2)  
From: Martin T  Thoma
Subject: File as Texture...
Date: 23 Dec 1999 10:32:44
Message: <3862407A.30F4@radiok2r.de>
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

From: Ken
Subject: Re: File as Texture...
Date: 23 Dec 1999 11:26:13
Message: <38624E32.AEF63014@pacbell.net>
"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

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