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
[PlantEditor] Loading mesh code #119
Comments
Max is currently at Pacific Graphics 2013, but have you tried 'Fetch...' from the menu? |
Dear thomas, |
There's an issue clicking fetch. `[12:25:33,021] TypeError: storageManager.loadScene is not a function @ http://192.168.43.69:8080/plant_editor:1`` |
Ok, I got it, it is because I load the StorageManager.js file for the component_editor. Actually both component_editor and plant_editor are served by only one web server, files with the same name are perhaps not the best way to proceed. Would it be possible to refactor the folders/file names so that everything is consitent, without any redundancy in the different files. Also, move main.js to main_component_editor.js and main_plant_editor.js. |
Yes, this is indeed a problem. I'm aware of that, I think I already mentioned it in a mail before. I guess there is still some refactoring to be done on our side, you're totally right. Nevertheless, it would also be helpful if the server would allow us to use js files with identical file names in different paths. |
Just a quick question, which is the default "root" folder of the 3D server? |
root folder: ./server-3d. Click "run_3d_server.bat" Then: then |
The tests work fine. Actually I meant the root folder which the 3D server is using for serving the webpages. |
You can do it on your own. In src/3d_server.py, just modify the line 325: to |
I'm sorry, it doesn't help. Now, both of them are not working :-P The XAMPP server, for example, works perfectly if I just make "editor" the DocumentRoot. |
Basically, the behaviour should just be that all files are getting served relative to the folder of the corresponding index.html |
@mlimper I try to run your code for loading x3d meshes but I dont' know how to proceed. Is there a shortcut menu for it?
The text was updated successfully, but these errors were encountered: