1.4.x -> 1.5.0 regression: canvas peer = NULL
Hello Java3D team,
It seems I have found a regression in the 1.5.0 Canvas3D.
Please download the test code here:
the archive contains the test code, startup exe, pre-compiled classes, the official java3d 1.5.0 release (and of course the infamous good old Canvas3DStressTest, always good for your tests).
Unpack and start the preview3D.exe test.
The test uses an offscreen canvas in order to render a "behavioured" scene into a component. The test code is quite interesting for those who want to create transparent custom interactive swing components with very little effort. Just get into the src, turn on the transparentOffScreen and enable some AlphaCompositing..
Ok, back to our test case, we should see a raw sphere on a multi-color background. But.. this only works with 1.4.x.
With the new 1.5.0 the offscreen canvas peer is null and nothing is painted.
Where's the problem with the new Java3D ?