<div dir="ltr">On Tue, Sep 24, 2013 at 9:16 PM, Steve Pieper <span dir="ltr"><<a href="mailto:pieper@ibility.net" target="_blank">pieper@ibility.net</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div>Hi Folks - </div><div><br></div><div>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.</div>
</div></blockquote><div><br></div><div>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. </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">
<div><br></div><div>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.</div>

<div><br></div></div></blockquote><div>We are certainly interesting in trying this approach and will pursue it again. If you would like to contribute, then let us know. </div><div><br></div><div>- Aashish</div><div> </div>
<div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div></div><div>Thoughts?</div>
<div>-Steve</div><div><br></div>[1] <a href="https://github.com/kripken/emscripten/wiki" target="_blank">https://github.com/kripken/emscripten/wiki</a><br></div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
<br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>| Aashish Chaudhary <br>| R&D Engineer         <br>| Kitware Inc.            <br>| <a href="http://www.kitware.com">www.kitware.com</a>    
</div></div>