POV-Ray : Newsgroups : povray.binaries.images : A Proceedural Mona Lisa : Re: A Proceedural Mona Lisa Server Time
3 Oct 2024 19:18:25 EDT (-0400)
  Re: A Proceedural Mona Lisa  
From: Chris Huff
Date: 16 Jan 2000 08:14:24
Message: <chrishuff_99-8E7DA0.08144816012000@news.povray.org>
In article <38817636.95721485@pacbell.net>, lin### [at] povrayorg 
wrote:

> Since Pov can read tga's directly I wonder how difficult it would be to
> patch this directly into Pov itself...

I have done something very similar to this using my eval_pigment() 
patch. Just call the eval_pigment() using the center location of each 
sphere and a pigment which uses an image_map, and use the returned color 
in a solid pigment for each sphere. The results would be the same as 
this. Plus, you can use any pigment, not just an image_map, and every 
file format POV supports is supported(not just TGA).
It also can use the interpolation built in to image_map...

And it isn't bloat, it is a useful feature which only took a small 
amount of code to implement.(although I think it currently only returns 
the rgb values, I haven't modified it to return f and t yet)

-- 
Chris Huff
e-mail: chr### [at] yahoocom
Web page: http://chrishuff.dhs.org/


Post a reply to this message

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