Hi,
I have two different programs, one to render a volume and another to draw something like a skeleton of it.
Now I need to show both together, basically the skeleton to be embedded in the volume. The obvious thing I tried was to first render the volume,
the witdh depth buffer disabled and blending enabled, I draw the skeleton. The problem I am having with this approach is that, what ever colour I
specify for the different parts of my skeleton, it shows up in black. Even when I tried this with gl.glBlendFunc(GL.GL_ONE, GL.GL_ZERO), I get the same result.
Is there any way I can retain the colour of the skeleton?
I know that the above problem is not with JOGL, but didn’t know where to post.
On another note, I seem to be getting the following error every time I quit a JOGL program that I run.
#
# An unexpected error has been detected by Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f6981835898, pid=8697, tid=1089038672
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM (11.0-b15 mixed mode linux-amd64)
# Problematic frame:
# C [libX11.so.6+0x37898] XQueryExtension+0x28
#
# An error report file with more information is saved as:
# RGVolume/hs_err_pid8697.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
The worst part is it keeps generating those annoying error log, that my folder gets cluttered with them as i keep testing my application.
Also, I get this only for jogl programs. So is this a problem with JOGL or is it due to my java version?
Any help is appreciated, thanks.