[vtk-developers] VTK on iOS

Jeff Baumes jeff.baumes at kitware.com
Wed Mar 2 14:48:51 EST 2011


Sason,

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.

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.

Jeff

On Wed, Mar 2, 2011 at 10:58 AM, Sason Ohanian Saki <sason at kth.se> wrote:

> Hello!
>
> 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.
>
> 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...
>
> 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...
>
> 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.
>
> 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).
>
> Any kind of help is much appreciated, like links to documentation or
> literature that could be useful.
>
> /Sason
>
>
>
>
>
>
> _______________________________________________
> 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
>
>


-- 
Jeff Baumes, Ph.D.
Technical Lead, Kitware Inc.
(518) 881-4932
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20110302/9c880ffb/attachment.html>


More information about the vtk-developers mailing list