Sason,<div><br></div><div>We have seen interest for this a few times now. Perhaps we can make a place for collaboration on this effort in the form of a branch of VTK or a new repository specifically for adapting VTK for OpenGL ES. This would be very experimental, but it might be nice as a way for others to see what's going on and potentially contribute.</div>
<div><br></div><div>One thing we have realized in our investigations is that it does indeed require a revamp of the OpenGL code in VTK. Most OpenGL code in VTK uses the fixed pipeline, but OpenGL ES does away with the fixed pipeline and requires the use of shaders. I believe it will require new subclasses of vtkRenderWindow and vtkRenderer, as well as new mappers for geometry, etc. A benefit is that any OpenGL ES code would likely be able to be used in both iOS and Android.</div>
<div><br></div><div>Jeff<br><br><div class="gmail_quote">On Wed, Mar 2, 2011 at 10:58 AM, Sason Ohanian Saki <span dir="ltr"><<a href="mailto:sason@kth.se">sason@kth.se</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hello!<br>
<br>
I am a CS/Engineering student from KTH, Stockholm, Sweden and I have just started to work on my masters thesis which is to investigate whether VTK or parts of VTK can be run on an iPad/iOS and to make the necessary implementations.<br>

<br>
I have spent some time reading through some documentation, the wiki, looking at code etc. From what I understand so far it should be possible and what primarily needs to be done is to make new openGL(ES) implementations, renderer for CocaTouch, editing/extending some factory classes etc...<br>

<br>
I have just gotten started and I am having some trouble with CMake and building VTK. I have little familiarity with CMake and I was wondering if someone could point me in the right direction (or any direction) of building VTK for the iPad. Please bare with me if my questions seems stupid, but here they come...<br>

<br>
How do I use CMake to build VTK for iPad/iOS? Will I need to edit the CMake files to add information to be able to build for a new platform? I am referring to for example VTK_USE_COCOA and references to openGL, Im assuming some code needs to be added to handle Cocoa Touch and OpenGL ES.<br>

<br>
Should I invest in the books "VTK User's Guide" and/or "Mastering CMake"? Will they be of significance in helping me to do what i want to do? (I´m on a tight budget).<br>
<br>
Any kind of help is much appreciated, like links to documentation or literature that could be useful.<br>
<br>
/Sason<br>
<br>
<br>
<br>
<br>
<br>
<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>
</blockquote></div><br><br clear="all"><br>-- <br>Jeff Baumes, Ph.D.<br>Technical Lead, Kitware Inc.<br>(518) 881-4932<br>
</div>