Skip to content
Joon Hyub Lee edited this page Jun 23, 2013 · 97 revisions

joons-renderer brings Sunflow's ray-tracing to Processing.

Features

Left: Original Processing sketch, Right: Rendered using joons-renderer.
Example

Code as usual in Processing, and make small additions to render it realistically.
The code can be as simple as:

fill("shiny", R, G, B);
sphere(15);

joons-renderer reads geometry from Processing, applies Sunflow ray-tracer engine to it,
and returns the rendered image from the exact same viewpoint. It supports:

  • Texture
  • Light
  • Depth-of-field

.. and more. Check out the full list of supported & unsupported functions.

License

joons-renderer written by Joon Hyub Lee, joonhyub.lee@kaist.ac.kr.
Use & modify as you want.
The source code is available on GitHub.
Your contribution is highly appreciated!

Reference

<script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-18368258-3', 'github.com'); ga('send', 'pageview'); </script>