Aug 19, 2010 at 5:11 PM
Edited Aug 19, 2010 at 5:45 PM
While Looking into the example Programatic:Teapot. I found something that reminds me of the Game loop in OpenGL
I was experimenting with how to do dynamic texture using the the example Materials (previous version)
e.g. perhaps Draw a fill rectangle on the texture ImageMap (reflectionmap.jpg)
I created a Game.Update+=Game_update method to test if I could randomly change the texture options (randomely choosing one out of three available). so there is flickering of changing texture on the Box.
It does not work, I wonder what I have done wrong?
Question: what would be an "official" way to draw something on the imageMap fo a texture and return the new one back to the geometry and making sure that the geometry's texture is refreshed with the new one?