‼️ Big rayimage update (v0.23.0)! In addition to 'JPEG', 'PNG', 'TIFF', and 'EXR' files, `ray_read_image()` now supports loading 'TGA', 'BMP', 'PSD', 'GIF', 'HDR', 'PIC', and 'PNM' files (thanks to stb_image): It's a one-stop shop for bringing image data into R.

GH:
https://github.com/tylermorganwall/rayimage

#rstats #rayimage #rayverse

1) Keeping the exposure the same as the dawn image at noon: ooph!

2) Adjusting the exposure down three stops with rayimage::render_exposure(): Nice!

Also: this is why you use a high dynamic range format like EXR when rendering, which rayrender now supports! And also why I spent six months getting all the packages to install OpenEXR on the CRAN, so this magic can occur.

#RStats #rayrender #rayimage

Rendering a tilt-shifted Mount Everest at dawn:

(dawn and dusk are the "magic hour" in rendering too, because you can represent an image in the dynamic range of a PNG/JPEG without clipping or tonemapping hacks!)

#RStats #rayrender #rayimage

Day 6 of the #30DayMapChallenge (3D), a render of Mount Rainier with a realistic atmospheric skydome generated w/ a lat/long/datetime, rendered entirely in #RStats with #rayshader and #rayrender! The atmosphere is annoyingly realistic: I now have to dial in the exposure depending on the time of day! Thank goodness for #rayimage's render_exposure() function :)

(someone really needs to create an HDR R graphics device...)

‼️New #rayverse update: #rayimage v0.17.1 has been released, and with it comes some cool improvements:

* R console ANSI full-color preview if supported (Positron does on my system!)
* Pretty printing for RGBA arrays!
* Proper gamma correction tracking and EXR support

Site:
www.rayimage.dev

#RStats

👎🏻Con: I just spent two days solving a dumb aspect ratio plotting bug in rayshader/rayimage, delaying release of the cool new beveling/building features

👍🏻Pro: I now understand grid graphics far, far better than I did two days ago, and my mental model seems accurate now—and I see several places in rayimage where I can drop costly magick calls in favor of native raster operations!

#RStats #rayshader #rayimage #rayverse