ageller / Firefly

A WebGL interactive particle viewer
GNU Affero General Public License v3.0
65 stars 13 forks source link

viewer vs. gui seems to be broken on the server #178

Closed ageller closed 8 months ago

ageller commented 8 months ago

It appears to have the usual problem of not sending all inits to the GUI (or the GUI not receiving all inits).

ageller commented 8 months ago

http://www.firefly-viz.com/GaiaDR3/viewer and http://www.firefly-viz.com/GaiaDR3/gui

ageller commented 8 months ago

Actually it looks like it does build the GUI (at least sometimes). The error is on the GUI side :

THREE.WebGLRenderer.render: camera is not an instance of THREE.Camera.
Uncaught TypeError:  
Cannot read properties of undefined (reading 'set')
    at updateGUICamera (GUIsocket.js:291:29)
    at initGUI.js:20:37
ageller commented 8 months ago

This is fixed within the data_selection branch. I copied the js files from that branch over to the server version, and this fixed the issue on the server as well. We really need to merge the data_selection branch into main here!