Guess I'll have to work around it then.

On 2 mei, 09:50, Apprentice <[email protected]> wrote:
> 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 theskyboxbeing a special case
> in the scene graph (I guess).
>
> This is done by setting up askyboxand 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 theskyboxmoving until after ~100 frames we move
> through theskybox.
>
> 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,
>
> > TheSkyBoxis 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 seeingskyboxclipping? Because that would imply something else is
> > wrong, possibly an imprecision with the depth buffer.
>
> > Cheers
> > David

Reply via email to