I load a model from an obj file using in addition the mtl file. How do I properly dispose off or deallocate all the geometry/materials/textures from the returned Object3D in r55
Try this:
object.traverse( function ( child ) { if ( child.geometry !== undefined ) { child.geometry.dispose(); child.material.dispose(); } } );