JavaFX 3D on older GPUs
joseph.andresen at oracle.com
Sun May 20 09:43:58 PDT 2012
Your card is not supported by prism. You can check if a system supports 3d by using the isSupported method (can't remember where .. Maybe in application). I know ensemble does this and instantiates a parallel camera if 3d is not supported.
As for why it isn't supported, there are a lot of reasons that lead to a card not being supported, usually it fails to meet one of our minimal requirements.
On May 20, 2012, at 8:32 AM, Adam Granger <adam at adamish.com> wrote:
> Yes depth test enabled, I'm trying to run some code that worked fine under
> Windows/JavaFX 2.0
>> Did you enable depth testing?
>> Am 20.05.2012 12:24, schrieb Adam Granger:
>>> I'm trying to get JavaFX going on my somewhat ageing first-gen Intel
>>> iMac (GPU - ATI Radeon X1600) using JavaFX 2.2 b08. However, anything I
>>> do involving 3D (PerspectiveCamera + depthTest etc) does not render
>>> correctly... as if there is no depth buffer - like I saw 6 months ago:
>>> I've done some digging around, and found this:
>>> "If your system does not support Prism, then JavaFX uses the Java2D
>>> software pipeline under Prism."
>>> This was the output I got using -Dprism.verbose=true
>>> Prism pipeline init order: es2 j2d
>>> Using t2k for text rasterization
>>> Using dirty region optimizations
>>> Prism pipeline name = com.sun.prism.es2.ES2Pipeline
>>> Loading ES2 native library ...
>>> (X) Got class = class com.sun.prism.es2.ES2Pipeline
>>> **** GL_ARB_pixel_buffer_object detected ****
>>> Failed ES2GPUQualifier check.
>>> System GPU doesn't meet the es2 pipe requirement
>>> GraphicsPipeline.createPipeline: error initializing pipeline
>>> *** Fallback to Prism SW pipeline
>>> Prism pipeline name = com.sun.prism.j2d.J2DPipeline
>>> (X) Got class = class com.sun.prism.j2d.J2DPipeline
>>> Initialized prism pipeline: com.sun.prism.j2d.J2DPipeline
>>> 1) do these sys reqs also apply to the 2.2 Mac builds
>>> 2) is this true that if your GPU is not supported then only 2D support
>>> is provided? or is it more likely I'm going something wrong?
>> Dr. Michael Paus, Chairman of the Java User Group Stuttgart e.V. (JUGS).
>> For more information visit www.jugs.de.
More information about the openjfx-dev