Flour converter supports only RAW?

jsirwin

21-09-2009 23:24:00

I want to work with heightfields. I'm using Ogre 1.6.3 and NxOgre 1.5.5. For a quick test, I want to work with the Ogre demo terrain.png. I'm trying to use Flour to create a .HXF file for NxOgre, but am running into formatting issues.

I'm asking because I don't have Photoshop, nor can I seem to find any Gimp plugin that saves into a RAW that works with Flour (I get "unknown file-format" errors when I try UFRaw).

Is there any other supported format, or can anyone suggest a free tool for Windows to convert a more common file type into a convertible RAW? (or a free tool for OSX, but that would be less convenient since I Bootcamp WinXP for this project).

Thanks,

betajaen

22-09-2009 00:01:28

Sadly no.

Photoshop RAW is what I designed it around; all it is just the pixel data with no header information. There must be a GIMP plugin for that.

jsirwin

22-09-2009 04:02:22

Thanks for the reply, betajaen. I've been looking for a Gimp plugin without any luck. I'll keep digging though.

jsirwin

22-09-2009 04:36:12

I'll eat my words. After spending more time than it should have taken, I got Flour to convert a Gimp RAW into a XHF- no Gimp plugins needed.

This thread, which I somehow managed to miss all of this time, helped:
http://www.ogre3d.org/addonforums/viewtopic.php?f=6&t=10529&start=0

For record, here's what I did:
This was using Gimp v2.6.7, so your mileage may vary if not using this version. You can natively save as RAW by choosing Save As..., then at the bottom of the dialog there is a (+) toggle for "Select File Type (by extension)", then select the "Raw Image Data" option. This isn't obvious since you have to use the special toggle, instead of the standard drop-down for the file type to save. The standard drop-down list does not offer a RAW format for saving, only the special toggle does.

My other problem was that I wasn't specifying a width and height, which is required for the conversion from RAW. Betajaen pointed this out in the previously linked thread (thanks!).

betajaen

22-09-2009 10:04:27

Good to hear. I was positive that GIMP supported RAW files.

Anyway, in the latest Flour. I'm investigating the use of the GIL library by Adobe for handling images as heightmaps, that way you'll be able to use pngs, jpegs, etc.