|
|
//box with image mapped on
box {0,1
pigment {
image_map {tga "starbtxt.tga" map_type 0} //use tga, png, gif, (bmp
maybe?)
}
translate <-.5,-.5,-.5> //center these
scale <3,2,1> //scale to original image width height ratio
}
This would be okay, except it will texture the box all the way through
from front to back (mirrored image on reverse side) and also show the
image boundry color on the other faces.
To circumvent that you would need to either add a second slightly larger
box with the front clipped away or map to a plane instead and clip that
with the box while also adding the box.
union {
box {0,1}
plane {z,0
pigment {
image_map {tga "starbtxt.tga" map_type 0} //use tga, png, gif, (bmp
maybe?)
}
clipped_by {box {0,1 translate -.5*z}}
} //end plane
translate <-.5,-.5,-.5> //center these
scale <3,2,1> //scale to original image width height ratio
} //end union
"Raymond C. Gilford" wrote:
>
> Hi
>
> I have a box which will be in a scene and I want to put logos, a
> starburst and text on it. The text part is no problem. I would like to
> know how to take an image like a starburst with type in it from
> Photoshop and place it on the object at a certain point.
>
> Does POV have a way of doing this or should I try importing the object
> into a modeller?
>
> Thanks a bunch,
>
> Raymond Gilford
--
omniVERSE: beyond the universe
http://members.aol.com/inversez/homepage.htm
mailto:inv### [at] aolcom?Subject=PoV-News
Post a reply to this message
|
|