Recently I've been looking at Povray, pyprocessing, and cfdg (version 3.0) as tools for creating digital images. I have branched two separate blogs where I mainly explore jruby + processing and

Wednesday, 23 March 2011

Exporting Processing Sketches to Povray

Previously I have explored the export of processing sketches to Povray using a modified supercad library (by Guillaume La Belle), however he doesn't seem to be interested in doing anything with the existing library, so I have started developing my own version which is hosted at This is partly an experiment with hosting at, so far I have found integration with NetBeans to be as good as project kenai. Where my project differs from Guillaume LaBelles library is that mine uses a separate template.pov file, rather than a hard coded template. Also rather than a dodgy kludge to avoid degenerate triangles my version has a degenerate filter built in. Here is the output of my T_test.pde rendered in povray 3.7 using a pov template using radiosity and a cornell box template (see previous posting). Another feature of my template is that processing part of the pov file is wrapped in a union, this means you can scale, rotate, and translate the processing bit within the scene. Download a beta version of my library here get povray-3.7-beta here. Update 19 May 2012 I am now hosting an experimental version to support processing-2.0 at github, please try that out with processing-2.06a or more recent version from svn. Actually since January 2013 I've reverted to using to host development of the library for processing-2.0.

No comments:

Post a Comment


Blog Archive

About Me

My photo
Pembrokeshire, United Kingdom
I have developed JRubyArt and propane new versions of ruby-processing for JRuby- and processing-3.2.2