We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Is there a way to load for example an .obj
and an animation-file into Processing
and let the modell do the animation?
Pshape shape = loadShape("data/terrain/crystal.obj");
I read that .dae
-files can store an animation. Can I use them? And how?
Answers
maybe use a lib
https://en.wikipedia.org/wiki/COLLADA#Libraries
On wikipedia are no java libraries, but I found one:
javacollada.sourceforge.net/
But how do I render the 3-D model in processing?
The library can only render to OpenGL as far as I know.
There is also a Library for processing:
die-seite.ch/?colladaloader
But there is an error when I start the example files.
Do you know how collada works? What is stored inside a
.dae
-file?Does it contain the complete model and textures and animation
or do I have to combine it with an
.obj
or a texture-file?