cary
Posts: 6
Joined: Thu Mar 21, 2013 2:37 pm

How to draw nonconvex polygon in raspberry

Mon Apr 08, 2013 4:27 pm

Now i want to draw non-convex polygon on my raspberry.
I used to use GLUtesselator to do the drawing On my pc and i am a new guy to used opengl es. Does raspberry also support that?
Does any one know how to do this?

-rst-
Posts: 1316
Joined: Thu Nov 01, 2012 12:12 pm
Location: Dublin, Ireland

Re: How to draw nonconvex polygon in raspberry

Tue Apr 09, 2013 4:14 pm

Maybe some of these would work on RPi http://stackoverflow.com/questions/3231 ... tesselator
http://raspberrycompote.blogspot.com/ - Low-level graphics and 'Coding Gold Dust'

cary
Posts: 6
Joined: Thu Mar 21, 2013 2:37 pm

Re: How to draw nonconvex polygon in raspberry

Wed Apr 10, 2013 3:49 am

Does raspberry support glu/glut? I only know raspberry support opengl es.

-rst-
Posts: 1316
Joined: Thu Nov 01, 2012 12:12 pm
Location: Dublin, Ireland

Re: How to draw nonconvex polygon in raspberry

Wed Apr 10, 2013 1:18 pm

No GLU - wiki says "GLU is not implemented in the embedded version of the OpenGL package, OpenGL ES." http://en.wikipedia.org/wiki/OpenGL_Utility_Library

Some mention of GLUT for RPi here http://www.raspberrypi.org/phpBB3/viewt ... UT#p127216
http://raspberrycompote.blogspot.com/ - Low-level graphics and 'Coding Gold Dust'

Thaddy
Posts: 174
Joined: Wed Mar 06, 2013 11:28 am

Re: How to draw nonconvex polygon in raspberry

Fri May 10, 2013 12:22 pm

Just for drawing polygons have a look at openvg. ajstarks has a nice lib for it

raspteam
Posts: 9
Joined: Wed Oct 10, 2012 8:54 pm

Re: How to draw nonconvex polygon in raspberry

Mon Jan 13, 2014 6:00 am

Hi,

I had be able to integrate opengl_es on my custom cross-compiler and to generate hello examples. That worked fine on wheesy. I would to compile glus or gtk in order to make a static library for my custom compiler.
I had a linker error during example link because i have not compiled gluraspberry_es.c source file. However, i have also an error during glu static library compilation. Anyone have met this problem? Have You a solution?

Thanks

Return to “Graphics programming”