Hello all! I’m having some issues with my program. I’m trying to render multiple 3d objects (“trees”) in this situation, but even if they’re transparent sometimes they won’t be. There’s a transparent border that displays incorrectly, almost as if it’s transparent & not transparent at the same time.
This only happens when using P3D, since I’m using multiple
PGraphics objects to render everything.
Similar problems I’ve seen have solved them by using the built-in
hint() method, but it has no affect for me. Along with that, if I try and change something using the
PGraphics.hint() method, I get an issue:
java.lang.NullPointerException: Cannot invoke "com.jogamp.opengl.GL.glDepthMask(boolean)" because "this.gl" is null
I’ve tried to change the render priority (backwards, forwards, etc.) with no luck. The images are transparent and yet not.