Jump to content
Posted 19 December 2011 - 09:02 AM
Posted 20 December 2011 - 03:47 PM
Posted 20 December 2011 - 05:30 PM
Posted 21 December 2011 - 12:41 AM
Posted 23 December 2011 - 04:52 AM
well the fill itself takes 1.5 seconds per chunk, all added together everything it comes to 10 seconds (which would be more than one chunk) so you think you could fill a 256x256x256 chunk in less than 1.5 seconds? I mean the closer it gets to 10 milliseconds the more id be happy...
You could do it completly on the GPU.
256^3 could be placed on a single 4096x4096 texture (16x16 patches of 256x256 texel). You need two of these textures and switch them as render source/target between render frames. The shader will check per texel all 26 neighbor texel(when diagonal filling is allowed) or 6 neighbor texel and decides if the target texel should be filled.
The worst case should be 512 render frames, which should be no problem on a current hardware.
Edit: the worst case could be higher....
Posted 29 December 2011 - 02:28 AM
Posted 29 December 2011 - 08:31 AM
Posted 29 December 2011 - 02:47 PM