1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Camera problem: user aircraft vanishes

Discussion in 'SimConnect' started by Horst18519, 16/3/07.

  1. Horst18519

    Horst18519 Moderator Staff Member Resource contributor

    Joined:
    7/4/05
    Messages:
    2,183
    Country:
    germany
    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:

    [​IMG]

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

    [​IMG]

    [​IMG]

    [​IMG]

    ...until it stays at this stage:

    [​IMG]

    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. :(
  2. Horst18519

    Horst18519 Moderator Staff Member Resource contributor

    Joined:
    7/4/05
    Messages:
    2,183
    Country:
    germany
    Nobody an idea about that? Maybe I'll find something in the beta-newsgroups...
  3. DocMoriarty

    DocMoriarty

    Joined:
    20/12/06
    Messages:
    64
    Country:
    germany
    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.
    Last edited: 18/3/07
  4. ronh

    ronh

    Joined:
    2/11/06
    Messages:
    393
    Country:
    canada
    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.
    Last edited: 18/3/07
  5. Horst18519

    Horst18519 Moderator Staff Member Resource contributor

    Joined:
    7/4/05
    Messages:
    2,183
    Country:
    germany
    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! :)

Share This Page