[Radiance-general] how to filter objects by modifier?

Lars Grobe grobe at gmx.net
Sun Mar 27 18:37:18 CEST 2005


Hi!

I want to "filter" a radiance scene by modifier. E.g. I want to remove all
objects with modifier "invisible_mod". I know that I could simply alias them
to void, however, I don't want to keep geometry in my rather large scenes
when not necessary.

I found that some translators (e.g. obj2rad) have such features during
import, however, I can't use the tool-for-everything mgfilt here and don't
know any other way to filter radiance scenes which have already been
imported.

The background for this question: I have windows objects as instances in my
scene. These are complete models of the windows including frames and glass
panes. I want to use mkillum to have the glass as light source, but as
illums cannot been instanced, I have to treat the glass panes different. My
idea was to filter the glasspanes out, the create the octree for the
instance (replamrks -i), than filter out everything except the glass pane
and place theses "objects" (in fact all the glass panes of one window) with
replmark -x. I know that I could simply have to rad-files per object for
that (one with the glass panes and one with the frame), but I have to stay
close to my CAD-files here, as the whole project consists of quite a lot of
objects.

So is there any known way to filter radiance scenes? Or should I just forget
about this and use replmarks -x for all the windows? Will add some MB to my
scene...

TIA, CU and happy easter,

Lars.



More information about the Radiance-general mailing list