[Radiance-general] RE: Luminaire octree
Jack de Valpine
jedev at visarc.com
Thu Jun 23 18:49:30 CEST 2005
Hi Zack,
It looks like you are getting light in your image. There seems to be a
lot of light on the floor. Perhaps it is not working the way you expect?
One thing to do that might help at least verify the spatial location,
would be to edit luminaire/hessamerica+++ca45-71r+++6500.rfl and make
sure that the light source is "light" rather than "illum." This way you
can see its location in the image. Then make a scene that only includes:
!replmarks -x luminaire/hessamerica+++ca45-71r+++6500.rfl l_ies
scene/l_ies.rad
placed in the room. This way you can see if the distribution is working
the way you expect (without the interference of actual fixture
geometry). The problem that you might be facing is the size and location
of the geometry that the distribution data is applied to vs the size and
location of the fixture geometry. You may end up needing to custom build
the geometry that represents the sources that the data is applied to.
One option to assist in this is to use the -i feature of ies2rad. This
produces a sphere with an illum material type applied to it (modified by
the distribution function). You can specify the radius of the sphere so
that it can enclose the relevant geometry of the fixture.
-Jack
Zack Rogers wrote:
> I have 4 IES files applied to each luminaire octree I want to create,
> which I think is adding complexity to this issue. I have tried what I
> think is basically the work-around method outlined. I am testing it
> with this rad file:
>
> ### test_oct.rad
> void alias l_room grey_090
> !xform scene/l_room.rad
>
> !replmarks -x parts/campo_full.rad l_test_oct scene/l_test_oct.rad
> ### end file
>
> which refers to
> ### campo_full.rad
> void alias l_reflector grey_090
> !xform scene/l_reflector.rad
>
> void alias l_metal stainless_steel
> !xform scene/l_metal.rad
>
> void alias l_glow campo_glow
> !xform scene/l_glow.rad
>
> !replmarks -x luminaire/hessamerica+++ca45-71r+++6500.rfl l_ies
> scene/l_ies.rad
> ### end file
>
> The "luminaire/hessamerica+++ca45-71r+++6500.rfl" file is basically
> the output of ies2rad (rayfrontized) for a single ies file. Since I
> have 4 of these, and the default ies2rad output is a box centered
> around the origin, i have this extra replmarks (which has used -x all
> along) to put these 4 distributions in place relative to the luminaire
> goemetry ( which is described by the xformed rad files rather than an
> instanced octree -- does this matter)
>
> I still am getting no light. in my test_oct.rad scene description.
> What am I still missing? The only octree being made is the final
> scene octree for "test_oct.rad".
>
> This url shows a low-quality rendering of the fixture I am dealing with:
> http://www.archenergy.com/services/sda/tools/campo/
>
> Thanks!
> Zack
>
>
--
# John E. de Valpine
# president
#
# visarc incorporated
# http://www.visarc.com
#
# channeling technology for superior design and construction
More information about the Radiance-general
mailing list