I would like to use Ruby to render a screenshot of a 3D environment.
No concern for interactivity, frame rates, hardware acceleration, etc.
Instead I’d like to dynamically construct a 3D space with Ruby objects
at run time, and then call a “save to disk” function that would render
the space and save it as a PNG.
I’ve considered writing Ruby code to output POV-Ray source (.AOI), and
then spawning a POV-Ray process to actually render. But maybe there is
a better, more Ruby-esque way?
Thank you for your help, oh Ruby Monks.