Animatable Cubemaps?

I couldn’t help but notice the command on the VDC site



$envmapframe <int> 
 The frame to start an animated cubemap on.


Does anyone know how to create an animatable cubemap? or what the purpose of this is?

You should be able to change the envmapframe with a proxy.

Any idea how it would be scripted?

Something like this?



	"Proxies"
 {
 "AnimatedTexture"
 {
 "animatedTextureVar" "$envmap"
 "animatedTextureFrameNumVar" "$frame"
 "animatedTextureFrameRate" "1"
 }
 }


Try


 "Proxies"
   {
      "AnimatedTexture"
      {
         "animatedtexturevar" "$envmap"
         "animatedtextureframenumvar" "$envmapframe"
         "animatedtextureframerate" 12
      }
   }
	"$model" 1

}


I don’t see how I could make one of these :frowning:

http://puu.sh/HlnM

The problem is that the vtf container stores multiple textures as either skybox textures or animated textures. To the best of my knowledge, you cannot do both.

So you have to choose if you wanna have frames for animation or a 6 sided cubemap.
Maybe this is just a left over from development.