» 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!

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


~21h ago

domj: Stuck in your patching or eager to share what you made or came across? Join Midweek Patch Therapy at 17:30 https://therapy.domj.net/

~1d ago

david: vvvv meetup 3. new stream link. again youtube made us nuts.. please send everybody to https://youtu.be/pa3HRQ7kj6w

~2d ago

joreg: Reminder: Join us this evening, 8pm CET for the 3rd worldwide #vvvv meetup: 3.-worldwide-vvvv-meetup

~2d ago

sinus: @evvvvil: very impressive stuff! keep on marching the rays!You´ll never walk alone!

~3d ago

evvvvil: @mediadog, thankx for pointing it out broski. Wicked.

~4d ago

domj: Catching up with the Midweek Patch Therapy excerpts, expect more videos over the week. https://youtu.be/36r8LnHaS7g

~4d ago

mediadog: @evvvvil hey you made the webgl-dev-list cool stuff list: http://gfxprose.blogspot.com/2020/05/cool-webgl-stuff-2020-05-21.html

~5d ago

evvvvil: Yo I'm live doing a VJ set made in vvvv for OUTLINE demoparty with OddJohn DJing! Come see us play here: https://www.twitch.tv/outlinedemoparty/

~7d ago

domj: A blast to read with great references. Thoughts on how to make programming more learnable and understandable. http://worrydream.com/LearnableProgramming/

~7d ago

gegenlicht: @evvvvil damn. - missed it. Such unique styles, others would create 1000 twitter loops from one of ur sessions. :3 #bobrossmarch