Login  Register

Re: Code for Peer Review

Posted by Pixelapp on Aug 01, 2012; 1:56am
URL: https://forum.jogamp.org/Code-for-Peer-Review-tp4025708p4025717.html

Hello:

After testing I found this is the problem. I'll try to fix my whole application now.

"You should modify the content of the textures rather than creating them and destroying them during the display (that's what I do in TUER, during the introduction scene, when the continent becomes entirely red)." You know we do coding as we need it and not before hand. So, Julien could you tell me how to do that? Now is when I happen to need it :). I didn't find any hints in the jogamp docs.

"Edit.2: You should modify the content of the textures rather than creating them and destroying them during the display (that's what I do in TUER, during the introduction scene, when the continent becomes entirely red). Such cleanup code should be called only when leaving the game and it is even not mandatory." That's very true, that's what I'm thinking of doing just now.

Cheers.