I have two question for help:
- I want to rotate object by moving the mouse. I know that I can use “glRotate” to do that. How can I get the viewpoint?
- I use “glEnabled(glBlend)” to get a transparent object, but I don’t know how to get the refraction effect.