[Radiance-general] Radiance-general Digest, Vol 136, Issue 16

zhekong kongzhewode at gmail.com
Sun Jun 14 15:20:26 PDT 2015


Hi Greg:
You’re correct! It works right now. 
Thank you very much!

Zhe 
> On Jun 14, 2015, at 2:00 PM, radiance-general-request at radiance-online.org wrote:
> 
> Send Radiance-general mailing list submissions to
> 	radiance-general at radiance-online.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://www.radiance-online.org/mailman/listinfo/radiance-general
> or, via email, send a message with subject or body 'help' to
> 	radiance-general-request at radiance-online.org
> 
> You can reach the person managing the list at
> 	radiance-general-owner at radiance-online.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Radiance-general digest..."
> 
> 
> Today's Topics:
> 
>   1. Question concerning genprism (Zhe Kong)
>   2. Re: Question concerning genprism (Greg Ward)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Sat, 13 Jun 2015 19:28:56 -0500
> From: Zhe Kong <kongzhewode at gmail.com>
> To: radiance-general at radiance-online.org
> Subject: [Radiance-general] Question concerning genprism
> Message-ID:
> 	<CAEV5NyeCS8xOv9eT1QJczUU=EmCaBPuAkSB=hEMs6KN0o8x2_A at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
> 
> Hi all:
> I?m learning Radiance and ran into an issue concerning genprism. According
> to the book, I typed down the command below. Whenever I tried to oconv the
> material1.rad & stool_1.rad, it gives me errors below. Someone using Linux
> system can fix the issue by setting the PATH environment. I already set the
> PATH, RAYPATH, and MANPATH in both .profile and .bashrc. I?m wondering if
> there?s any other way of solving the problem.
> Thank you in advance.
> Zhe
> 
>    Error below:
>    T1 > more ./lib/stool_1.rad
>    # stool_1.rad
>    brown_satin_paint polygon stool_top
>    0
>    0
>    12    -0.75  -0.75   2.6
>           0.75  -0.75   2.6
>           0.75   0.75   2.6
>           -0.75  0.75   2.6
>    # using the modifier brown_satin_paint. create a polygon. named
> stool_top
>    !genprism brown_satin_paint stool_leg_se \
>             4  0.7 -0.7  0.7 -0.6  0.6 -0.6  0.6 -0.7  -l 0 0 2.5
>    !genprism brown_satin_paint stool_leg_ne \
> 
> - Ignored:
>             4  0.7 0.7  0.6 0.7  0.6 0.6  0.7 0.6  -l 0 0 2.5
> 
>    !genprism brown_satin_paint stool_leg_nw \
>             4  -0.7 0.7  -0.7 -0.6  -0.6 0.6  -0.6 0.7  -l 0 0 2.5
> 
>    !genprism brown_satin_paint stool_leg_sw \
>             4  -0.7 -0.7  -0.6 -0.7  -0.6 -0.6  -0.7 -0.6  -l 0 0 2.5
> 
>    T1 > oconv material1.rad ./lib/stool_1.rad > stool_1.oct
>     : cannot open
>    oconv: warning - (!genprism brown_satin_paint stool_leg_se \ ): empty
> file
>    oconv: fatal - (./lib/stool_1.rad): undefined modifier "4"
>    T1 > oconv material1.rad ./lib/stool_1.rad > stool_1.oct
>    Usage: genprism material name { - | vfile | N v1 v2 .. vN } [-l
> lvect][-r radius][-c][-e]
>    oconv: warning - (!genprism brown_satin_paint stool_leg_se\ ): empty
> file
>    oconv: fatal - (./lib/stool_1.rad): undefined modifier "4"
> 
> -- 
> *Zhe Kong*
> *PhD Student*
> *University of Wisconsin - Milwaukee *
> *School of Architecture and Urban Planning *
> *2131 E. Hartford Ave, Milwaukee, WI 53211 *
> *Office 327*
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://www.radiance-online.org/pipermail/radiance-general/attachments/20150613/03ef407b/attachment-0001.html>
> 
> ------------------------------
> 
> Message: 2
> Date: Sat, 13 Jun 2015 18:49:09 -0700
> From: Greg Ward <gregoryjward at gmail.com>
> To: Radiance general discussion <radiance-general at radiance-online.org>
> Subject: Re: [Radiance-general] Question concerning genprism
> Message-ID: <44F5F61E-5609-4240-A1D0-147A2EBE2387 at lmi.net>
> Content-Type: text/plain; charset="windows-1252"
> 
> Try removing the "\" and just joining the lines in your file, like so:
> 
> # using the modifier brown_satin_paint. create a polygon. named stool_top
> !genprism brown_satin_paint stool_leg_se  4  0.7 -0.7  0.7 -0.6  0.6 -0.6  0.6 -0.7  -l 0 0 2.5
> 
> I'm guessing that the Windows command line doesn't like the escaped newlines.
> 
> -Greg
> 
>> From: Zhe Kong <kongzhewode at gmail.com>
>> Subject: [Radiance-general] Question concerning genprism
>> Date: June 13, 2015 5:28:56 PM PDT
>> 
>> Hi all:
>> I?m learning Radiance and ran into an issue concerning genprism. According to the book, I typed down the command below. Whenever I tried to oconv the material1.rad & stool_1.rad, it gives me errors below. Someone using Linux system can fix the issue by setting the PATH environment. I already set the PATH, RAYPATH, and MANPATH in both .profile and .bashrc. I?m wondering if there?s any other way of solving the problem.
>> Thank you in advance.
>> Zhe
>> 
>>    Error below:
>>    T1 > more ./lib/stool_1.rad
>>    # stool_1.rad
>>    brown_satin_paint polygon stool_top
>>    0
>>    0
>>    12    -0.75  -0.75   2.6
>>           0.75  -0.75   2.6
>>           0.75   0.75   2.6
>>           -0.75  0.75   2.6
>>    # using the modifier brown_satin_paint. create a polygon. named stool_top
>>    !genprism brown_satin_paint stool_leg_se \
>>             4  0.7 -0.7  0.7 -0.6  0.6 -0.6  0.6 -0.7  -l 0 0 2.5
>>    !genprism brown_satin_paint stool_leg_ne \
>> 
>> - Ignored:
>>             4  0.7 0.7  0.6 0.7  0.6 0.6  0.7 0.6  -l 0 0 2.5
>> 
>>    !genprism brown_satin_paint stool_leg_nw \
>>             4  -0.7 0.7  -0.7 -0.6  -0.6 0.6  -0.6 0.7  -l 0 0 2.5
>> 
>>    !genprism brown_satin_paint stool_leg_sw \
>>             4  -0.7 -0.7  -0.6 -0.7  -0.6 -0.6  -0.7 -0.6  -l 0 0 2.5
>> 
>>    T1 > oconv material1.rad ./lib/stool_1.rad > stool_1.oct
>>     : cannot open
>>    oconv: warning - (!genprism brown_satin_paint stool_leg_se \ ): empty file
>>    oconv: fatal - (./lib/stool_1.rad): undefined modifier "4"
>>    T1 > oconv material1.rad ./lib/stool_1.rad > stool_1.oct
>>    Usage: genprism material name { - | vfile | N v1 v2 .. vN } [-l lvect][-r radius][-c][-e]
>>    oconv: warning - (!genprism brown_satin_paint stool_leg_se\ ): empty file
>>    oconv: fatal - (./lib/stool_1.rad): undefined modifier "4"
>> 
>> -- 
>> Zhe Kong
>> PhD Student
>> University of Wisconsin - Milwaukee 
>> School of Architecture and Urban Planning 
>> 2131 E. Hartford Ave, Milwaukee, WI 53211 
>> Office 327
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://www.radiance-online.org/pipermail/radiance-general/attachments/20150613/5680470f/attachment-0001.html>
> 
> ------------------------------
> 
> _______________________________________________
> Radiance-general mailing list
> Radiance-general at radiance-online.org
> http://www.radiance-online.org/mailman/listinfo/radiance-general
> 
> 
> End of Radiance-general Digest, Vol 136, Issue 16
> *************************************************




More information about the Radiance-general mailing list