lighttransport / nanort

NanoRT, single header only modern ray tracing kernel.
MIT License
1.08k stars 91 forks source link

Enhance the msquares example to show that there are 2 different meshes. #2

Closed prideout closed 8 years ago

prideout commented 8 years ago

I love nanort! I want to try using it in conjunction with Amazon Lambda...

Anyway I thought it would be cool to enhance this example just a little, since the neat thing about my marching squares implementation is that it provides nice boundaries between adjoining meshes. I changed the example to use different color for the two meshes. Here is the result of my change:

render

syoyo commented 8 years ago

Super cool! Thanks!

BTW, running nanort(C/C++ native binary) on AWS Lambda is easy. See example of running nanogi renderer on AWS Lambda: https://github.com/lighttransport/nanogi/tree/master/utils/aws