Flour raw image format

Netskate

21-09-2008 10:01:12

I have problem with flour:

for 8 bit: raw image it want a RGB (3 channels) interlaced image

for 16 bit: the only mode to make it give me the correct size (width/height) of the image, is to use a 16 bit graymap (1 channel). but the result is that the heigthfield (in visual remote debugger) is repeated 3 times flanked, because flour want interlaced images that I can't pass it if the image as a graymap have 1 channel.

I tried pass it 16 bit RGB Interlaced but flour return me an incorrect size of the raw image.

I miss something?

Netskate

21-09-2008 10:44:24

I change this code of flour source:

if (NxU32(NxMath::floor(width)) != width) {
width = NxMath::sqrt(NxReal(resource_length /6));
is8bit = false;
}


dividing for 6 instead of 2, to fit 16 bit 3 channels raw images..

Netskate

21-09-2008 10:56:24

this is the result:





the collision map seems to be good, apart for a corner...

Netskate

24-09-2008 17:14:46

so no-one have problem with flour?

can someone give me a 16 bit image that works 100% with flour to be converted?