Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » What's the relationship between the U++ GUI and OpenGL?
What's the relationship between the U++ GUI and OpenGL? [message #48740] Thu, 07 September 2017 04:54 Go to next message
ptkacz is currently offline  ptkacz
Messages: 84
Registered: March 2017
Member
Hi Guys,

What's the relationship between the U++ GUI and OpenGL? When making use of OpenGL, what drives the GUI's graphics as compared to when not making use of OpenGL?

Below is a screen shot of a quick app that I've thrown together as a starting point, first to see if it's possible to build a U++ GUI with an OpenGL window. The push buttons, "A", "B" and "C" haven't been programmed to do anything yet and will be redefined. The OpenGL code was pulling in from the "OpenGL" demo found within the U++ theide reference section,... and is to be gutted when I start playing around with the code tomorrow.

As for the OpenGL commands provided by U++, are these commands that are defined in other C language OpenGL libraries? Is there anything that one should be aware of when mixing OpenGL with U++?


Peter

index.php?t=getfile&id=5387&private=0

Re: What's the relationship between the U++ GUI and OpenGL? [message #48741 is a reply to message #48740] Thu, 07 September 2017 10:14 Go to previous messageGo to next message
cbpporter is currently offline  cbpporter
Messages: 1336
Registered: September 2007
Senior Contributor
AFAIK, U++ is not OpenGL aware.

All we do is provide you a container widget in which you can render OpenGL (GLCtrl), using the standard headers and libraries, so everything should work as normal.

There is also the GLDraw package, which offers some super light features if you wish to not call OpenGL directly in order to acheive some simple tasks and interface with U++, like painting an Image.
Re: What's the relationship between the U++ GUI and OpenGL? [message #48746 is a reply to message #48740] Sun, 10 September 2017 06:55 Go to previous message
ptkacz is currently offline  ptkacz
Messages: 84
Registered: March 2017
Member
Thanks cbpporter.
Previous Topic: Package Organizer bug?
Next Topic: Resizing a GUI object?
Goto Forum:
  


Current Time: Sat Feb 23 08:14:57 CET 2019

Total time taken to generate the page: 0.00620 seconds