Mat
04-22-2002, 01:34 AM
Hi,
I inserted an GLAnimCanvas in an JPanel which size is 931*652. In the GLAnimCanvas I draw a simple quad which size is 0.05*6.01 but it seems the quad is to big because it goes out of the JPanel I just see the top. I don't know how to configure these problems of size...
I defined the gl.glViewport method with the size of the JPanel.. as I saw in all examples
Could somebody help me?
Thank you in advance
Mat
I inserted an GLAnimCanvas in an JPanel which size is 931*652. In the GLAnimCanvas I draw a simple quad which size is 0.05*6.01 but it seems the quad is to big because it goes out of the JPanel I just see the top. I don't know how to configure these problems of size...
I defined the gl.glViewport method with the size of the JPanel.. as I saw in all examples
Could somebody help me?
Thank you in advance
Mat