Hi Diego,

This is a very interesting idea.  Can you explain in further detail how you are 
thinking of integrating this into Wt?  I know OpenGL/OpenGL ES well (wrote a 
book on it :), but have not looked seriously at WebGL before.  As I understand 
it, it is essentially a set of JavaScript bindings to an OpenGL ES 
2.0-equivalent API.  Just thinking out loud here, in order for this to work 
from the Wt server you would need to generate the equivalent Javascript 
function calls to be executed on the client.  So, the Wt object that you expose 
would need to have all of the OpenGL ES API function calls and then you would 
build up a set of Javascript code based on the GL calls made by the server 
application?  

This sounds possible, but not trivial.  We once worked on doing a networked 
renderer for OpenGL ES and it was the same basic idea in that you have to 
serialize/deserialize all of the OpenGL ES calls on both sides.  It is a 
non-trivial exercise though, took a very smart engineer several months to get 
it working :)  

Maybe you can elaborate a little more on how you envisioned this working?

Thanks.


On Mar 12, 2010, at 5:42 PM, Diego Cantor-Rivera wrote:

> Dear list members,
> 
> I have been thinking about writing code to integrate the new WebGL in Wt. But 
> before jumping in, I would like to know the perspective of more experienced 
> Wt users/developers. Do you guys think it is feasible? I mean, I know that 
> using the html5 canvas is possible and that one could include the required 
> webgl javascript libraries (in the same fasion as ExtJS is included). Also, 
> WebGL is a DOM API which means that I could access it with ajax to update the 
> state of whatever I have rendered there (?)
> 
> Any comments? Has anyone think of this before?
> 
> Thanks,
> 
> Diego
> -- 
>  Diego Cantor-Rivera 
>  Ph.D.Student in Biomedical Engineering, University of Western Ontario 
>  Imaging Research Laboratories, Robarts Research Institute 
>  P.O. Box 5015, 100 Perth Drive, London, ON, Canada N6A 5K8 
>  email: dcantor <at>imaging.robarts.ca 
>  Visit me at: http://bit.ly/dcantor/
> 
> <ATT00001..txt><ATT00002..txt>

Dan Ginsburg / email: [email protected]
Principal Software Architect
Fetal-Neonatal Neuroimaging and Development Science Center
Children's Hospital Boston
300 Longwood Avenue
Boston, MA 02115
Phone: 857-218-5140


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to