title: Best way to render a voxel animation using WebGL?
body: <p>I would like to render an animated voxel scene using WebGL and Three.js,
  for a hobby project (to visualize live point cloud data from a server-side stream).</p>
  
  <p>the scene is not very huge - it should be around 128*128*128 voxels (2 millions points).</p>
  
  <p>So I suppose I could just load a big static file containing all voxels data, then incrementally add or delete individual voxels, depending on events in a stream from a server.  </p>
  
  <p>However after seeing this demo (which is not based on a volume (with "inner" details) but a simpler "XY coordinates + elevation + time" model) :</p>
  
  <p><a href="http://mrdoob.github.com/three.js/examples/webgl_kinect.html" rel="nofollow">webgl kinect demo</a></p>
  
  <p>I am wondering:</p>
  
  <p><strong>Could I use the same things (video, textures, shaders..)  to render my voxel animations? How would you implement this?</strong></p>
  
  <p>I don't have that much "hobby time" so I prefer to ask out before :) For the moment I am thinking about loading many videos, for each layer of the voxel model.</p>
  
  <p>But I'm not sure that three.js will like it. On the other hand, voxels are always big memory consumers so maybe I don't have a lot of choices..</p>
  
  <p>Thank you</p>
  
  <hr>
  
  <p>Update 1:</p>
  
  <p>I do not need, indeed, real-time visualization of the data. 
   I could just poll the server once in a while (downloading a new snapshot as soon as the previous has been loaded on the GPU)!</p>
  
  <hr>
  
  <p>Update 2:</p>
  
  <p>Each voxel has a material attached to it (the "color")</p>