119120121122123124125126127128129
canvasPanel.enableLighting(); /* * Environment */ this.env = new Xith3DEnvironment(this); env.addCanvas(canvasPanel); /* * Texture filters */
4748495051525354555657
public TerrainEditor() { /* * Env + Canvas */ env = new Xith3DEnvironment(this); canvas = Canvas3DFactory.createWindowed(800, 600, 24, "Terrain Editor"); env.addCanvas(canvas); canvas.setBackgroundColor(Colorf.WHITE); try {