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.
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! |