Tuesday, 11 March 2008

Collada Loader 003

The Collada Loader has been updated and now sits at version 003. There are a few new functions involving materials. You can check out the supplied example file for the usage. But here is the list of new stuff.

model.toggleTexture();
//toggles the texture on and off

model.toggleMaterial();
//toggles the collada material

model.setTexture(PImage);
//replaces the loaded texture with a supplied PImage

model.originalTexture();
//reloads the original texture

ColladaLibrary_003_demo.zip
ColladaLibrary_003_lib.zip
ColladaLibrary_003_src.zip

Labels: , ,

1 Comments:

At 10 September 2008 04:51 , Blogger Boris said...

Unfortunetly I get an error.
FAILED IN LOAD
Exception: java.lang.NullPointerException

Would be awesome you can fix it.

Best.
Boris.

 

Post a Comment

Links to this post:

Create a Link

<< Home