Page 1 of 1

Whats up wit da SKYBOX?

Posted: Sat Sep 20, 2003 10:18 pm
by [dx/x]=HUNT3R
Ok, my skybox is not moving with the camera now since I updated to the new 0.4.1 It just constantly shows the one picture that is straight ahead when the camera is started. I cant move around and see the other backgrounds, it just constantly keeps that one picture there. What gives???

Posted: Sat Sep 20, 2003 10:36 pm
by saigumi
*smacks head*

I knew something looked funny but I couldn't put my finger on it since the code I'm working on now doesn't involve moving the camera much.

I'm seeing the no-move effect using DirectX.

Posted: Sat Sep 20, 2003 11:30 pm
by [dx/x]=HUNT3R
I'm getting it with both the DirectX8 and OpenGL renderer.

Posted: Sun Sep 21, 2003 7:01 am
by indianbeard
I do not know whether i have any role in this advanced forum.But while correcting the skybox problem, please correct the dithering too. The seams around the lightsource in the skybox(techdemo)is very visible.Evenif we change the bit depth to 32 in ititialisation the pattern doesn't change.The images are 24bit RGB.So the banding is created by the engine.

Posted: Mon Sep 22, 2003 9:21 am
by niko
Sorry for this bug. Will be repaired next time, as always. :)
If you want to repair it until then by yourself, just change the transformation matrix in CSkyBoxSceneNode.cpp in the ::render() method to

Code: Select all

core::matrix4 mat;
mat.setTranslation(camera->getAbsolutePosition());