Package org.xith3d.scenegraph

Examples of org.xith3d.scenegraph.PointLight


        this.addChild(terrainGfx);
       
        /*
         * Lighting
         */
        pointLight = new PointLight(1f, 1f, 1f, 0f, 0f, 0f, .01f);
        this.addChild(pointLight);
       
        /*
         * Digibots
         */
 
View Full Code Here


        /*
         * GFX
         */
        env.getView().lookAt(new Point3f(5f, 5f, 5f), new Point3f(), new Point3f(0f, 0f, 1f));
        group = env.addPerspectiveBranch().getBranchGroup();
        group.addChild(new PointLight(1f, 1f, 1f, 10f, 10f, 45f, .001f));
       
        this.setStopOperation(RenderLoop.StopOperation.DESTROY_AND_EXIT);
        this.begin();
       
    }
View Full Code Here

TOP

Related Classes of org.xith3d.scenegraph.PointLight

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.