From: Sven G. <sgo...@ja...> - 2000-06-19 04:57:22
|
Anthony Rogers wrote: > > 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(); > } > Well, please send me the whole demo within a ZIP or Tar-GZ File ! Please check the new version out -> listen to the mailinglist, when it is done ! The new version contains more explizit debug text, So you can check out the NEW accanti and the stencil demos as an application, to check out the results. I saw, that it depends of the GL implementation, some do not support these features :-( The problem was, that I did not tried to use the ACCUM buffers - THANXS FOR DEBUGGING ! Yours, Sven > ------???? > > aNt > > _______________________________________________ > gl4java-usergroup mailing list > gl4...@li... > http://lists.sourceforge.net/mailman/listinfo/gl4java-usergroup -- mailto:sgo...@ja... www : http://www.jausoft.com voice : +49-521-2399440, +49-170-2115963; fax: +49-521-2399442 |