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

Incorrect 3D Box rendering

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3 P3
    • 8
    • 8
    • javafx
    • b118 on Windows 7 x64

      Looking at 3D Cubes demo I noticed that light doesn't behave as it should do.

      Basically when rotating a box by 90 degrees it should look exactly the same as before as all its sides are equal.

      However this is not the case in my configuration.

      I've modified an app so that it is easier to see what is wrong. Pause the animation and use buttons 1 - 4 to rotate cubes to angles 0, 90, 180 and 270. Resulting images differ but they shouldn't.

      Here is prism.verbose output:
      Prism pipeline init order: d3d sw
      Using platform text rasterizer
      Using native-based Pisces rasterizer
      Using dirty region optimizations
      Not using texture mask for primitives
      Not forcing power of 2 sizes for textures
      Using hardware CLAMP_TO_ZERO mode
      Opting in for HiDPI pixel scaling
      Prism pipeline name = com.sun.prism.d3d.D3DPipeline
      Loading D3D native library ...
      succeeded.
      D3DPipelineManager: Created D3D9 device
      Direct3D initialization succeeded
      (X) Got class = class com.sun.prism.d3d.D3DPipeline
      Initialized prism pipeline: com.sun.prism.d3d.D3DPipeline
      Maximum supported texture size: 8192
      OS Information:
      Maximum texture size clamped to 4096
      Windows 7 build 7601
      D3D Driver Information:
      Intel(R) HD Graphics 4000
      \\.\DISPLAY1
      Driver igdumd64.dll, version 8.15.10.2696
      Pixel Shader version 3.0
      Device : ven_8086, dev_0166, subsys_21F317AA
      Max Multisamples supported: 4
       vsync: true vpipe: true
      Loading Prism common native library ...
      succeeded.

        1. screenshot-4.jpg
          screenshot-4.jpg
          25 kB
        2. screenshot-3.jpg
          screenshot-3.jpg
          25 kB
        3. screenshot-2.jpg
          screenshot-2.jpg
          26 kB
        4. screenshot-1.jpg
          screenshot-1.jpg
          26 kB
        5. CubeApp.java
          7 kB
        6. Cube.java
          2 kB

            ckyang Chien Yang (Inactive)
            mrkam Alexander Kuznetcov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: