[SOLVED]Problem with flour

sungoco

16-10-2009 02:22:18

I converted a ".png" to ".raw" with photoshop, but when I convert the "raw" to ".xhf ", flour tell me: Unknown file-format.

betajaen

16-10-2009 10:42:19

Which version of flour 0.32 or 0.4?

sungoco

16-10-2009 12:05:59

my flour download from http://nxogre.org/flour . any problems? it should be 0.4? it's your blog.

betajaen

16-10-2009 12:19:26

0.32 does Heightfields, 0.4 does not.

What are the settings when you export it from Photoshop, and when you convert the RAW images what do you type into the dos prompt to convert it.

sungoco

16-10-2009 15:43:28

Well,my flour is 0.32.Terrain.raw is an 8-bit raw, i put "flour convert in:terrain.raw,into:heightfield,out:terrain.xhf" in dos window.
terrain.raw is in flour's folder

betajaen

16-10-2009 16:24:43

You need to give a width and height to the image, and if the depth is 8-bit or 16-bit or not.

flour convert in: image.raw, into: heightfield, out: heightfield.xhf, width: 512, height: 256,
depth: 8, signed: yes


See:

http://nxogre.org/flour

sungoco

18-10-2009 05:10:27

:D ,thanks betajaen, it's solved.