Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8165941

Near and far clipping is not working for ParallelCamera

XMLWordPrintable

      Reproducible: always
      Platform-specific: no
      Regression: no

      Steps to reproduce:
      1. Create FX3D 600x600 scene with sphere at (0, 0, 0) and 100 radius.
      2. Set up parallel camera at (-300, -300, -300) with farClip = 1 and nearClip = 0.1
      Expected result:
      Sphere is invisible because small far clip and becomes visible when changing farClip more than 200 (distance from camera eye to closest point of sphere).
      Actual result:
      Sphere is visible, changing near/far clip affects nothing. Clipping still works when moving camera.

      Sample controls: Arrows to XY move camera, +- for Z, zx keys for farClip and cv for nearClip.

      As for me, that really makes ParallelCamera uncomfortable to use.

            lkostyra Lukasz Kostyra
            arusakov Andrey Rusakov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: