Parallel Camera in Java 9+

Kevin Rushforth kevin.rushforth at oracle.com
Wed Sep 12 14:41:17 UTC 2018


I thought your question was about a replacement for copying a jar file 
into $JAVA_HOME/lib/ext (which also touches the JDK).

If you are interested in fixing a bug or otherwise improving JavaFX, 
then please see the OpenJDK page [1] about becoming a contributor. There 
is a GitHub sandbox [2] that you can fork and use to prototype your fix 
and eventually send a pull request when ready. See CONTRIBUTING.md [3] 
if you are interesting in contributing using the GitHub sandbox.

There are a couple of known bugs in ParallelCamera when working with 3D 
objects, so you might check the bug database [4] to see if it has 
already been filed. Otherwise, you can file a new bug [5].

-- Kevin

[1] http://openjdk.java.net/contribute/
[2] https://github.com/javafxports/openjdk-jfx
[3] 
https://github.com/javafxports/openjdk-jfx/blob/develop/.github/CONTRIBUTING.md
[4] https://bugs.openjdk.java.net/
[5] https://bugreport.java.com/bugreport/


On 9/12/2018 5:24 AM, Vincent MOLLIERE wrote:
>
> I understand that, but for commercial products we try to avoid 
> touching the jdk. I did it to disable image view smoothing. My point 
> beyond that (we can stay in jdk 8 there is no rush to update to the 
> latest jdk) is to improve JavaFx 3D API and implementations. I have 
> some feature request I think are necessary, and one of them is a 
> working parallel camera. We use it in our analysis software.
>
>
> Le mer. 12 sept. 2018 à 14:16, Kevin Rushforth 
> <kevin.rushforth at oracle.com <mailto:kevin.rushforth at oracle.com>> a écrit :
>
>     Hi Vincent,
>
>     As of JDK 9 the Standard Extension mechanism, as implemented by the
>     "lib/ext" directory in the JDK, has been removed. If you need to
>     locally
>     modify a class in one of the javafx.* modules you will either need to
>     build JavaFX from source or patch the module (presumably,
>     javafx.graphics) using the "--patch-module" option of "java".
>
>     -- Kevin
>
>
>     On 9/12/2018 1:52 AM, Vincent MOLLIERE wrote:
>     > Hi,
>     >
>     > I am new to this list so let me know if I’m wrong somewhere.
>     >
>     > In my development, I’m using JavaFX 3d in an extensive manner.
>     >
>     > I developed a JavaFX 3D framework, compensating flows and
>     missing features.
>     >
>     > One of this flaws in the ParallelCamera, the position and
>     clippings are
>     > calculated weirdly. And there is no zoom.
>     >
>     > I have developed a new implementation of camera that calculate
>     correctly
>     > this parameters. This new class only work if I put in a jar, and
>     copy it
>     > the the ext folder in the jdk, if not, its implemented functions
>     are not
>     > called.
>     >
>     > The problem is from JDK 9, the ext folder was deleted, and I
>     cannot use
>     > anymore this camera. I tried in JDK10 with JavaFX libraries from
>     Maven and
>     > it does not work too (the implemented functions are not called)
>     >
>     > What could be a solution for this problem ?
>     >
>     > Thank you for your help.
>



More information about the openjfx-dev mailing list