algorithmic modeling for Rhino
Both transparency and diffuse textures auto-generated by Grasshopper. 400 textures in total, 256x256 pixels each. Takes about a minute and a half to generate all images (no optimization whatsoever; 2.6 billion point/pixel evaluations in total), about an hour and a half to render. The viewport capture is actually remarkably good.
How *not* to do volume rendering 101...
Tags:
Comment
Vicente, yeah, the way to do volume rendering is to raymarch through a voxel space. That however requires a lot of new code, albeit probably very fun code to write.
It has a frame buffer component that updates while rendering (it's a 'progressive path tracer').
Currently it's CPU only multithreaded, I'm trying to use GPGPU (Grasshopper purpose GPU) using Cudafy.NET but can't make it work in a Grasshopper component :(. I can make it work as a standalone program.
I know, the icons are awesome.
As a hobby project (not being very original) I started writing a path tracer that renders implicit surfaces using ray marching.
Very simple to code (same concept, but per ray), great for volumetric effects, extremely slow.
Here's a screenshot of an isosurface evaluated at rendertime (no previously generated mesh).
I get about 10/15 frames per second in Rhino. Notably not smooth, but not too bad.
Looks great! What is the fps of the Rhino viewport with these textures?
I feel like this kind of stuff is best handled as a shader (as you point out). It would be great if custom GLSL shaders could be written for Display Conduits...not sure if this going to happen, though :)
I think it's best to create the sections perpendicular to the camera direction, I just couldn't be bothered.
It reminded me heavily of those star-nurseries.
If you can come up with a way to compute the colour and transparency of any voxel in a space, this method can be used to generate an image. Just be ready for a long wait....
Next challenge:
Slightly different type of cloud but I think it's a try.
http://annesastronomynews.com/photo-gallery-ii/nebulae-clouds/n49-i...
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by
You need to be a member of Grasshopper to add comments!