People‎ > ‎John Stavrakakis‎ > ‎John's blog‎ > ‎

Resolved demo issues

posted 16 Nov 2011, 00:30 by John Stavrakakis   [ updated 16 Nov 2011, 00:35 ]
While I wasn't able to prevent the demo mishaps of last week, today they had been resolved. I was getting point clouds that would appear distorted and corrupted against the server geometry. This is because for the number of vertices that I am compressing, there are 4 numbers. 
  1. actual vertices
  2. visible in view 1
  3. visible in view 2
  4. encoded with views 1&2
The memory allocation was a bit tricky, but I am not worried about the performance of the decoding algorithm at the moment. Old working code came in handy for debugging!

The strange slowness was found to be a small sleep in idle func, milliseconds, not microseconds so it wouldn't thrash the processor. I should have known better not to bother since the machine was grunty enough. milliseconds!
Comments