On 11/11/2013 03:35 PM, timangus [via jogamp] wrote:
> I don't have a problem with it, I was just hoping there was a quick and easy
> upgrade path. I'll have a look at the unit tests though...
They do describe the upgrade path.
Since the TileRenderer* now works w/ core GL profile,
you have to take care of the PVM Matrix in a more generic manner:
<
http://jogamp.org/deployment/jogamp-next/javadoc/jogl/javadoc/com/jogamp/opengl/util/TileRendererBase.html#pmvmatrix>
<
http://jogamp.org/deployment/jogamp-next/javadoc/jogl/javadoc/com/jogamp/opengl/util/TileRendererBase.html#beginTile%28javax.media.opengl.GL%29>
TileRenderer is derived from TileRendererBase
To simplify the TileRenderer* usage, you may want to utilize:
<
http://jogamp.org/deployment/jogamp-next/javadoc/jogl/javadoc/com/jogamp/opengl/util/TileRendererBase.TileRendererListener.html>
However, the unit tests in jogl/src/test/com/jogamp/opengl/test/junit/jogl/tile/
should be self explanatory.
~Sven