[Radiance-general] rtcontrib problems

Ji Zhang hope.zh at gmail.com
Mon Jun 11 08:39:31 PDT 2012


Thanks, John, I think I should press the button and go to sleep
un-frustrated now ... zzzzzzz

- Ji


On Mon, Jun 11, 2012 at 11:36 PM, John Sullivan <sulljoh1 at gmail.com> wrote:

> On Problem 1: You are probably doing it right.  Creating the hdr images in
> Axel's tutorial on rtcontrib took us a couple of hours.
>
> -John
>
>
> On Mon, Jun 11, 2012 at 11:06 AM, Ji Zhang <hope.zh at gmail.com> wrote:
>
>> Sorry, just figured out that the source for Problem 2: the "-fo" option
>> should be added in addition to the "-ffc" and "-f" options
>>
>> the script should be:
>>
>>
>> vwrays -ff -x 600 -y 600 -vf ./views/back.vf \
>> |rtcontrib -ab 3 -ad 4096 -ar 256 -aa .1 -lw 0.0003 -n 2 \
>> -fo -ffc `vwrays -d -x 600 -y 600 -vf ./views/back.vf` -f tregenza.cal -b
>> tbin \
>>
>> -o ./patches_copy/p%03d.hdr -m sky_glow -w \
>> ./testroom_whitesky.oct
>>
>> - Ji
>>
>>
>>
>> On Mon, Jun 11, 2012 at 10:54 PM, Ji Zhang <hope.zh at gmail.com> wrote:
>>
>>> Dear list,
>>>
>>> I'm following Axel's tutorial on rtcontrib:
>>>
>>> http://www.jaloxa.eu/resources/radiance/documentation/docs/rtcontrib_lesson.pdf
>>>
>>> Problem 1:
>>> on page 16-17, I use the following script to generate the fisheye image
>>> for Tregenza sky patches in random colors:
>>>
>>> pcomb `for i in {000..145}; do \
>>> echo "-c $(rcalc -e \
>>> '$1=rand(recno);$2=rand(recno+.3);$3=rand(recno+.7)') \
>>> ./images/patches/p$i.hdr"; done` \
>>> > ./images/sky_colorcomb.hdr
>>>
>>> However, the script seems to run forever. Does it really need a long
>>> time to create the image, or Have I miss anything here?
>>>
>>>
>>> Problem 2:
>>> on page 17, I changed the script as suggested by changing the "-f"
>>> option to "-fo" to overwrite the existing hdr files:
>>>
>>> vwrays -ff -x 600 -y 600 -vf ./views/back.vf \
>>> |rtcontrib -ab 3 -ad 4096 -ar 256 -aa .1 -lw 0.0003 -n 2 \
>>> -ffc `vwrays -d -x 600 -y 600 -vf ./views/back.vf` -fo tregenza.cal -b
>>> tbin \
>>> -o ./patches_copy/p%03d.hdr -m sky_glow -w \
>>> ./testroom_whitesky.oct
>>>
>>> However, I got the following error message:
>>> rtrace: fatal - command line error at 'tregenza.cal'
>>> rtrace: fatal - command line error at 'tregenza.cal'
>>>
>>> Can anybody help to advise what the options for rtcontrib I should use
>>> here?
>>>
>>>
>>> Thanks!
>>> - Ji
>>>
>>
>>
>> _______________________________________________
>> 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/20120611/25993ec9/attachment-0001.html>


More information about the Radiance-general mailing list