#muon - A subatomic path tracer

35 messages ยท Page 1 of 1 (latest)

hasty grotto
#

https://github.com/voithos/muon

I built this tiny CPU path tracer last year as a way of learning more about PBR and offline rendering. ๐Ÿ™‚ It's pretty basic, but does sport a couple of interesting tricks like Russian roulette and MIS.

I've mostly finished working on it, but do intend to go back from time to time and try adding new stuff as inspiration strikes.

GitHub

A subatomic path tracer. Contribute to voithos/muon development by creating an account on GitHub.

#

Here are a couple of extra renders

#

And now for (horrible) early renders ๐Ÿ™‚

#

First ray-triangle intersections

#

Adding ambient color

#

Adding transforms

#

Diffuse shading

#

Specular reflections

#

Combined

#

Monte carlo integrator (direct light)

#

Soft (direct) shadows

#

Add indirect component (agh, the noise!)

#

Optimize

#

GGX materials

#

And then a whole scene

#

Unfortunately, still don't have texture lookup ๐Ÿ˜…

#

But that's it for now!

quick turret
#

That looks great!nice
I hope to get there one day aswell

hasty grotto
craggy orchid
#

hows it subatomic? @hasty grotto

hasty grotto
craggy orchid
#

ah

#

rip

#

still super cool

craggy orchid
#

just average of the texture or smth?

hasty grotto
#

Thanks! Sorry to disappoint, haha

#

Nah, the colors are just set globally on the material

craggy orchid
#

ah ok

#

hows the speed?

hasty grotto
# craggy orchid hows the speed?

It's CPU side, so it's not as fast as GPU path tracers, but it does have a basic BVH implementation and supports multi-threaded rendering

craggy orchid
#

how fast?

hasty grotto
# craggy orchid how fast?

Depends on the scene and resolution, etc, but about ~45s for a 1080p image at 32spp with a simple scene

craggy orchid
#

what CPU?