Whats up wit da SKYBOX?
-
- Posts: 271
- Joined: Sat Aug 23, 2003 5:52 pm
- Location: Hurricane Central, Florida
Whats up wit da SKYBOX?
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???
-
- Posts: 271
- Joined: Sat Aug 23, 2003 5:52 pm
- Location: Hurricane Central, Florida
-
- Posts: 20
- Joined: Mon Sep 08, 2003 6:35 am
- Location: India
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.
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
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());