[Ves] VES on the Desktop

kranial smok kranial.smok at gmail.com
Wed Mar 5 10:49:02 EST 2014


Thanks Pat. That made all the difference.

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.

Thanks again.



On Mon, Mar 3, 2014 at 4:39 PM, Pat Marion
<james.patrick.marion at gmail.com>wrote:

> 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).
>
> Thanks for pointing out the 100% CPU bug.  That's easily fixed- delete
> line 221 in vesTestHelper.h:
>
>   glutIdleFunc(vesTestHelperGlobals::idle);
>
> 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!
>
> Pat
>
>
> On Mon, Mar 3, 2014 at 4:06 PM, kranial smok <kranial.smok at gmail.com>wrote:
>
>> Hello All,
>>
>> First, thanks for creating and releasing these great libraries.
>>
>> 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.
>>
>> Is it possible to to compile VES to use hardware-accelerated OpenGL or
>> OpenGLES on the desktop? I have configured VES like this:
>>
>> cmake -DVES_HOST_SUPERBUILD:BOOL=TRUE VES_USE_DESKTOP_GL=ON
>>
>> but the examples seem to take ~100% of a CPU when running as opposed to
>> VTK examples that take very little CPU.
>>
>> Any help will be greatly appreciated.
>>
>> Thanks
>>
>> _______________________________________________
>> Ves mailing list
>> Ves at public.kitware.com
>> http://public.kitware.com/cgi-bin/mailman/listinfo/ves
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ves/attachments/20140305/1fbd5a6d/attachment-0003.html>


More information about the Ves mailing list