[vtk-developers] VTK/VES and emscripten?

Aashish Chaudhary aashish.chaudhary at kitware.com
Tue Sep 24 21:42:11 EDT 2013


On Tue, Sep 24, 2013 at 9:16 PM, Steve Pieper <pieper at ibility.net> wrote:

> Hi Folks -
>
> Has anyone tried VES/VTK and emscripten[1]?  Other OpenGL (ES) game
> platforms appear to compile to javascript and work with WebGL (even on a
> phone!) and you can even run complete, if simple, Qt applications in a
> browser.
>

The last time we tried to compile VES using emscripten didn't work out
(just pure VES (no VTK code). It was an effort with one of the Mozilla
developer, however I must mention that we didn't spend a whole lot of time
on it.

>
> I can already hear the purists scream about this being an 'ugly hack'
> which, I have to admit, it kind of is.  But it also shows some promise and
> for a certain subset of VTK functionality it might make sense to expose
> javascript bindings this way rather than rewriting something new in pure
> javascript.  See for example the zlib, python, sqlite, and other large
> C/C++ code bases that are automagically available now in the browser.
>
> We are certainly interesting in trying this approach and will pursue it
again. If you would like to contribute, then let us know.

- Aashish



> Thoughts?
> -Steve
>
> [1] https://github.com/kripken/emscripten/wiki
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
>
>


-- 
| Aashish Chaudhary
| R&D Engineer
| Kitware Inc.
| www.kitware.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20130924/59d6e6c4/attachment.html>


More information about the vtk-developers mailing list