Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualBGB

Posted 11 September 2013 - 11:43 PM

minor thought:

another possible option (besides a scrolling the texture) is the possible use of an animated texture.

then, one basically just has an animated texture of the tank-treads moving and similar, and it can do its thing without needing to mess with the texture coordinates.

 

one possible downside though is if one needs the ability to start/stop the tank moving, and have the wheels/treads stop when the tank stops, which would be problematic for naive use of animated textures. it could be done though, say if there is some option to tell the appropriate rendering logic when to enable/disable the textures' frame-cycling (say, if we have a flag or similar to stop the animated textures for this model).


#2BGB

Posted 11 September 2013 - 11:37 PM

minor thought:

another possible option (besides a scrolling the texture) is the possible use of an animated texture.

then, one basically just has an animated texture of the tank-treads moving and similar, and it can do its thing without needing to mess with the texture coordinates.

 

one possible downside though is if one needs the ability to start/stop the tank moving, and have the wheels/treads stop when the tank stops, which would be problematic for naive use of animated textures. it could be done though, say if there is some option to tell the appropriate rendering logic when to enable/disable the frame-cycling (say, if we have a flag or similar to stop the animations for this model).


#1BGB

Posted 11 September 2013 - 11:37 PM

minor though:

another possible option (besides a scrolling the texture) is the possible use of an animated texture.

then, one basically just has an animation of the tank-treads moving, and it can do its thing without needing to mess with the texture coordinates.

 

one possible downside though is if one needs the ability to start/stop the tank moving, and have the wheels/treads stop when the tank stops, which would be problematic for naive use of animated textures. it could be done though, say if there is some option to tell the appropriate rendering logic when to enable/disable the frame-cycling (say, if we have a flag or similar to stop the animations for this model).


PARTNERS