Announcing a library that extends toxiclibscore, to allow direct export of mesh objects to PovRAY mesh2
in
Library and Tool Development
•
1 year ago
The library is available for testing/download
here, it is the povmesh.zip library that you wan't to download if you'd like to export TriangleMesh or WETriangleMesh to povray as a mesh2 object (the povwriter.zip library is a more general tool but allows for raytracing from the processing ide). You should probably install the toxicilibs complete to work with this library, but you could get away with toxiclibscore and toxiclibs_p5 but you should also install volumeutils (for its examples). I had been looking for some time for a way of exporting meshes from processing to PovRAY, and rather than start from scratch I've built the functionality on top of the toxiclibscore. The povmesh library, should be somewhat future proof (it was actually complied against a development version of toxiclibs-21 see
my blog) unlike my povwriter library that won't run on processing-2.0 (
relies on PGraphics3D which is disappearing).