[Radiance-general] Errors with Vertically Tall HDR Images

Stephen Wasilewski stephen at coolshadow.com
Thu Aug 16 09:52:52 PDT 2018


Alstan,

I think this is just a bad image. As it fails on y==499 you probably do not
have the complete set of rays (check that you are actually running vwrays
56 times). There is no issue with images this big:

pcompos -x 500 -y 28000 > test.hdr

pcompos -x 500 -y 500 test.hdr 0 0 | ximage

does not produce an error.


Stephen Wasilewski
*LOISOS *+* UBBELOHDE*
- - - - - - - - - - - - - - - - - - - - - - - - - - -
1917 Clement Avenue  Building 10A
Alameda, CA  94501 USA
- - - - - - - - - - - - - - - - - - - - - - - - - - -
510 521 3800 VOICE
510 521 3820 FAX
- - - - - - - - - - - - - - - - - - - - - - - - - - -
www.coolshadow.com

On Wed, Aug 15, 2018 at 7:33 PM, J. Alstan Jakubiec <alstan at jakubiec.net>
wrote:

> Dear Radiance friends,
>
> (Sorry to post to the mailing list, but the Discourse server seems to be
> down.)
>
> I have an issue when I am working with some rather tall HDR images (10,000
> - 100,000 pixels tall). The application is that I am running annual
> discomfort calculations using Jan's gen_dgp_profile approach with many
> views on very large octrees. In this case, one call to rtrace with a big
> vwrays output file is better than 40+ to rpict where the octree needs to be
> loaded into memory each time. I tested this in a model with 38 views and a
> 500 x 500 pixel output per view, resulting in a 500 x 19,000 pixel image
> per timestep, which worked great! Now I am working with a model that has 56
> views (a 500 x 28,000 pixel image), and I get systematic errors when
> passing the output to evalglare.
>
> Here are the steps I am using:
>
>    - I run vwrays 56 (or n) times: vwrays -ff -vta -vv 180 -vh 180 -vp
>    ... -vd ... -x 500 -y 500 >> views.rays
>    - rtrace -x 500 -y 28000 -ab 0 -lw 0.0000001 -st 0.15 -ffc !oconv ...
>    < views.rays > image.hdr
>    - I cut the output using pcompos, and pass it to evalglare: pcompos -x
>    500 -y 500 image.hdr 0 *pixel_offset* | evalglare.exe -vta -vv 180 -vh
>    180 ...
>       - In this case pixel_offset is 0 for the last view, -500 for the
>       second-to-last, etc.
>
> I can extract images for every offset -500 through -27500 except for the 0
> offset. I get this error for the 0 offset (passing to ra_bmp in this case):
>
> image.hdr: read error (y==499)
> ra_bmp: error reading Radiance picture
>
> I am not sure quite what to make of this and hope that someone here might
> have an idea. I uploaded an example image here: https://www.dropbox.com/s/
> 7gub8i4row9qmsz/image.hdr?dl=0 Is the error with the render itself or
> with the size of the HDR?
>
> Thank you,
>
> Alstan
>
> _______________________________________________
> Radiance-general mailing list
> Radiance-general at radiance-online.org
> https://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/20180816/2bd1477f/attachment-0001.html>


More information about the Radiance-general mailing list