tylermorganwall, to random
@tylermorganwall@fosstodon.org avatar

Rendering the moon's craters with displacement mapping in R with rayrender! If you noticed they appear unphysically large, it's because I'm using a information communication technique long employed by cereal boxes: the data have been enlarged to show texture 😉

Moon render with bumps from displacement mapping

terence, to random
@terence@fosstodon.org avatar
tylermorganwall, to random
@tylermorganwall@fosstodon.org avatar

Used my under-development svg-to-R-polygon conversion package along with the raybevel package (currently "on vacation" from CRAN due to CGAL 5.6 compilation warnings) to generate a 3D version of the R logo! Will soon replace the existing "r_obj()" object in rayrender.

spinning 3D R logo

tylermorganwall, to random
@tylermorganwall@fosstodon.org avatar

Implemented Catmull-Clark subdivision surfaces for rayrender! Don't tell Moses.

smooth golden cow render

tylermorganwall, to GraphicsProgramming
@tylermorganwall@fosstodon.org avatar

‼️ New rayrender update! v0.33.0 introduces instancing with create_instances(): copy/paste an existing scene (either a single 3D model or a collection of objects) and translate/rotate/scale it to a new location! This allows you to generate extremely large scenes with a low memory footprint. For example, here's 4,000,000 dragon models with about half a million vertices each: this would take about 150 terabytes of memory if loaded raw!

Link: https://www.github.com/tylermorganwall/rayrender

zooming out slowly to show 4 million dragons

tylermorganwall, to GraphicsProgramming
@tylermorganwall@fosstodon.org avatar
tylermorganwall, to GraphicsProgramming
@tylermorganwall@fosstodon.org avatar

1/2 So this small, rather un-assuming render is kind of insane...

Earlier today, I posted a video showing an animation where each of the 435,545 vertices were themselves a complete Stanford dragon--cool. Instancing! However, when I implemented instancing in #rayrender, I made sure to do so in a way that supported nested instances: e.g. you can create an instance, and then instance that instance, and so on. So why am I posting a 400x400 still image of a dragon again?

#Rstats #rendering

tylermorganwall, to GraphicsProgramming
@tylermorganwall@fosstodon.org avatar

Rendering the the Stanford dragon with:

❌ Triangles?
❌ Gaussian splats?
❌ NERF?
✅ Stanford dragons

(Finally started working on a new rayrender feature that's been on my to-do list for a while: instancing! This video would have taken about 10 terabytes of memory if rendered raw)

#RStats #rayrender #rendering

Stanford dragon being rendered out of stanford dragons

terence, to random
@terence@fosstodon.org avatar

wishes for a happy Easter to those who celebrate, an tale

video/mp4

tylermorganwall, to genart
@tylermorganwall@fosstodon.org avatar
tylermorganwall, to random
@tylermorganwall@fosstodon.org avatar

‼️ Update: {raybevel} is now on the CRAN! Now rendering tens of thousands of 3D buildings in rayshader is just an install.packages("raybevel") away!

Website:
https://www.raybevel.com

Github:
https://github.com/tylermorganwall/raybevel

CRAN:
https://cran.r-project.org/web/packages/raybevel/index.html

3d flyby of 3D rendered buildings

terence, to random
@terence@fosstodon.org avatar
terence, to random
@terence@fosstodon.org avatar

wishes for a happy lunar new year!

tylermorganwall, to random
@tylermorganwall@fosstodon.org avatar

‼️ R package update! Version 0.32.0 of rayrender brings nicer scene printing with custom tibble print methods: Get much more usable information at a glance and see the overall scene information displayed as well. Makes for a much nicer scene building experience.

Github:
https://github.com/tylermorganwall/rayrender

terence, to random
@terence@fosstodon.org avatar
terence, to random
@terence@fosstodon.org avatar

My 30 entries for 2023. Managed to do all save one (Day 5) with , , or in . Made possible by @tylermorganwall, who's created a marvellous world of light and shadow accessible with a language that's "only for stats".

tylermorganwall, to random
@tylermorganwall@fosstodon.org avatar

Test render animation: flying through a town square, with thousands of individually rendering rooftops!

In implementing this feature, I've also added some major improvements to rayshader, particularly with render_path(), which now should draw lines much, much faster! Should make drawing large amounts of glowing 3D lines much faster, cc @terence 😀

video of flying through 3D rayshader city

terence, to random
@terence@fosstodon.org avatar

Day 22: North is not always up. Tried a few ideas that didn't work. Then learned that NASA's Blue Marble image was originally "south pole-up" but they flipped it so people wouldn't flip out. I chose not to do that here.

adventures, an tale

video/mp4

terence, to random
@terence@fosstodon.org avatar

Day 11: Retro. Running out of time so here's an admittedly lazy effort—NASA Black Marble as disco ball.

adventures, an tale

video/mp4

tylermorganwall, to random
@tylermorganwall@fosstodon.org avatar

Just added an option to enable transparency for image renders in when initial rays escape the scene: this was requested a long time ago (https://github.com/tylermorganwall/rayrender/issues/21) and I thought it was a good idea, but I only just got around to it so I could make a nice clean render of this hex logo for the upcoming package! Look at those beautiful anti-aliased transparent edges.

image/png

terence, to random
@terence@fosstodon.org avatar
tylermorganwall, to random
@tylermorganwall@fosstodon.org avatar

Package release items, in order of importance:

  1. Good documentation
  2. Good test suite
  3. Informative README
    ...
    ...
    ...
  4. Generating the perfect hexlogo

(still a WIP--I'm playing with adding knurling and bolts!)

tylermorganwall, to random
@tylermorganwall@fosstodon.org avatar

Little known fact: Before computers, 3D bar charts had to be inflated manually. How far we've come!

3D california polygon being blown up as a balloon

tylermorganwall, to random
@tylermorganwall@fosstodon.org avatar

What R is missing and needs:

❌ Static typing
❌ Pythonic list comprehension
✅ The ability to add Lisa Frank-style 3D beveled bubble letters to your data visualizations

Favorite and boost if you agree!😃

the words "want bubble letters?" in 3D bubble letters, spinning

terence, to random
@terence@fosstodon.org avatar

Here are three takes on John Snow's iconic visualisation of cholera in 1854 London, all done in the . Which one do you prefer—illuminated globes (left), lines (top right), or cel-shaded globes (bottom right)? I can't decide.

-- adventures, an tale

A visualisation of cholera deaths in 1854 London (a modern rendition of John Snow's map) using lines
A visualisation of cholera deaths in 1854 London (a modern rendition of John Snow's map) using cel-shaded globes

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • cubers
  • DreamBathrooms
  • InstantRegret
  • tacticalgear
  • magazineikmin
  • Youngstown
  • thenastyranch
  • mdbf
  • slotface
  • rosin
  • modclub
  • kavyap
  • ethstaker
  • megavids
  • osvaldo12
  • khanakhh
  • cisconetworking
  • Durango
  • everett
  • ngwrru68w68
  • Leos
  • normalnudes
  • GTA5RPClips
  • tester
  • anitta
  • provamag3
  • lostlight
  • All magazines