Since beginRaw() and endRaw() are currently broken with processing-2.0a1 my povwriter library won't work with the alpha version of processing. There are things that I could and perhaps should do to improve this library such as export processing meshes as PovRAY mesh2 objects, and support the direct export of sphere and perhaps other primitives, however I'm putting that on hold for the moment. So I thought I would re-investigate the
sunflow renderers. Rather surprisingly I got the non-kosher P5Sunflow library to work quite well (non-kosher on account of "name" and lack of support for dispose). A sort of "preview" is readily obtained by changing the render type in size. For the joons renderer, the preview (which works after a fashion with processing-1.5.1) appears to be broken, but apart from that the renderer works well and the
glass cow still renders nicely. I've yet to try the SunflowAPIAPI renderer but I expect that also works. However the sunflow project itself seems to be frozen in time, joons uses version 0.72 and the others use version 0.73 both pretty ancient.
I have re-compiled sunflow 0.73 on my system to use the latest version of janino, and to use switch on string to replace very large chains of 'if else' statements (a jdk1.7.0 feature). To use this version with the joons renderer you would need to change parse to include ( in the joons java code), and if you want to use the cornell_box templates you need to change the cornell_box from an object to a light. Would there be any sense in maintaining a version of sunflow for processing?
I have re-compiled sunflow 0.73 on my system to use the latest version of janino, and to use switch on string to replace very large chains of 'if else' statements (a jdk1.7.0 feature). To use this version with the joons renderer you would need to change parse to include ( in the joons java code), and if you want to use the cornell_box templates you need to change the cornell_box from an object to a light. Would there be any sense in maintaining a version of sunflow for processing?