From: Toshiyuki I. <is...@mi...> - 2001-12-11 10:02:10
|
Thanks for your reply. ----- Original Message ----- From: "Sven Goethel" <sgo...@ja...> Sent: Tuesday, December 11, 2001 11:24 AM > On Tuesday 11 December 2001 02:44, Sven Goethel wrote: > > On Monday 10 December 2001 21:30, NM...@th... wrote: > > > Hi, > > > > > > Regarding your first issue... > > > > > > Try calling " gl.glTranslatef(0.0f,-1.0f,0.0f) " . > > > > the upside-down problem will be solved with this trick, > > without any big performance lost .. > > > > so, i might should add this to the class into the init method .. > > > > if nobody complains (please vote), i will do so ! > > > > i guess this is much faster, than the java image transformation ;-) > > > > thanxs to Noah > > > > oops .. i guess i was to fast .. > > this is not a general purpose solution, > a glRotatef neither .. > As my reply to Noah, I can't understand calling glTranslate. Please tell me its meaning. Here, I try to call 'gl.glScalef(1.0f, -1.0f, 1.0f)' after initialize MODELVIEW matrix. Then, the Panel shows the correct view without turning upside down. > a general purpose solution would be, like Toshiyuki's one, > but i am afraid that this one is a big performance lost .. > even if it works nice ! > > so, we must live with it, and the application should take care about it, > or we better need a general purpose gl solution .. > > please send your ideas .. > I think so. If any document about this problem (upside-down problem) is available, maybe I didn't comfuse. I wish to give some attension about this to users in FAQ, manual or API doc. Regards, -- Toshiyuki Ishimura |