I've been looking for ways how to convert vtk or stl files to json. I'm asking because I want to load my 3d models to web browser using https://github.com/xtk/X XTK library. But the vtk/stl files are too large (about 100 MB) to be displayed on the web.
I've read that the best solution is to write the model to JSON file.
I found this converter http://tmpvar.com/tmp/stl-json.html ,but the same problem occurs (too large size of the model).