[Radiance-general] x11meta issue

Greg Ward gregoryjward at gmail.com
Sat Oct 3 17:06:19 PDT 2015


Hi Ruggiero,

Do you have dot (".") in your RAYPATH?  If not, then xform won't look in your current directory(!) for named input files.  I would add "." to the beginning of RAYPATH if it isn't there already.

I don't know why you wouldn't be getting an oblique view from objline.  It seems to generate all 4 views when I run it.

-Greg

> From: Ruggiero Guida <ruggiero.guida at gmail.com>
> Subject: Re: [Radiance-general] x11meta issue
> Date: October 3, 2015 4:40:11 PM PDT
> 
> Thanks Greg and Rob
> 
> I added the "meta" folder from the source distribution in ray/lib/meta/ and the problem with x11meta is gone and I can now see the output in X11. My original installation is still in /usr/local/radiance/.
> 
> Still having one of the problems with xform though and not sure why
> 
> I am working from the folder
> 
> ~/dev/radiance
> 
> I create the file things.rad in ~/dev/radiance/objects
> 
> and then I use "objline ./objects/things.rad | x11meta"
> 
> The use of "./" has solved the issue of objline not finding things.rad, but it still complains about the file things.orig. Do i need to create this file or it is just a warning?
> 
> Thanks
> Ruggiero
> 
> 
> 
> 
> On 4 October 2015 at 02:05, Greg Ward <gregoryjward at gmail.com> wrote:
> Hmmm....  Unlike other "essential" library files, the meta/ folder is only distributed as part of the supplementary material in the "rad5R0all.tar.gz" ball at:
> 
> 	http://www.radiance-online.org/download-install/radiance-source-code/latest-release
> 
> It lives in the ray/lib/meta/ subfolder of this distribution.  We could think about creating a subdirectory in the ray/src/meta directory and having it install from there if that makes more sense.  We should probably take this offline, or move it to the "dev" list.
> 
> @Ruggiero - try getting the above distribution and extracting the meta directory onto your system, setting the MDIR environment variable appropriately.  Hopefully, that will fix the issue for you.  We'll work on this for the next package, I guess.
> 
> Cheers,
> -Greg
> 
>> From: Rob Guglielmetti <rob.guglielmetti at gmail.com>
>> Subject: Re: [Radiance-general] x11meta issue
>> Date: October 3, 2015 10:50:57 AM PDT
>> 
>> Thanks Greg,
>> 
>> This vchars.mta file, is this a Radiance thing, or a system thing? The only references I see to this filename in all the Radiance source are in pexpand.c and expand.c:
>> 
>> https://github.com/NREL/Radiance/search?utf8=%E2%9C%93&q=vchars.mta
>> 
>> I do not see the file itself. I ASSumed this was because my installers weren’t packaging it, but it doesn’t seem to be in the Radiance repo at all, at least not in the mirror. On my entire storage device, I only see this file in a couple of places, and they’re all locations where I had really old archived installations of Radiance (built with your “makeall” script). This makes me think this is a Radiance thing that somehow never got included in the mirror...
>> 
>> -Rob
>> 
>> From: Greg Ward <gregoryjward at gmail.com>
>> Reply: Radiance general discussion <radiance-general at radiance-online.org>>
>> Date: October 3, 2015 at 11:05:40 AM
>> 
>>> I don't know why xform is complaining, but the problem with x11meta *may* be the MDIR environment variable, which should point to the appropriate library directory on your system.  Mine is set to the location of:
>>> 
>>> $MDIR=/usr/local/lib/ray/meta/
>>> export MDIR
>>> 
>>> Note the trailing '/' which is very important.  Generally speaking, this directory sits in a "meta" subdirectory of the main Radiance library.
>>> 
>>> Hope this helps!
>>> -Greg
>>> 
>>>> From: Rob Guglielmetti <rob.guglielmetti at gmail.com>
>>>> Subject: Re: [Radiance-general] x11meta issue
>>>> Date: October 3, 2015 8:47:45 AM PDT
>>>> 
>>>> Chris’ directory/path advice will fix errors one and three in your output below, but error two is unfortunately a result of the NREL binary packages not working correctly for x11meta. Sorry about that, I haven’t had a chance to sort that one out yet. Used to be, no one ever used x11meta but it appears lots of people are starting to pick up Axel’s tutorial which includes the use of that tool, so I guess I’d better get this sorted!
>>>> 
>>>> -Rob
>>>> 
>>>> From: Chris Kallie <kallie at umn.edu>
>>>> Reply: Radiance general discussion <radiance-general at radiance-online.org>>
>>>> Date: October 3, 2015 at 6:37:17 AM
>>>> To: Radiance general discussion <radiance-general at radiance-online.org>>
>>>> Subject:  Re: [Radiance-general] x11meta issue
>>>> 
>>>>> Make sure you are in the right directory, or pointing to the right directory. -Chris
>>>>> 
>>>>> On 10/3/15 4:40 AM, Ruggiero Guida wrote:
>>>>>> Hi I am having issues with the x11meta command.
>>>>>> If I run 
>>>>>> 
>>>>>> objline objects/things.rad | x11meta (from Alex's tutorial),  I keep receiving the error:
>>>>>> 
>>>>>> xform: cannot find file "things.rad"
>>>>>> fatal - cannot open file "/usr/local/lib/meta/vchars.mta", mode "r"
>>>>>> xform: cannot find file "things.orig"
>>>>>> 
>>>>>> 
>>>>>> - I am on Mac OSX Yosemite. 
>>>>>> - Last 5.0 binaries installed in default directory
>>>>>> - PATH, RAYPATH set correctly
>>>>>> - x11 installed from xQuarz.org
>>>>>> 
>>>>>> I have checked other threads and it seems other people had the same issue, but no solution was provided.
>>>>>> 
>>>>>> Any suggestion?
>>>>>> 
>>>>>> Thanks
>>>>>> Ruggiero
>>>>>> 
>>>>>> 
>>>>>>  _______________________________________________
>>>>>> 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
> 
> _______________________________________________
> 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/20151003/f10731b5/attachment.html>


More information about the Radiance-general mailing list