<div dir="ltr"><div><div><div><div>Hi Oliver,<br><br></div>just after pressing 'send', I realised you are comaso on GitHub ;-)<br><br></div>When building VTK for x86, you can enable the external rendering module with 'Module_vtkRenderingExternal=ON' which gives access to vtkExternalOpenGLRenderWindow class. Unfortunately, this option is not available when building for Android, so subclassing vtkGenericOpenGLRenderWindow seems to be necessary. Or am I wrong?<br><br></div>Thanks,<br></div>Max<br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-02-03 10:07 GMT+01:00 Olivier COMAS <span dir="ltr"><<a href="mailto:ocomas@apelem.com" target="_blank">ocomas@apelem.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    Hi Max,<br>
    <br>
    I'm comaso on GitHub ;-)<br>
    <br>
    There's probably nothing wrong with your own fork, I just meant that
    the original repository had comments discussing the OpenGL2 render
    backend. Let me know if you had troubles understanding how I made it
    work. I was reporting my progress while I was working on it so you
    have to put the pieces together by reading all comments. <br>
    <br>
    Cheers,<br>
    <br>
    Olivier<div><div class="h5"><br>
    <br>
    <div>Le 03/02/2016 09:39, Max-Heinrich Laves
      a écrit :<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">
        <div>
          <div>
            <div>Hi Oliver,<br>
              <br>
            </div>
            sorry, that was my own fork on Github. I'll have a look at
            the comments by comaso. He/she seems to have it running with
            OpenGL2 render backend.<br>
            <br>
          </div>
          Thanks!<br>
        </div>
        Max<br>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">2016-02-03 9:34 GMT+01:00 Olivier COMAS
          <span dir="ltr"><<a href="mailto:ocomas@apelem.com" target="_blank">ocomas@apelem.com</a>></span>:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div text="#000000" bgcolor="#FFFFFF"> Hi guys,<br>
              <br>
              Look at this page instead: <a href="https://gist.github.com/nocnokneo/c3fb01bb7ecaf437f7d6" target="_blank">https://gist.github.com/nocnokneo/c3fb01bb7ecaf437f7d6</a>.
              The one Max gave was forked from it. Not sure what are the
              differences but look at the comments below the link I just
              provided. There is some discussion about the OpenGL2
              render backend. I managed to make it work and I put in the
              comments how I did it (comaso). <br>
              <br>
              Hope this helps.<span><font color="#888888"><br>
                  <br>
                  Olivier</font></span>
              <div>
                <div><br>
                  <br>
                  <div>Le 03/02/2016 08:38, Max-Heinrich Laves a écrit :<br>
                  </div>
                  <blockquote type="cite">
                    <div dir="ltr">
                      <div>
                        <div>Hi Att,<br>
                          I was and am still looking for the same,
                          especially VTK+QML on Android. The only thing
                          I found was <a href="https://gist.github.com/the-max0r/35fb43ac43c6e18666c5" target="_blank">https://gist.github.com/the-max0r/35fb43ac43c6e18666c5</a><br>
                        </div>
                        Unfortunately, when compiled with v7.0.0
                        (release) and OpenGL2 as render backend, the
                        code segfaults at <span>glBlendFuncSeparate</span>
                        in <span>vtkOpenGLRenderWindow.cxx at line 373.
                          With VTK 6.3.0 or 7.0 with OpenGL as render
                          backend, the code runs as expected. But
                          OpenGL2 is needed when compiled for Android.<br>
                          <br>
                        </span></div>
                      <span>Max</span></div>
                    <div class="gmail_extra"><br>
                      <div class="gmail_quote">2016-02-03 2:01 GMT+01:00
                        Lays Rodrigues <span dir="ltr"><<a href="mailto:laysrodriguessilva@gmail.com" target="_blank"></a><a href="mailto:laysrodriguessilva@gmail.com" target="_blank">laysrodriguessilva@gmail.com</a>></span>:<br>
                        <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                          <div dir="ltr">
                            <div class="gmail_default" style="font-size:small">Hi guys,</div>
                            <div class="gmail_default" style="font-size:small">There's a way to
                              bind VTK and QML?</div>
                            <div class="gmail_default" style="font-size:small">I really would
                              like to use VTK on an app that I'm working
                              for, but don't find any information about
                              this kind of bind.</div>
                            <div class="gmail_default" style="font-size:small">Any tips about it?</div>
                            <div class="gmail_default" style="font-size:small"><br>
                            </div>
                            <div class="gmail_default" style="font-size:small">Att</div>
                            <span><font color="#888888">
                                <div><br>
                                </div>
                                -- <br>
                                <div>
                                  <div dir="ltr">
                                    <div>
                                      <div dir="ltr">
                                        <div>
                                          <div dir="ltr">
                                            <div>
                                              <div dir="ltr">
                                                <div>
                                                  <div dir="ltr">
                                                    <div>
                                                      <div dir="ltr">
                                                        <div>
                                                          <div dir="ltr">
                                                          <div>
                                                          <div dir="ltr">
                                                          <div><img src="https://docs.google.com/uc?export=download&id=0B9wuK5E9rkEFNGhtMGdPdUFBbjg&revid=0B9wuK5E9rkEFZngvckd3NHdaVDVTclpScmJ0TlJLclZXYjdVPQ" height="113" width="420">--</div>
                                                          <div><br>
                                                          </div>
                                                          <div><br>
                                                          </div>
                                                          <div><br>
                                                          </div>
                                                          <div><br>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                        </div>
                                                      </div>
                                                    </div>
                                                  </div>
                                                </div>
                                              </div>
                                            </div>
                                          </div>
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                              </font></span></div>
                          <br>
_______________________________________________<br>
                          Powered by <a href="http://www.kitware.com" rel="noreferrer" 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"></a><a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
                          <br>
                          Please keep messages on-topic and check the
                          VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
                          <br>
                          Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank"></a><a href="http://markmail.org/search/?q=vtkusers" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
                          <br>
                          Follow this link to subscribe/unsubscribe:<br>
                          <a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
                          <br>
                        </blockquote>
                      </div>
                      <br>
                    </div>
                    <br>
                    <fieldset></fieldset>
                    <br>
                    <pre>_______________________________________________
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a>

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>

Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a>

Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" target="_blank">http://markmail.org/search/?q=vtkusers</a>

Follow this link to subscribe/unsubscribe:
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a>
</pre>
                  </blockquote>
                  <br>
                </div>
              </div>
            </div>
            <br>
            _______________________________________________<br>
            Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
            <br>
            Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank"></a><a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
            <br>
            Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank"></a><a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
            <br>
            Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
            <br>
            Follow this link to subscribe/unsubscribe:<br>
            <a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_______________________________________________
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a>

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>

Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a>

Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" target="_blank">http://markmail.org/search/?q=vtkusers</a>

Follow this link to subscribe/unsubscribe:
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a>
</pre>
    </blockquote>
    <br>
  </div></div></div>

<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div>