<div dir="ltr">Hi Steve,<div><br></div><div><span style="font-family:arial,sans-serif;font-size:12.800000190734863px">emscripten</span> was brought up (by David Thompson) during one of our group meetings yesterday. We were talking about a possible webclient based on a Qt/VTK application, and an <span style="font-family:arial,sans-serif;font-size:12.800000190734863px">emscripten type approach will be very appealing. We haven't investigated the possibility whether this will work yet, but it is on our radar, and would love to hear inputs regarding this too.</span></div>
<div><span style="font-family:arial,sans-serif;font-size:12.800000190734863px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:12.800000190734863px">Thanks,</span></div><div><span style="font-family:arial,sans-serif;font-size:12.800000190734863px">Yumin</span></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Sep 24, 2013 at 9:43 PM, Marcus D. Hanwell <span dir="ltr"><<a href="mailto:marcus.hanwell@kitware.com" target="_blank">marcus.hanwell@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Tue, Sep 24, 2013 at 9:16 PM, Steve Pieper <<a href="mailto:pieper@ibility.net">pieper@ibility.net</a>> wrote:<br>

><br>
</div><div><div class="h5">> Hi Folks -<br>
><br>
> 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.<br>

><br>
> 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.<br>

><br>
</div></div>I haven't had time to actually try it out yet, but have been thinking<br>
about using it (and had some brief discussions with a friend at<br>
Mozilla. I think it would be a great approach that could allow us to<br>
share a lot of common code on mobile and web, although WebGL lacks<br>
some features that are available on mobile as far as I can tell there<br>
is a lot of commonality.<br>
<br>
It is certainly something we should consider, and it seems like a good<br>
candidate for the new rendering code in VTK too.<br>
<span class="HOEnZb"><font color="#888888"><br>
Marcus<br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<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>
</div></div></blockquote></div><br></div>