JDK-8324594 : Add filtering modes to 3D textures
  • Type: Enhancement
  • Component: javafx
  • Sub-Component: graphics
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • OS: generic
  • CPU: generic
  • Submitted: 2024-01-12
  • Updated: 2024-01-26
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.
Other
tbdUnresolved
Related Reports
Blocks :  
Relates :  
Description
A DESCRIPTION OF THE PROBLEM :
I encountered an issue when applying a low-resolution texture to a 3D model. The image applied in PhongMaterial always has linear filtering enabled. I hope JavaFX can provide a way to disable linear filtering for images. Here is a GitHub repository that reproduces the issue: https://github.com/mouse0w0/javafx-linear-filtering-issue



Comments
We first need to align D3D with OpenGL (JDK-8092272), then we can expose the shared API. Preliminary work already showed the use of nearest-point filtering: https://mail.openjdk.org/pipermail/openjfx-dev/2023-August/042181.html
26-01-2024

[~nlisker] You might be interested in this.
25-01-2024

This has been discussed as a possible enhancement to JavaFX. I changed the title to be more general, since we might want to consider other filter modes. See the discuss in the following openjfx-dev thread: https://mail.openjdk.org/pipermail/openjfx-dev/2023-August/042136.html
25-01-2024