Package org.xith3d.scenegraph

Examples of org.xith3d.scenegraph.BranchGroup


    getView().lookAt( new Vector3f( 0f, 0f, 1f ), new Vector3f( 0f, 0f, 0f ), new Vector3f( 0f, 1f, 0f ) );
  }
 
  public BranchGroup createScene() {
   
    BranchGroup branchGroup = new BranchGroup();
   
    Rectangle rectangle = new Rectangle(1f, 1f, 0f, ResBag.getTexture( Textures.BACKGROUND_IMAGE.toString() ));
   
    //BackgroundImage backgroundImage = new BackgroundImage( ResBag.getTexture( Textures.BACKGROUND_IMAGE.toString() ), 1f );
   
    branchGroup.addChild( rectangle );
   
    return branchGroup;
  }
View Full Code Here


        JTabbedPane tabbedPane = initSwing(owner);
       
        /*
         * GFX
         */
        BranchGroup perspGroup = init3D(tabbedPane, width, height);
       
        this.world = new World(this);
        perspGroup.addChild(world);
       
        /*
         * Input
         */
        new KeyboardManager(getWorld(), this);
View Full Code Here

        InputSystem.getInstance().registerNewKeyboardAndMouse(canvasPanel.getCanvas().getPeer());
       
        /*
         * Render passes
         */
        BranchGroup perspGroup = env.addPerspectiveBranch().getBranchGroup();
       
        /*
         * Debug center
         */
        //env.launchDebugCenter(this);
View Full Code Here

TOP

Related Classes of org.xith3d.scenegraph.BranchGroup

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.