» raytracer with high-poly mesh
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

raytracer with high-poly mesh

My vvvv-based raytracer now supports high-polygon meshes in OBJ format

polyrhythm, Tuesday, Apr 16th 2019 Digg | Tweet | Delicious 6 comments  
mburk 16/04/2019 - 11:24

Great work!

tekcor 16/04/2019 - 11:29

fantastic, watching closely the development, if you can share some more details about which method you are implementing, would be highly appreciated

microdee 16/04/2019 - 12:48

that is so mind blowing man!

polyrhythm 17/04/2019 - 13:16

Thanks for the commnts!

@tekcor - I plan to add more meat to the documentation of my raytracer once it gets a public beta (alpha?) sometime in a month or two. For now, I can briefly summarize that it's a GPU-based unidirectional pathtracer that uses multiple importance sampling to relatively quickly converge on a final image without being too biased. It currently supports metallic and dielectric materials but I'll add at least glass and maybe some others before I release.

As for geometry, it supports packing an SDF into a volume texture and tracing against that (from Field Trip even!) or importing a standard OBJ mesh. Material creation, geometry placement, and lights are done through VL and fed via dynamic buffers into the shaders. I also support some basic primitives like boxes and spheres for playing around without using real models.

For lights, I currently support point, spot, and area.

For performance, I so far have a pretty naive BVH system that can allow me to trace against models with upwards of 100k vertices at near-interactive framerates. Have another screenie fo' free!

title
mburk 24/04/2019 - 12:23

If I find the time, I could do an VL adapter for your materials and lights, so they could be used with superphysical. Would be nice, to have a scene rendered with real time rasterisation and also be able to create pathtraced renderings.

tonfilm 24/04/2019 - 12:48

that would be awesome, design scenes in real-time with superphysical and then render a polished shot with the tracer... +1!

  • 1

anonymous user login

Shoutbox

~2h ago

joreg: reminder: this tuesday, oct 22nd: #vvvv meetup in #berlin 14-berlin-vvvv-meetup #visualprogramming

~10h ago

metrowave: @h99, nice site + useful...

~3d ago

h99: Moon, dammit

~3d ago

h99: NASA's CGI Monn kit https://svs.gsfc.nasa.gov/4720

~3d ago

~5d ago

joreg: Two #vvvv workshops this week in #berlin: Friday: Physical Computing, Saturday: Computer Vision. Tickets: upcoming-full-day-vvvv-gamma-workshops-in-berlin

~6d ago

joreg: @cznickesz also feel free to join our chat for such questions: chat

~6d ago

cznickesz: @joreg: Yeah, I´ll give it a try! Thx

~6d ago

joreg: @cznickesz: we're hoping this week. but depends on feedback. please test your project and let us know if it works.

~6d ago

cznickesz: @joreg: I should stop asking my questions so cryptic ;-) So right away: is final Beta39 hours, days or weeks away?