Three.js Loading .OBJ error in Azure but not Locally

前端 未结 4 2037
北海茫月
北海茫月 2020-12-19 19:41

I am using three.js for webGL to load .obj but I have a problem when loading .obj in Windows Azure runnning Windows Server 2008 I using Google chrome browser and it gives th

4条回答
  •  借酒劲吻你
    2020-12-19 20:02

    I found an answer to my problem, is because the file extension .obj is not yet map to the MIME type in my Azure server:

    Check the link below on how to add it:

    http://technet.microsoft.com/en-us/library/cc725608(v=ws.10).aspx

    and you could check here for the MIME type:

    http://filext.com/file-extension/OBJ

    Once you have map .obj to MIME, you will have no problem to load it anymore! :)

提交回复
热议问题