J3DGraphics2D drawImage() layering
I'm trying to create a Java3D overlay using postRender() and getGraphics2D() in Canvas3D. There are a couple of different images and rectangles I want to draw and I want to control the order they are added in (or really the layering of them). Is there any way to control this? Are there any workarounds? I've been thinking about combining the images before adding them to the overlay but that doesn't solve the problem with the rectangles.
Also I'm a little curious about the performance when drawing a lot of images and rectangles on the canvas. Does this affect it a lot?
Thank's in advance!