[Radiance-general] misterious error

Greg Ward gregoryjward at gmail.com
Wed Jan 23 12:52:31 PST 2013


In my own defense, rad should be robust to different line endings and spaces around variables, etc.  I still think the problem is in the scene or material files.  What happens when you run oconv on the command line, as opposed to doing it through rad?  If it hangs, try redirecting input from an empty file just to be sure it isn't a stdin hang.

-Greg

> From: Jack de Valpine <jedev at visarc.com>
> Date: January 23, 2013 11:58:14 AM PST
> 
> Hi Giovanni,
> 
> Not sure on this, as I do not remember if there are issues with spaces around the "=" sign. Your rif file has
> VARIABILITY = MEDIUM
> all the other parameter names have the = sign right after the name, so what about
> VARIABILITY= MEDIUM
> -Jack
> -- 
> Jack de Valpine
> President
> 
> Visarc Incorporated
> www.visarc.com
> 
> channeling technology for superior design and construction
> On 1/23/2013 2:49 PM, Giovanni Betti wrote:
>> Not sure that there is anything abnormal, I'm pasting here below my rif
>> file if that can give any insights,
>> I believe some settings in my machine have gone wrong... maybe \I just
>> need to reinstall radiance...
>> 
>> #start of rif file
>> ##
>> scene= materials.rad test.rad 
>> 
>> AMBFILE= test.amb 
>> OCTREE= test.oct 
>> 
>> RESOLUTION= 2382 1498 
>> DETAIL= MEDIUM
>> VARIABILITY = MEDIUM 
>> QUALITY= MEDIUM
>> 
>> INDIRECT= 5 
>> REPORT= 2
>> 
>> render= -i  -ad 2048 -as 1024 -dr 100 -lr 48 -av 0 0 0 -u+
>> 
>> view= v1 -vtv -vp 3.435037 -3.704111 -1.484534 -vd -0.081143 3.522492
>> 1.481099 -vu 0.000000 0.000000 1.000000 -vh 39 -vv 26 -vs 0 -vl 0 -vo
>> 52.0 -va 0.0
>> 
>> ##
>> # end of rif file
>> 
>> ////////////////////////////////////////////////
>> Giovanni Betti
>> 
>> -----Original Message-----
>> From: giulio antonutto [mailto:antonutto at yahoo.it] 
>> Sent: 23 January 2013 18:20
>> To: Radiance general discussion
>> Subject: Re: [Radiance-general] misterious error
>> 
>> end lines in the rif file?
>> like DOS / UNIX?
>> G
>> 
>> On 23 Jan 2013, at 18:03, Giovanni Betti <gbetti at fosterandpartners.com>
>> wrote:
>> 
>>> Thanks for the suggestion Greg; unfortunately that's not the case as 
>>> the script does not hang there and the just goes to the next line of 
>>> the batch file.
>>> 
>>> What's even funnier is that the same files run from another machine...
>>> ...which is what will happen for tonight and tomorrow I'll try to 
>>> figure out what's wrong with mine...
>>> 
>>> Still open to suggestions though! ;)
>>> 
>>> Thanks
>>> 
>>> Giovanni
>>> 
>>> 
>>> 
>>> -----Original Message-----
>>> From: Greg Ward [mailto:gregoryjward at gmail.com]
>>> Sent: 23 January 2013 17:14
>>> To: Radiance general discussion
>>> Subject: Re: [Radiance-general] misterious error
>>> 
>>> Hi Giovanni,
>>> 
>>> I suspect that your test.rad (or materials.rad) file has a line of the
>>> form:
>>> 
>>> !some_script
>>> 
>>> that is hanging because it is attempting to read from the standard 
>>> input.  Whatever script produced the ROPT= line is the one hanging up 
>>> oconv.
>>> 
>>> -Greg
>>> 
>>>> From: "Giovanni Betti" <gbetti at fosterandpartners.com>
>>>> Date: January 23, 2013 8:23:36 AM PST
>>>> 
>>>> Dear List,
>>>> 
>>>> I'm hoping for some help as I'ma  bit lost here.
>>>> 
>>>> I have a simple test scene with some light sources in it.
>>>> 
>>>> The scene is entirely described using radiance meshes (obj2mesh) and 
>>>> the light sources are instead sent as polygons.
>>>> 
>>>> All the files are called In the *.rif file and then I simply run:
>>>> 
>>>> 	rad test.rif
>>>> 
>>>> the output in the console is:
>>>> 
>>>> 	oconv materials.rad test.rad > test.oct
>>>> 		set ROPT=-dp 512 -ar 31 -ms 0.49 -ds .3 -dt .1 -dc .5
>>> -dr 1 -ss 1
>>>> -st .1 -ab 2 - af test.amb -aa .15 -ad 800 -as 128 -av 10 10
>>>> 10 -lr 8 -lw 1e-4 -ad 2048 -as 1024 -dr 100 -lr 48 -av 0 0 0
>>>> 
>>>> 
>>>> and then nothing...
>>>> no errors, no warnings and (most importantly!) no image!
>>>> The computer does not even hang...
>>>> 
>>>> Can anybody offer an explanation?
>>>> 
>>>> Thanks a million in advance,
>>>> 
>>>> Giovanni
>>> _______________________________________________
>>> 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
>> 
>> _______________________________________________
>> 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
> 
> _______________________________________________
> Radiance-general mailing list
> Radiance-general at radiance-online.org
> http://www.radiance-online.org/mailman/listinfo/radiance-general
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.radiance-online.org/pipermail/radiance-general/attachments/20130123/73d23fe1/attachment.html>


More information about the Radiance-general mailing list