From: Toshiyuki I. <is...@mi...> - 2001-12-11 10:02:11
|
Thanks for your reply. ----- Original Message ----- From: <NM...@th...> Sent: Tuesday, December 11, 2001 5:30 AM > Hi, > > Regarding your first issue... > > Try calling " gl.glTranslatef(0.0f,-1.0f,0.0f) " . > > For some reason the GLCanvas uses the left hand rule and the GLJPanel is > using the right hand rule. So when drawing scenes get kind of turned > around. I don't know whether this is documented anywhere, but I think it > should be added if it isn't. Or the "quirk" should maybe be looked at being > corrected so the two components are consistent. > I'm try to call 'gl.glTranslatef(0.0f,-1.0f,0.0f) ' in display() after initialize MODELVIEW matrix. However, my Panel still shows the reverse view. Sorry, I can't understand why calling glTranslate function. > As for your second issue, sorry, I am unable to help you out. > > Hope that helps, > Noah > -- Toshiyuki Ishimura |