lsystem tree
marcus • October 24th, 2007
by Berlin based designer Andreas Nicolas Fischer


libCollada now does colors!
the library is getting nearer to being actually useful. it now creates new collada materials and effects for you as needed without writing a line of extra code.
» project page
also in the same category as gantz graf but this time interactive and real time – the fijuu2
finally i found some time to finish a first release of my collada library for processing today.
it’s still quite basic and only exports triangles without any material information.
however there have been major refactorings under the hood that will allow to add new features much easier.
it might output garbage when you try to do something clever but give it a go
- your comments & critics are appreciated!
A simple point cloud generated in processing, exported with libCollada and rendered in Maya/ MentalRay. (The code is also included in the libCollada distribution examples)



libCollada allows you to easily export 3D geometry and material data in the COLLADA 1.4.1 format from your processing applications. Although processing’s drawing methods and COLLADA’s scenegraph based, more complex 3D description format, do not match directly – the library attempts to do a reasonable conversion, requiring no extra API to learn.
now creates materials & effects generated from standard p5 drawing commands
» collada-0.2.zip
first public release with examples and packaged for p5
» collada-0.1.zip
a first rather rough version that can export basic geometry data.
svn export http://svn.infostuka.org/rep/libCollada/trunk/ |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
import processing.opengl.*;
import infostuka.collada.p5.*;
void setup() {
size(400, 400, OPENGL);
}
void keyPressed() {
if (key == ' ') {
record = true;
}
}
void draw ()
{
if (record) {
beginRecord(P5ColladaExport.DAE, "output.dae");
}
// ... your drawing operations here ...
if (record) {
endRecord();
record = false;
}
}
|

Copyright © Marcus Wendt 2007
This library is licensed under the GNU LGPL