[Radiance-general] Re: Radiance Geometry Export

Greg Ward gregoryjward at gmail.com
Thu Jun 10 09:37:15 PDT 2010


Hi Randolph,

MGF requires that identifiers begin with a letter, and they can't  
contain spaces.  The rad2mgf program doesn't check to make sure  
identifiers are legal in MGF, so this is the problem.  You need to  
rename material and modifier names that don't begin with a letter, or  
I need to update rad2mgf to fix identifiers.

-Greg

> From: R Fritz (LBL) <RFritz at lbl.gov>
> Date: June 10, 2010 9:06:01 AM PDT
>
> Greg, when I try this (after first running the Radiance files  
> through xform to expand all the embedded commands) I see:
> $ rad2mgf expanded.rad | mgf2inv >x.vrml
> <stdin>: 36: Illegal argument value:
> m 50fin_mat =
>
> My fallback was Anselmo's script, which seems to mostly work, though  
> some geometry doesn't seem to have made it through.
>
> Wish I had the resources to write a rad23dm script, oh, well...
>
> Randolph
>
> On 2010-06-08 14:41:10 -0700, R Fritz (LBL) said:
>
>> Thanks, Greg--I think that will solve my problem.
>> On 2010-06-08 14:22:15 -0700, Greg Ward said:
>>> Hi Randolph,
>>> You can convert it to MGF and from there to VRML (Inventor 2.0)  
>>> format:
>>> 	rad2mgf input files ... | mgf2inv > combined.inv
>>> You can build these tools in ray/src/cv/mgflib if you haven't done  
>>> so already.  Textures don't come through, sadly.
>>> Best,
>>> -Greg
>>>> From: R Fritz (LBL) <RFritz at lbl.gov>
>>>> Date: June 8, 2010 2:10:12 PM PDT
>>>> I've just been handed an existing Radiance model and I'd like to  
>>>> convert the geometry to some other format (DXF? OpenNURBS/Rhino?  
>>>> SketchUp?) for study and perhaps editing. Are there any tools  
>>>> that do that?
>



More information about the Radiance-general mailing list