[Radiance-general] no output from optics2rad

Jack de Valpine jedev at visarc.com
Mon May 11 13:03:19 PDT 2009


Hi Chris,

One problem that I see is the name of the two materials contains a space 
after SB60. This would need to be fixed for a valid radiance material name.

-Jack

Chris Humann wrote:
> Hi Greg,
>
> I seem to have run into a similar issue as reported by Anne where 
> optics2rad only sends out the header information of the optics file.   
> I've checked the optics file and it has the "."  you describe in the 
> correct location:
>
> void  BRTDfunc    SB60 Starphire_8_front
> 10
>       0.050     0.057     0.073
>       0.795     0.815     0.777
>       0 0 0
>       .
> 0
> 9 0 0 0 0 0 0 0 0 0
>
> void  BRTDfunc    SB60 Starphire_8_back
> 10
>       0.044     0.051     0.037
>       0.795     0.815     0.777
>       0 0 0
>       .
> 0
> 9 0 0 0 0 0 0 0 0 0
>
>
> Anyone else having the same results?
> Thanks!
> Best regards,
> Chris Humann
>
>
>
> On May 9, 2009, at 2:21 PM, Greg Ward wrote:
>
>> Hi Anne,
>>
>> Thanks for sharing the file.  For some reason, Optics dropped a 
>> critical line from its output, making the actual scene description 
>> illegal and breaking the optics2rad translator.  Both BRTDfunc 
>> descriptors were missing a critical '.' in their description.  Yours 
>> look like this:
>>
>> void  BRTDfunc    ANTELIOSILVER6mm_front
>> 10
>>      0.267     0.321     0.395
>>      0.678     0.655     0.576
>>      0 0 0
>>
>> 0
>> 9 0 0 0 0 0 0 0 0 0
>>
>> when they should look like this:
>>
>> void  BRTDfunc    ANTELIOSILVER6mm_front
>> 10
>>      0.267     0.321     0.395
>>      0.678     0.655     0.576
>>      0 0 0
>>      .
>> 0
>> 9 0 0 0 0 0 0 0 0 0
>>
>> ------------
>> I don't actually know what happened to the period, but reinserting 
>> it, optics2rad works again, producing:
>>
>>
>> void BRTDfunc ANTELIOSILVER6mm
>> 10
>>        rR_clear rG_clear rB_clear
>>        0.678*tR_clear   0.655*tG_clear   0.576*tB_clear
>>     0 0 0
>>     window.cal
>> 0
>> 15 0 0 0 0 0 0 0 0 0
>>        0.267       0.321    0.395
>>        0.24        0.306    0.368
>>
>> -----------
>>
>> Best,
>> -Greg
>>
>>> From: Anne Iversen <iversen.anne at gmail.com>
>>> Date: May 9, 2009 12:52:44 PM PDT
>>>
>>> Hi Greg,
>>> The optics-file is attached. I have also attached the output piped 
>>> to a file from running optics2rad with -xv added to the first line 
>>> of the script. The file contains the output from both stdout and 
>>> stderr.
>>> The csh is the standard version(from July 13 2007) supplied with  
>>> Ubuntu.
>>> Thanks,
>>> /Anne
>>>
>>> On Sat, May 9, 2009 at 4:01 PM, Greg Ward <gward at lmi.net> wrote:
>>> Can you send me your Optics file?
>>>
>>> -Greg
>>
>> ---------
>>
>>> From: Greg Ward <gward at lmi.net>
>>> Date: May 9, 2009 7:01:43 AM PDT
>>>
>>> Can you send me your Optics file?
>>>
>>> -Greg
>>
>> _______________________________________________
>> Radiance-general mailing list
>> Radiance-general at radiance-online.org
>> http://www.radiance-online.org/mailman/listinfo/radiance-general
>
>
> _______________________________________________
> Radiance-general mailing list
> Radiance-general at radiance-online.org
> http://www.radiance-online.org/mailman/listinfo/radiance-general


-- 
# Jack de Valpine
# president
#
# visarc incorporated
# http://www.visarc.com
#
# channeling technology for superior design and construction




More information about the Radiance-general mailing list