Apologies for the last copy-n-paste exercise. Here is a new thread...
Hi all,
worn out by the painstaking process of configuring default apps for
RADIANCE-specific files for LEARNIX in multiple desktop environments, I'm
contemplating submitting some new MIME types to
http://www.freedesktop.org,
to make this somewhat less painful next year. I'v no idea if this is used
at all on Mac OS, but on LINUX it seems to be the next BIG thing. It is
already used by XFCE4, although KDE (still?) seems to do it's own thing.
Since my last post regarding the configuration of web servers to put a
sensible MIME-type to HDR images didn't give any conclusions, I'm making
another attempt at this.
Basically, what it is is this: When an app is installed that can handle
certain file types, it updates the system's MIME configuration. In theory,
all desktop environment, file managers etc. should then be able to assign
the correct double-click action to those files.
The tutorial for submitting MIME types to freedesktop.org is here:
http://www.freedesktop.org/wiki/Standards_2fAddingMIMETutor
The issues are:
- I don't think there is any way of putting MIME magick into the plain
text files, e.g. .rad, .rif, .mat, .vf, but since they are opened in a
text editor, there is not much of a problem. Yes, different icons would be
nice, but then...
- What we CAN do is do this for the binary files, e.g. RADIANCE images,
octrees (holodeck?, meta data?)
- The MIME type can be determined by two means:
-- the first few bytes of a file. This is referred to as MIME magick. This
should be straight-forward for octrees and pics
-- file extensions
I won't attempt to work out a common file naming scheme for rad,rif,mat
etc, since they don't have any 'magick' in them, anyway. What I would like
to do is to just fire off ximage when a .pic file is double-clicked one.
So here is my question: What do you guys use as default file name
extensions in your RADIANCE projects? Those are my preferences:
.pic for synthetic RADIANCE RGBE images
.hdr for HDRs assembled from photos
.oct for octrees
BTW: I know this is a UNIX thing (we don't need no friggin' extensions)
but some of the file in the RADIANCE examples, e.g. the cabin scene, are
not gonna go through...
There might potentially a bit of confusion with the RADIANCE XYZE, which I
don't tend to use. I think that RBGE and XYZE should really have different
extensions. Do you think there is any way of having a 'RADIANCE standard'?
How about just going for .rgbe and .xyze? Dirty four-letter extensions are
no-longer a problem, it seems...
Please comment.
Cheers
Axel
PS: In the long run, it wouldn't hurt have a set of default extensions...