Log in or register to post comments

Native code with OpenGL?

May 29, 2012 - 7:52am #1

Hello,
The graphics i am rendering as AR graphics requires some lines to be drawn. I need to start by drawing lines arrays, but with many weeks of attempts i am beginning to conclude that OpenGL ES is extremely unstable with line arrays and it is impossible to get any thing meaningful with ES. This things I draw with a breeze using C++ with visual studio IDE. So can OpenGL (not ES) with native code run on eclipse with vuforia? In other words can I use glBegin .....glEnd??
If not can I have a hint how to reliably draw line arrays using glDrawArrays( GL10.GL_LINES, ..... ).

thanks

Re: Native code with OpenGL?

May 29, 2012 - 11:11am #2

You have to use OpenGL ES

Here's an example of how to use glDrawArrays - http://ar.qualcomm.at/node/2000574

If that doesn't help, post the relevant portion of the code you're using.

Log in or register to post comments