Question about skybox

Started by denzel, February 25, 2012, 08:29:17 AM

Previous topic - Next topic

denzel

When i move out the skybox's world-camera, it's all right at the beginning,but when move out for a distance, there's a blackground in the window.
Am i mistake sth?
And what should i do to move the model to the skybox's center?
Your reply will be very appreciate.
The code of the skybox
SkyBox skyBox = new SkyBox("texture", "texture", "texture", "texture",
"texture", "floor", 2000);
skyCamera = skyBox.getWorld().getCamera();

skyCamera.moveCamera(camera.getDirection(), scale * scaleCoef);
Img Normal:

The Bad:

EgonOlsen

You are not supposed to move the camera of the skybox. Why would you want to do this?

denzel

#2
I want a background that it will be scale when i scale my model..but there's no obj/3ds models for me,just some imgs.

And one question, how to scale a model but keep its bottom's position?