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

前端 未结 4 2041
北海茫月
北海茫月 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:12

    I thought I should add what I ended up doing after finding this post. I'm using .mtl files for material (in addition to the .obj) for a THREE JS project. Since I'm using MTLLoader to get the materials as well (my models aren't just flat-color), I had to add the following line:

    web.config

     
    
        
            
                
                
            
        
    
    

提交回复
热议问题