This sounds like an issue I was having that I posted about in another thread. Unfortunately, the project has been on hold for a while so I haven't been able to find a solution yet. I'll let you know if I find one, though.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu
world = new World();
World.setDefaultThread(Thread.currentThread());
frameBuffer = new FrameBuffer(GravityBallApplet.width, GravityBallApplet.height, FrameBuffer.SAMPLINGMODE_NORMAL);
world.addObject(interceptor.threeDee);
camera = world.getCamera();
cameraDistance = DEFAULT_CAMERA_DISTANCE;
camera.setPosition(0, 0, -cameraDistance);
world.getLights().setOverbrightLighting(Lights.OVERBRIGHT_LIGHTING_DISABLED);
world.getLights().setRGBScale(Lights.RGB_SCALE_2X);
//world.setAmbientLight(50, 50, 50);
world.addLight(new SimpleVector(0, 0, -1000), 20, 20, 20);
frameBuffer.clear();
world.renderScene(frameBuffer);
world.draw(frameBuffer);
frameBuffer.update();
frameBuffer.display(g);
Page created in 0.060 seconds with 13 queries.