Cross-origin image load denied with three.js in chrome

前端 未结 7 1990
情深已故
情深已故 2020-12-06 05:05

Trying to add material in THREE.js like this

var materialWall = new materialClass( { color: 0xffffff, map: THREE.ImageUtils.loadTexture( \'image         


        
相关标签:
7条回答
  • 2020-12-06 05:30

    You can also run a simple HTTP server using python by running the following command from your root folder.

    python -m SimpleHTTPServer 8000
    
    0 讨论(0)
提交回复
热议问题