|
![](/i/fill.gif) |
In article <3e8bf222$1@news.povray.org>, "Mael" <mae### [at] hotmail com>
wrote:
> I don't know if it'd be easy to implement but it could be a plus to know
> which object is intersected to allow postprocessing on limited part of the
> output. Something like
>
> sphere { ... object_id 1 }
> box { ... object_id 2 }
>
> f_output_iobject_id : return 1 if intersection is on the sphere, 2 for the
> box..
A better idea might be some group label.
sphere { ... object_groups "mask A", "mask B" }
box { ... object_groups "high AA" }
And then have exclude_groups and include_groups options for the filters,
and/or filters that use the groups for other things like masks.
Hmm, a shorter possible alternate syntax:
sphere { ... }: "mask A", "mask B"
box { ... }: "high AA"
--
Christopher James Huff <cja### [at] earthlink net>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tag povray org
http://tag.povray.org/
Post a reply to this message
|
![](/i/fill.gif) |