Hello,

Sorry I was away for the weekend.
I believe I have found the problem: I parent my camera to an object
and move this object around.
For some reason this appears to break the skybox being a special case
in the scene graph (I guess).

This is done by setting up a skybox and an object (such as a cube).
Set camera.lens.far to 1000. Then parent the camera to the object. In
EnterFrame move the object (and keep parenting the camera to the
object every frame or it won't update) by say 10 on any axis and
you'll notice the skybox moving until after ~100 frames we move
through the skybox.

I tried adding a link to an image in this post, but it won't let me
post it.

-- Apprentice

On 29 apr, 16:44, DerSchmale <[email protected]> wrote:
> Hi,
>
> The SkyBox is a special case in the scene graph, and as such it's
> dealt with differently (and more efficiently). It actually ignores
> view and scene position, which eventually means that it's at (0, 0, 0)
> in view space (ie: centered at the camera). It's size is also
> automatically adjusted to the far plane, so it should always fit. Are
> you seeing skybox clipping? Because that would imply something else is
> wrong, possibly an imprecision with the depth buffer.
>
> Cheers
> David

Reply via email to