[Radiance-general] Glass & MTL file troubles... (or how to go from Revit to Radiance with little pain...)

Bleicher, Thomas T-Bleicher at bdp.co.uk
Thu May 11 10:11:01 CEST 2006


Jeffrey McGrew wrote:
> And actually, I've got a secret plan to make better and more
> widespread use of it where I work (Gensler).

Same thing here, though I my company _wants_ to use Radiance.
I just have to sort out the workflow first.

> 1. Revit likes to model glass as a solid plate, not a flat surface. So a
> bit of glass is a rectangular solid, not a flat plane. So when I try to
> make the windows into Illum's so that they spread light into the room,
> I'm getting errors and problems because I think it's looking for a flat
> plane with the normal pointing into the building. How important is it to
> have the Windows be a lightsource for interior renderings?

I think your looking for high quality renderings of the interior, so
you definitely want to use mkillum to restrict your scene to the interior.
If it's just a crude rendering I'd create a sky and wouldn't bother
much about the windows as light source.

> Is there some
> way, via Mkillum or something, that I could quickly work around this
> issue? I can flatten the glass in Max, but that's an extra step and one
> that seems to also cause issues with zero-area light surfaces.

You could write a script to delete polygons with material glass based
on their area (reduce 6 sides to 2) and vicinity to already checked
polygons (reduce 2 to one) but that's not going to be easy. You might
be able to edit the windows in MAX to get a Radiance friendly geometry. 

> 2. When I export out of Max, I get a .OBJ and a corresponding .MTL
> materials file. I currently use Grep and such to pull out all the
> material definition names out of the RAD file I get from OBJ2RAD, and
> then creating the .MAT radiance material file by hand. I'd love to hear
> a way to take the exported .MTL file and turn it into a starting point
> for my .MAT (short of having to write my own tool to do so...).

Please see the man page for obj2rad. The top section describes
material mapping based on the context (or material) of the face
in the obj file. If you use the same set of materials in all your
models you could create a material library and a corresponding
mapping file. Obj2rad then assigns the correct Radiance material
name (as far as I understand this point, never used it much).

> Now, we're just designers, and looking for design feedback not hard
> numbers. We'd be happy with something somewhat-accurate, for if/when we
> need 'real numbers' we'll typically turn to a lighting designer who know
> how to generate accurate numbers.

You're welcome! If you can provide Radiance geometry we might
offer a discount ... ;)


Thomas

***********************************************************************************
This e-mail, (and any attachments) is confidential and may be privileged.  It may be read, copied and used by the intended addressee only.  If you have received this in error please contact BDP immediately. 

If you have any queries, please contact the sender.
***********************************************************************************
Building Design Partnership
Registered in England No 2207415:
Registered Office: Building Design Partnership Ltd, Sunlight House, PO Box 85, Quay Street, Manchester, M60 3JA, http://www.bdp.co.uk
***********************************************************************************



More information about the Radiance-general mailing list