Closed mnovitzky closed 5 years ago
You're welcome! To edit the source, you'll need to do the following:
yarn
meshcat
folder, run:
yarn
npm run build
This should start up a webpack process that will update the bundled javascript code and also watch for any future changes until you kill that process.
A couple of warnings:
shift + F5
or cntrl + shift + R
when reloading the page. Please let me know if that doesn't work.
I've just added some instructions to the readme as well: https://github.com/rdeits/meshcat/pull/46
Thank you for your quick response and adding text to the readme as well! I have been able to increase the draw distance and compile to see that it works.
Thank you for such a great tool!
We are trying to increase the draw distance by changing the camera to draw out to 1000 vs the 100: let camera = new THREE.PerspectiveCamera(75, 1, 0.01, 1000)
When I re-run meshcat-python -- the changes do not seem to be taking effect.
How do I compile the changes? Using npm run build.....Thank you.