Package nu3a.util.imageLoader

Examples of nu3a.util.imageLoader.N3JDKImageLoader


  void loadMaterials() throws Exception {
    material = new N3Material(scene, "mat1");

    InputStream is = new FileInputStream("files/nu3a.png");

    N3JDKImageLoader loader = new N3JDKImageLoader(is);
    N3Texture2D texture = new N3Texture2D(scene, "textura1");
    texture.genTexture(loader, render);
    material.addTexture(texture);
    material.setAmbientColor(new N3ColorRGBA(1, 1, 1));
    material.setDiffuseColor(new N3ColorRGBA(1, 1, 1));
View Full Code Here

TOP

Related Classes of nu3a.util.imageLoader.N3JDKImageLoader

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.