Hi Oliver,
On Thu, 2005-08-25 at 12:46 +0200, Oliver Kutter wrote:
>
> OK, that worked fine, and I have created an image (.dat / and .raw
> automatically) and saved it to disk. But when I want to load it again, I
> get a warning.
Are you using 2D or 3D images? If 2D I would use MTD instead of DAT, as
that is designed for volume data. And DAT doesn't support float images
right now, which is the reason for your other problems. Sorry for the
confusion.
> I think that could be, because it is stored in a
> subfolder and I have to specify this folder in my .dat file, e.g.
>
> ImagePtr image = Image::create();
> image->read("data/raw/myImage.dat");
>
> WARNING: Can not open myImage.raw image data
> WARNING: could not read data/raw/myImage.dat
>
> The first line of my .dat file should then look like this.
>
> ObjectFileName: data/raw/groundheight.raw
>
> Am I right? It works for me.
The Image loader should be able to find it without that. That's a bug we
need to fix.
> And I habe another problem. I think I create my raw files in a false
> way, because everytime I load it, I get a warning
>
> WARNING: RAW file length to big!
Yeah, that's because DAT can't handle float images right now.
...
> OK, can I get somewhere a complete src package of the OpenSG 1.6
> (similar to OpenSG 1.4 at opensg.org/download) or do I have to checkout
> the cvs?
You can either use a dailybuild from www.opensg.org/dailybuild_logs, or
wait. There won't be any difference, the current dailybuild will become
1.6 in a day or two.
Hope it helps
Dirk
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users