Question-and-Answer Resource for the Building Energy Modeling Community
Get s tarted with the Help page
Ask Your Question

Is there a best practice of some sort for setting the ZONE= parameter in a .rif file ?

asked 2015-09-22 17:03:16 -0500

updated 2015-09-22 21:14:42 -0500

I am trying to render multiple scenes inside and outside a room using the rad program. Interior and exterior scenes are handled in separate runs and the view files for each case are different as well. The room is surrounded by 3d shapes that are proxies for buildings. Is there a way that I can get the values for x,y,z coordinates that follow the I or E after ZONE= ?

My geometry is split into separate files according to material type. I am currently getting the coordinates through getbbox. For example,

!getbbox interiorwalls.rad ceiling.rad floor.rad #for interior scene

!getbbox Scene.rad #for exterior scene.Scene.rad references the entire geometry using xforms.

I understand that I can measure the coordinates manually in the 3d model, however, I was just curious to know if there is a shortcut and if getbbox is indeed the way to go.

Thanks, Sarith

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-09-23 10:33:46 -0500

Getbbox is indeed the way to go for obtaining the extents of your geometry. You're doing the right thing by creating separate .rif files for interior and exterior views/calculations. What's the issue with just using getbbox? If you're looking for a more automated way to get those coordinates into your .rif file you could just put a call to getbbox in a rendering/calculation pipeline script, that calls getbbox, stores the extents coordinates, and then reads the whole rif file in and modifies the ZONE line.

I would encourage you to read up on the ambient exclude stuff (-ae option to many of the tools) to keep the ambient rays from getting totally out of hand when including far-reaching exterior shading geometry.

edit flag offensive delete link more


Thanks Rob. I did not find any mention about using getbbox for this purpose on the manpage for rad or in Rendering with Radiance so I wasn't sure if I was doing the right thing.

Sarith gravatar image Sarith  ( 2015-09-23 15:08:11 -0500 )edit

You don't necessarily want to pass the entire scene to getbbox to get the exterior zone, which is meant to surround the object of interest. If you have a large ground plane or surrounding buildings, sometimes it's best just to give the exterior geometry for the subject building to compute the exterior zone.

GregWard gravatar image GregWard  ( 2015-09-23 18:52:45 -0500 )edit

Thanks Greg !..

Sarith gravatar image Sarith  ( 2015-09-23 21:05:32 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer


Question Tools

1 follower


Asked: 2015-09-22 17:03:16 -0500

Seen: 152 times

Last updated: Sep 23 '15