<div dir="ltr"><div><div>Thanks Pat. That made all the difference.<br><br></div>I was confused whether the OpenGL or OpenGLES libraries were being used because I remember having to install the mesa OpenGLES development package to successfully build VES. I'm building on Ubuntu 12.04 x86_64.<br>
<br></div>Thanks again.<br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Mar 3, 2014 at 4:39 PM, Pat Marion <span dir="ltr"><<a href="mailto:james.patrick.marion@gmail.com" target="_blank">james.patrick.marion@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>The example programs are indeed hardware accelerated. VES links to the system GL library, see OPENGL_gl_LIBRARY in your CMakeCache.txt. For example, on my machine it's /usr/lib/x86_64-linux-gnu/libGL.so, which means the examples will use your system GL driver (like nvidia for example).<br>
<br>Thanks for pointing out the 100% CPU bug. That's easily fixed- delete line 221 in vesTestHelper.h:<br><br> glutIdleFunc(vesTestHelperGlobals::idle);<br><br></div><div><div>The examples use the GLUT to manage the OpenGL context and receive keyboard/mouse input. In vesTestHelper.cpp, line 221, a glut idle callback is initialized, even though it's not actually used for anything!<br>
<br>Pat<br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Mon, Mar 3, 2014 at 4:06 PM, kranial smok <span dir="ltr"><<a href="mailto:kranial.smok@gmail.com" target="_blank">kranial.smok@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div><div>Hello All,<br><br></div>First, thanks for creating and releasing these great libraries.<br>
<br></div>Second, I would like to write a simple CAD program for the Linux desktop and in the future have versions for Android and IOS that share as much code as possible.<br>
<br></div><div>Is it possible to to compile VES to use hardware-accelerated OpenGL or OpenGLES on the desktop? I have configured VES like this:<br><br>cmake -DVES_HOST_SUPERBUILD:BOOL=TRUE VES_USE_DESKTOP_GL=ON<br><br></div>
<div>but the examples seem to take ~100% of a CPU when running as opposed to VTK examples that take very little CPU.<br><br></div><div>Any help will be greatly appreciated.<br><br></div><div>Thanks<br></div></div>
<br></div></div>_______________________________________________<br>
Ves mailing list<br>
<a href="mailto:Ves@public.kitware.com" target="_blank">Ves@public.kitware.com</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/ves" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/ves</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>