Hi @all,
I am playing around with lighting and shadows in the three.js viewer of coppeliasim add-on Visualization stream.
However, when I wanted to add one more shader, I noticed that the version of three.js is quite old and different to the releases of three.js.
Is it possible to change/upgrade the version of three.js? Any hints where to start? Just switching to CDN in the HTML document of the viewer did not work.
Kind regards,
Heiko
Upgrade three.js for Vizualization stream
Re: Upgrade three.js for Vizualization stream
Not sure whether three.js aims to be backwards compatible by any extent, maybe not for such an extended period.
three.js version used by CoppeliaSim is r133.
You should start by looking at the console for warnings/errors and other traces of any issues.
Also, trying to figure out exactly at which three.js version it stops working might provide some useful insight.
three.js version used by CoppeliaSim is r133.
You should start by looking at the console for warnings/errors and other traces of any issues.
Also, trying to figure out exactly at which three.js version it stops working might provide some useful insight.
Re: Upgrade three.js for Vizualization stream
Thank you for the inside information.
The error I get is always the same; using a newer version leads to a missing THREE reference in the visual stream js script.
I think it is a good start for me to test other shaders from this version of threejs first.
However, I noticed that the code is different to the one in the repo 'mrdoob/three.js' for tag r133.
Is it a custom version? It also differs from the module version of threejs.
I would be really happy if you could give me a hint.
The error I get is always the same; using a newer version leads to a missing THREE reference in the visual stream js script.
I think it is a good start for me to test other shaders from this version of threejs first.
However, I noticed that the code is different to the one in the repo 'mrdoob/three.js' for tag r133.
Is it a custom version? It also differs from the module version of threejs.
I would be really happy if you could give me a hint.
Re: Upgrade three.js for Vizualization stream
No it is not a custom version. It is the officially released three.js r133 version (not module).