[Ves] VES on the Desktop

Aashish Chaudhary aashish.chaudhary at kitware.com
Wed Mar 5 11:12:00 EST 2014


Kranial,

Just wanted to add that in VES, we disable certain features that are not
supported on ES. If you want to understand how we include different GL
headers, then
have a look at the vesGL.h.

Thanks,



On Wed, Mar 5, 2014 at 10:49 AM, kranial smok <kranial.smok at gmail.com>wrote:

> 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
>>>
>>>
>>
>
> _______________________________________________
> Ves mailing list
> Ves at public.kitware.com
> http://public.kitware.com/cgi-bin/mailman/listinfo/ves
>
>


-- 
| Aashish Chaudhary
| R&D Engineer
| Kitware Inc.
| www.kitware.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ves/attachments/20140305/848bb9ab/attachment-0003.html>


More information about the Ves mailing list