[Radiance-general] rtcontrib output crashes preview, finder

John Ford johnford at bb3.net.au
Thu Dec 9 22:04:50 PST 2010


Thomas, 

Got it working. 

In the meantime discovered that date in OSX doesn't return nanoseconds, despite Unix date returning nanoseconds. Also, I don't think 'recno' works on OSX. 

John. 





On 10/12/2010, at 3:12 PM, Thomas Bleicher wrote:

> Evening John.
> 
> I think bin 0 was "reserved" for the ground. Therefore, if you don't have a ground material, it would be black. In my own tests I also found other bins to be completely black but I was told that was because of my primitive test geometry. Doing Axel's tutorial test room seemed to work for me at the time. I could reproduce the results he got with similar accuracy.
> 
> About pcomb: It may take quite a long time to process all the images. You can try and split the one long pcomb command into a few smaller pcombs and then combine the resulting images. If you suspect a single image to be corrupt just exclude that from the process and see if the pcomb command finishes.
> 
> If you are familiar with bash scripting you can run a first loop and combine each images separately with a known good image. This should at least show you if there are images that pcomb can't handle.
> 
> Regards,
> Thomas
> 
> 
> On Thu, Dec 9, 2010 at 10:53 PM, John Ford <johnford at bb3.net.au> wrote:
> Thomas, 
> 
> Yes, it opens in ximage. Should tregenza bin 0 be all black?
> 
> I'm trying to do the next step which is combining the images into a view of the patches using pcomb. This doesn't seem to work either using images 000-145 or images 001-145 so I don't know if there's some other problem. Terminal just hangs when I send the command, until I ctrl-c it. 
> 
> I will keep fiddling with it. 
> 
> John. 
> 
> 
> 
> 
> 
> JOHN FORD
> 
> BLUEBOTTLE
> FORTY THREE STAWELL STREET
> NORTH MELBOURNE 3051
> PHONE  03 9329 0709
> FAX 03 9329 1780
> 
> WWW.BB3.NET.AU
> JOHNFORD at BB3.NET.AU
> MOBILE 0411 519 738
> 
> 
> 
> 
> On 10/12/2010, at 1:28 PM, Thomas Bleicher wrote:
> 
>> Have you tried opening the image in ximage via Terminal.app?
>> 
>> The Finder preview and the Radiance use different libraries to
>> open/show HDR images.
>> 
>> Regards,
>> Thomas
>> 
>> On Thu, Dec 9, 2010 at 9:07 PM, John Ford <johnford at bb3.net.au> wrote:
>>> Hi,
>>> 
>>> I'm working through Axel Jacobs rtcontrib tutorial (on OSX). I'm up to the first use of tregenza.cal to generate sky patches (command below) and finding that the first image, p000.hdr, is corrupted somehow. Preview crashes when I try to open the image and when I even select it in the Finder, the Finder behaves very strangely (I think it's crashing and restarting all in the space of about two seconds). Getinfo reports what looks like a correct header, comparing the headers of p000.hdr and p001.hdr. The files are all the same size. The other images, p001.hdr to p145.hdr all open fine.
>>> 
>>> $vwrays -ff $vw |rtcontrib @rtc.opt -ffc $(vwrays -d $vw) -V+ -f tregenza.cal -b tbin -o images/patches/p%03d.hdr -m sky_glow testroom_whitesky.oct
>>> 
>>> Any hints?
>>> 
>>> John Ford.
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> 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/20101210/a6048f79/attachment.html>


More information about the Radiance-general mailing list