Re: Java3D HiDPI canvas in Java 9
Posted by
Ian Brown on
Sep 02, 2018; 8:26pm
URL: https://forum.jogamp.org/Java3D-HiDPI-canvas-in-Java-9-tp4038213p4039167.html
Hi Phil, the fix for this is actually pretty trivial.
I rasied a PR on the 1.6 base to demonstrate:
https://github.com/hharrison/java3d-core/pull/24/filesYou just need to account for the scaling in the graphic object passed to the paint function in the component. The original code assumes it will be always 1.
Ian