OpenGl

Electronic Flight Information and Management System

Moderators: John Nicol, davecove

Post Reply
Neil Domalik
Posts: 47
Joined: 08 Jan 2013, 14:00

OpenGl

Post by Neil Domalik »

Hey Guys,

When the RPi 3 was release Tony D with Adafruit released something about PyopenGL
https://www.youtube.com/watch?v=lQYlIn1BEfk and it got me thinking about it so I've been playing with it for a I've not tryed it out on a OpenGL enabled pi so if you want give it a go. The code is at github https://github.com/neil-d95/pyOpenGL_testing have a look inital it was going to be hsi but I changed it to an AI forgive the naming it was the middle of the night when I did the inital commint :oops:

Later,
Neil
birkelbach
Posts: 193
Joined: 04 Sep 2012, 14:42

Re: OpenGl

Post by birkelbach »

It would be interesting to figure out if PyQt will use the new OpenGL driver. Do you think that we should consider moving the EFIS software to OpenGL? I wondered at the beginning if we shouldn't head down that path but at the time all we could get was OpenGLES and it didn't use the GPU anyway. I'm trying to think forward to the day when we are doing 3D rendering of synthetic vision stuff. it can't be that hard right? :-) On the other hand, a lot of work has already been done.
Phil Birkelbach
Waller, Texas
RV-7 727WB
www.myrv7.com
User avatar
John Nicol
Posts: 611
Joined: 23 Nov 2011, 12:17
Contact:

Re: OpenGl

Post by John Nicol »

Check this out!

http://www.cobbin.com

OK, hurry up and get it integrated already.....

John
-----
John Nicol
Founder, MakerPlane
birkelbach
Posts: 193
Joined: 04 Sep 2012, 14:42

Re: OpenGl

Post by birkelbach »

We've already figured out how to get FIX information into and out of FlightGear. Neil and I talked (emailed) a year ago or so about using FlightGear as synthetic vision. I guess I had forgotten about it. It really makes sense. The major hurdles have been overcome. It seems to be an integration issue now. OpenEagle hasn't been updated in over 7 years. I wonder if he's still interested in helping with this kind of an effort.
Phil Birkelbach
Waller, Texas
RV-7 727WB
www.myrv7.com
Neil Domalik
Posts: 47
Joined: 08 Jan 2013, 14:00

Re: OpenGl

Post by Neil Domalik »

Everyone,

Figured I provide and update since I fell into a rabbit hole of graphics.

I've been working on adding a feature to render the Attitude Indicator on a specific box 4 by 4. I'm figuring the math that is required to pull this off requires less processing then rendering an object and covering parts of it up with other or moving it off the view area. This has definitely required a lot of my brain power stuff I've not done since collage math classes.

I'm hoping to get the feature posted to GitHub this week or before Monday. Last I remember looking at Atom the diff was +248 lines of code and I think there is probably another 40 to go. It's no pretty by a long shot but I can clean it up later. :lol:

Later
Neil
Neil Domalik
Posts: 47
Joined: 08 Jan 2013, 14:00

Re: OpenGl

Post by Neil Domalik »

Well finally finish the inital feature commit ouch 370 additions and 32 deletions. Check it out and see what you think I know there has to be a butt load of clean up. Has anyone tryed this on a opengl enabled pi yet? I think that'll be next on my list.

Later,
Neil
Post Reply