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

前端 未结 7 2007
情深已故
情深已故 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
    

提交回复
热议问题