-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implementing 3DHOP in Rails #33
Comments
Hi @mashalahmad it is not possible to debug your issue without further information (3DHOP version, HW and SW system setup, etc). Anyway, it seems to be a problem related to the non-inclusion of the spidergl.js file. Please, make sure you've included it in your HTML file ( |
thanks I resolved that issue. Im trying to implement 3DHOP in rails. I am able to see the background image but model is not loading here is the piece of code
I got the error "404 model not found". |
Hi @mashalahmad In a common setup (local/remote HTTP web server) changing the relative folder of the resources (skins, css, js, models) is not a problem for 3DHOP. Of course, this means you have to update all the paths pointing those resources (and this could be the error causing the SpiderGL issue you reported previously). Anyway, what you are reporting is really strange, since usually the HTTP error 404 simply means that the resource you are trying to load not be found on the server... But, if (starting from the folder with the HTML file containing the 3D scene setup) the relative path of the model is right (assets/images/cube.ply), and the model cube.ply really is in the assets/images folder, it should work... |
yeah im also very amazed. the same thing was previously happening to my background image so I included the ruby tag and background image was then displayed. Im not sure if I can do the same with java script in ruby or not. thanks btw |
Hi
I got the uncaught reference error at presenter file on the following line
SpiderGL.openNamespace();
error
Uncaught ReferenceError: SpiderGL is not defined
can you tell whats the reason??
The text was updated successfully, but these errors were encountered: