From: Anthony R. <aN...@to...> - 2000-05-05 11:36:07
|
booohooooo cant get my motion blur to work at all :( anyone no y ? this is my draw bit using Accumuluation buffers. ------- public void display() { if( glj.gljMakeCurrent(true) == false ) { System.out.println("problem in use() method"); return; } gl.glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); gl.glPushMatrix(); gl.glPushMatrix(); rotate = (rotate + 5.0f); DrawScene(); gl.glAccum(GL_LOAD, 0.5f); for(int i = 0; i <= 4; i++){ rotate = (rotate + 5.0f); DrawScene(); gl.glAccum(GL_ACCUM, 0.05f); } gl.glAccum(GL_RETURN, 1.0f); gl.glPopMatrix(); gl.glPopMatrix(); glj.gljSwap(); glj.gljCheckGL(); glj.gljFree(); } ------ aNt |