PDA

View Full Version : Camera problem: user aircraft vanishes


Horst18519
16 Mar 2007, 10:49
Playing with cameras today I came across a disturbing problem:

If I set an outside camera close to the user aircraft it looks just fine:

http://objects.thorstenreichert.de/camera5.jpg

But if I gain altitude the aircraft vanishes more and more:

http://objects.thorstenreichert.de/camera4.jpg

http://objects.thorstenreichert.de/camera3.jpg

http://objects.thorstenreichert.de/camera2.jpg

...until it stays at this stage:

http://objects.thorstenreichert.de/camera1.jpg

The camera is fixed relative to the pilot, so it's not moving closer to him. It's also not dependent on airspeed, simply at altitude.

Did anybody encounter this problem too? It sure looks like a bug. :(

Horst18519
18 Mar 2007, 11:41
Nobody an idea about that? Maybe I'll find something in the beta-newsgroups...

DocMoriarty
18 Mar 2007, 15:25
It appears to me, since it's cut straight through, that the near clipping plane of the camera bites into the plane. Didn't play with camera stuff so don't know whether thats hardwired or can be set.

If it can be set make sure you don't accidentaly modify it over time, since it seems to slowly move away from the camera.

ronh
18 Mar 2007, 16:18
Not sure, but the SDK talks about:

• Spot – Favors distant objects by scaling the near clip plane with altitude and distance. Useful when the camera is positioned a reasonable distance away from the target object (e.g., spot view).

Are you using Spot or Minimum for clipmode.

Horst18519
18 Mar 2007, 16:58
Thanks guys! That's just the way to solve the problem! :)

I have to admit that, allthough reading through the SDK, I hadn't really understood what the clipping means.
But with "Clipmode = Minimum" the camera works just fine if close to the aircraft.

Again: thanks! :)