|
|
"fls13" <fls### [at] netzeronet> wrote:
> Never figured out how to do it, but never needed to up till now. Can anyone
> point me to a code snippet?
Here are the basics:
#declare Material1 =
material // Material1
{
texture
{
pigment
{
image_map
{
gif "C:povmap.gif"
}
scale <1.0, 1.0, 1.0>
rotate <0.0, 0.0, 0.0>
translate <0.0, 0.0, 0.0>
}
}
}
replace "C:povmap.gif" with your own path
use scale, rotate and translate to fit the bitmap onto your object
if you are using a .tga map with a transparent background Povray
automatically makes that part transparent in the rendering
Hope this helps
Hildur
Post a reply to this message
|
|