Package mri.v3ds

Examples of mri.v3ds.Material3ds


      if (debug){
        //Go through all MATERIALS
        logger.debug("\nNum Scene Materials: " + scene.materials() );
        for( int m=0; m < scene.materials(); m++ ){
          Material3ds mat = scene.material( m );
          logger.debug("  Material " + m + ": \" " + mat.name() + "\"");
        }
        logger.debug("");
      }

View Full Code Here


    if (scene.materials() > 0){
      if (m.faceMats() > 0){
        //Just take the first material in the mesh, it could have more but we dont support more than 1 material for a mesh
        // materialIndexForMesh = m.faceMat(0).matIndex();

        Material3ds mat = scene.material(sceneMaterialID);
        String materialName = mat.name();
        if (debug)
          logger.debug("Material name for mesh \"" + mesh.getName() + ":-> \"" + materialName + "\"");
        materialName.trim();
        materialName.toLowerCase();
View Full Code Here

TOP

Related Classes of mri.v3ds.Material3ds

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.