JDK-8122703 : Incorrect 3D Box rendering
  • Type: Bug
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: 8
  • Priority: P3
  • Status: Resolved
  • Resolution: Cannot Reproduce
  • Submitted: 2013-12-11
  • Updated: 2015-06-17
  • Resolved: 2013-12-12
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8Resolved
Related Reports
Relates :  
Description
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.
Comments
Cannot reproduce with b119.
12-12-2013

Good news! This issue is not reproducible with graphics-scrum-b2152 and JDK b118.
12-12-2013

I have updated my video driver to the latest and still see the issue. OS Information: Windows 7 build 7601 D3D Driver Information: Intel(R) HD Graphics 4000 \\.\DISPLAY1 Driver igdumdim64.dll, version 9.18.10.3359 Pixel Shader version 3.0 Device : ven_8086, dev_0166, subsys_21F317AA Max Multisamples supported: 4 Chien suggested me to try latest graphics-scrum builds, I'll do it and let you know.
12-12-2013

I'll try to update my video driver.
11-12-2013

I can't reproduce the issue on my Intel HD 3000 GPU too. Can this be your driver issue? OS Information: Windows 7 build 7601 D3D Driver Information: Intel(R) HD Graphics 3000 \\.\DISPLAY1 Driver igdumd32.dll, version 9.17.10.2867 Pixel Shader version 3.0 Device : ven_8086, dev_0126, subsys_04931028 Max Multisamples supported: 4 vsync: true vpipe: true
11-12-2013

I can't reproduce this as well, I wonder if it's because of the Intel HD Graphics?
11-12-2013

Not a critical issue for FX 8, and we are out of time, so I request deferral to 8u20.
11-12-2013