Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MIME Type of Wavefront's OBJ and MTL

Tags:

mime

wavefront

I was building a little 3D-application using ThreeJS and WebGL. I purposely chose not to convert models into ThreeJS compatible .json files, instead started building an importer. It works, but I also planned to have the application decide what type of model has been loaded using both file extension and MIME type, the later if the first is unknown.

I've read somewhere that the MIME Type is supposed to be application/wavefront-obj, which would be kind of weird since there is also the model tree, but okay anyways. Though browsing the IANA website for this file type yields no results.

Am I missing something?

like image 948
Kiruse Avatar asked Sep 05 '13 16:09

Kiruse


1 Answers

According to IANA, the association who defines and maintains media-types (this is not Wikipedia), the mime-type of "obj" is model/obj, and model/mtl for "mtl". See other media types for models: https://www.iana.org/assignments/media-types/media-types.xhtml#model

like image 197
Daniel-KM Avatar answered Sep 30 '22 20:09

Daniel-KM