My favorites | Sign in
Project Home Downloads Wiki Issues
Project Information
Members
Featured
Downloads
Wiki pages
Links

Features

  • Code as you normally would in Processing, just ray-trace render the result.
  • The library reads what's on Processing's display, and returns the exact same view, only rendered.
  • It uses an external render template (an SC file), so all of Sunflow's functionalities just work, which means you can render inside Processing:
    • Textures
    • Light sources
    • Depth-of-field
    • External file objects
    • .. among other things
  • The library works with all the latest versions of Processing.

Changes Log

  • 02/Nov/2010 v0.70 implemented box(width, height, depth), pushMatrix() and popMatrix(), thanks to P1r and archieboytom.
  • 11/Oct/2010 v0.69 implemented beginShape(QUAD_STRIP), thanks to koeberle.
  • 08/Oct/2010 v0.68 fixed the incompatibility issue on Mac and Linux, thanks to andreas schlegel, monkstone and davephillips.

Todo's

  • Add ready-to-render examples to the library zip
  • Update the rendering engine to Sunflow v0.07.3
  • Enable multi-thread rendering

About

I've written a library which enables users to render ray-traced images of their Processing sketches. It's based on Sunflow. I wrote it for personal use, but thought I could share.If you are unfamiliar with Processing(a.k.a. P5) or Sunflow:

  • Processing is a java-based visual programming language written by a group of MIT CS gurus,
  • and makes computational art easy and painless for artists.
  • Sunflow is a java-based open-source ray-tracing engine,
  • which means that it can track down the actual trajectories of individual light particles and render photo-realistic pictures.

My library works in between them. It takes geometrical information from Processing to Sunflow, gets it rendered, and brings the final rendered result back to Processing. Have a visit to Sunflow's website(link on the right), go to the gallery, and take a look at the gorgeous pictures there. All that's possible(theoretically) with Processing plus my library.

I'm no programming expert, and with this being my first library I expect many errors. If something doesn't work, please write to me on the "Issues" page so that I can fix it ASAP.

Samples

From left to right: 1. the original Processing sketch, 2. glossy texture rendered using my library, 3. mirror-y texture

Powered by Google Project Hosting