AcademySoftwareFoundation / MaterialX

MaterialX is an open standard for the exchange of rich material and look-development content across applications and renderers.
http://www.materialx.org/
Apache License 2.0
1.78k stars 325 forks source link

Document MaterialX mimetype #682

Closed fire closed 2 years ago

fire commented 2 years ago

Can documentation for the MaterialX mimetype be written?

Possible options are image/mtlx and image/materialx

jstone-lucasfilm commented 2 years ago

I believe this should technically be possible, but I'd be curious as to what benefits this would provide to developers or artists working with MaterialX content. Did you have a specific use case in mind?

fire commented 2 years ago

Let me write up the details, the simplest example was I wanted to include into gltf like png. Might require a single xml doc though and of course I could use the xml mimetype

fire commented 2 years ago

prior art.

svg has an external mode where there is a svg and external files like svg, jpg and png or svgz which is a singular file.

meshula commented 2 years ago

The mimetype precedent for material files is the Wavefront MTL file. Its mimetype is model/mtl. Reasonable mimetypes would include model/matx, model/material-x, and the like.

https://www.digipres.org/formats/mime-types/

jstone-lucasfilm commented 2 years ago

@fire I'll close this issue for now, but we're open to future discussions in this area.