|
![](/i/fill.gif) |
In article <398bdaf6@news.povray.org>, "Rune" <run### [at] iname com>
wrote:
> I really would like to be able to use an image as a pattern without
> having to create a df3 file first. Something like:
>
> pigment {density_file tga "filename.tga" [interpolate Type]
> [PIGMENT_MODIFIERS...] }
>
> From the POV-Ray documentation:
> "The syntax provides for the possibility of implementing other formats in
> the future."
>
> I hope other formats will be implemented then.
You can use an image as a pattern already, in MegaPOV. There are at
least 3 ways: image_pattern, pigment_pattern with an image_map pigment,
pigment function pattern with an image_map...
I think it would be more useful to allow a "stack" image or a group of
images to be used directly. Movie formats would also make good
additions. Like this:
density_file {tga list N
"filename1.tga",
"filename2.tga",
"filename3.tga",
...
"filenameN.tga"
[interpolate Type]
}
density_file {qt_moov|mpeg|avi "MovieFile.mov"
[interpolate Type]
}
Also, it might be nice to have movie formats as ordinary image types...
you could specify the frame number or time(with 1 being the last frame,
and 0 being the first frame). It would be an easy way to animate
image_maps.
image_map {qt_moov "MyMovie.mov" time 0.7*clock | frame int(15*clock)...
--
Christopher James Huff - Personal e-mail: chr### [at] mac com
TAG(Technical Assistance Group) e-mail: chr### [at] tag povray org
Personal Web page: http://homepage.mac.com/chrishuff/
TAG Web page: http://tag.povray.org/
Post a reply to this message
|
![](/i/fill.gif) |