doxel / doxel-viewer

GNU Affero General Public License v3.0
7 stars 2 forks source link

loadImage is not defined in doxel-viewer.js #23

Closed emqiongwu closed 6 years ago

emqiongwu commented 6 years ago

I followed the installation instruction. But the the viewer page (http://localhost/doxel-viewer/viewer.html) only shows the camera and the play button. Images and point clouds are all missing. Here is the error message from the console:

Uncaught ReferenceError: loadImage is not defined at doxel-viewer.js:40 Uncaught TypeError: Cannot set property 'segmentURL' of undefined at config.js:1 GET http://localhost/images/ajax-loader.gif net::ERR_CONNECTION_REFUSED

emqiongwu commented 6 years ago

I figured it out. I downloaded the zip file. I should recursively clone the git. Thank you!

emqiongwu commented 6 years ago

Another thing I noticed that needs to be fixed for successfully loading the demo: The path in the js/thirdparty/config.js needs to be updated to: viewer.segmentURL='example'

bugdanov commented 6 years ago

https://github.com/doxel/doxel-viewer/blob/master/js/doxel-viewer.js#L57