Thanks Windemere,
It was fun figuring it out and thanks to JB for his help. There are a few things that still feel weird though. So I figured out that a 1*1 patch is a 33px*33px heightmap. But that scales so funny, it might not be a coincidence that it's actually x+1 * y+1. So taking that in mind I think a 1*1 patch is actually (32px + 1px) * (32px + 1px).
I have to do some tests with different sizes now so I think the following is true a 2*1 patch is probably:
(64px + 1px) * (32px + 1px)
This has to be taken in account when creating a terrain and deciding the size of a heightmap. Also this has as consequence that you probably have to be careful when deciding the patch size. a 0.665 * 1 patch size could have unpredicted consequences if your heightmap px size end up in a float as well which is impossible. Can you imagine a 22.4px * 33px .... can't be done ... Do do we round up or round down ...
more testing is needed
Last edited by Celludriel; 25/09/17 03:00 PM.