U++ Forum - RDF feed
https://www.ultimatepp.org/forums/
OpenGL example does not work
https://www.ultimatepp.org/forums/index.php?t=rview&goto=50009&th=10383#msg_50009
Thanks,
Javier]]>2812642018-06-16T17:13:57-00:00Re: OpenGL example does not work
https://www.ultimatepp.org/forums/index.php?t=rview&goto=50013&th=10383#msg_50013
No log running it in command line. After a first review nothing seems wrong...
Which version of Linux are you using?
]]>koldo2018-06-17T20:11:07-00:00Re: OpenGL example does not work
https://www.ultimatepp.org/forums/index.php?t=rview&goto=50017&th=10383#msg_50017
In summary, the problem seems related with Windows 10.]]>koldo2018-06-18T09:18:44-00:00Re: OpenGL example does not work
https://www.ultimatepp.org/forums/index.php?t=rview&goto=50030&th=10383#msg_50030
Thanks,
Javier
]]>2812642018-06-23T20:10:23-00:00Re: OpenGL example does not work
https://www.ultimatepp.org/forums/index.php?t=rview&goto=50031&th=10383#msg_50031
]]>koldo2018-06-24T13:28:13-00:00Re: OpenGL example does not work
https://www.ultimatepp.org/forums/index.php?t=rview&goto=50032&th=10383#msg_50032
koldo2018-06-24T14:10:56-00:00Re: OpenGL example does not work
https://www.ultimatepp.org/forums/index.php?t=rview&goto=50033&th=10383#msg_50033
Can you test on stable U++ version? I believe some last changes might broke OpenGL.
Sincerely,
Klugier
]]>Klugier2018-06-24T17:16:25-00:00Re: OpenGL example does not work
https://www.ultimatepp.org/forums/index.php?t=rview&goto=50034&th=10383#msg_50034
Good point.
Unfortunately I have just tried stable U++ with MSC17 and MinGW, 32 and 64 bits, and the problem remains.
I am confused. I have reviewed changes in DHCtrl and GLCtrl but i have not found anything relevant.
Just to clarify, the two tests I did that worked where programmed directly in OpenGL.]]>koldo2018-06-25T07:47:37-00:00Re: OpenGL example does not work
https://www.ultimatepp.org/forums/index.php?t=rview&goto=50035&th=10383#msg_50035
Just wanted to let you know that I recently had some trouble with OpenGL / GLCtrl, until I found and disabled some 'USE-GL-SHADER' macro. My graphics hardware was not up to that, so it was not working when enabled.
I'm sorry I can't confirm the exact real name or location of the #define in U++ code base. (I'm not at the office right now and cannot check.) Hope this helps anyway.
Best regards,
Tom
Update: Maybe it was in GLDraw...]]>Tom12018-06-25T11:30:34-00:00Re: OpenGL example does not work
https://www.ultimatepp.org/forums/index.php?t=rview&goto=50037&th=10383#msg_50037
Tom1 wrote on Mon, 25 June 2018 13:30
Hi Koldo,
Just wanted to let you know that I recently had some trouble with OpenGL / GLCtrl, until I found and disabled some 'USE-GL-SHADER' macro. My graphics hardware was not up to that, so it was not working when enabled.
That is extremely unlikely. Our shader stuff is supported by anything younger than 12 years...
Mirek
]]>mirek2018-06-25T15:51:49-00:00Re: OpenGL example does not work
https://www.ultimatepp.org/forums/index.php?t=rview&goto=50038&th=10383#msg_50038
i'm new in this forum, and i'm not a guru of c++, but i like this work and i'm following it from 2006.
it is really a great job, i'm using it for small programs and to learn c++.
Any way i was working with opengl for my hobbies, and with upp version 11540 all was working very well, but i decide to migrate to version 11873 and it stopped working.
I tried some debug, and i discovered that "virtual void GLPaint()" is out of system message queue. hope this can help to solve the issue.
thanks a lot for your work.
Ciao.
]]>pepe19702018-06-25T19:22:23-00:00Re: OpenGL example does not work
https://www.ultimatepp.org/forums/index.php?t=rview&goto=50039&th=10383#msg_50039
It is true. Nobody is calling GLPaint() and also nobody is calling GLCtrl::GLPane::WindowProc().
Is the problem in DHCtrl()?]]>koldo2018-06-26T06:52:48-00:00Re: OpenGL example does not work
https://www.ultimatepp.org/forums/index.php?t=rview&goto=50040&th=10383#msg_50040
koldo wrote on Tue, 26 June 2018 08:52
Thank you Pepe
It is true. Nobody is calling GLPaint() and also nobody is calling GLCtrl::GLPane::WindowProc().
Is the problem in DHCtrl()?
BTW, I am actually starting to think that using DHCtrl is a mistake for GLCtrl.
AFAIK, it is possible to render opengl to bitmap handle, so it is possible to create GLCtrl that is not based on DHCtrl.]]>mirek2018-06-26T08:45:27-00:00Re: OpenGL example does not work
https://www.ultimatepp.org/forums/index.php?t=rview&goto=50041&th=10383#msg_50041
mirek2018-06-26T09:54:38-00:00Re: OpenGL example does not work
https://www.ultimatepp.org/forums/index.php?t=rview&goto=50042&th=10383#msg_50042
Mirek, do you remember our implementation of GLCtrl that uses bitmap on GTK? It is slow and it doesn't work great and it doesn't support several important features like double buffering etc. I am not sure it is the good way for implementing OpenGL. Please think about better alternative...
Sincerely,
Klugier
]]>Klugier2018-06-26T10:18:19-00:00Re: OpenGL example does not work
https://www.ultimatepp.org/forums/index.php?t=rview&goto=50043&th=10383#msg_50043
koldo2018-06-26T12:03:46-00:00Re: OpenGL example does not work
https://www.ultimatepp.org/forums/index.php?t=rview&goto=50056&th=10383#msg_50056
Does the problem is solved?]]>koldo2018-06-30T14:10:35-00:00Re: OpenGL example does not work
https://www.ultimatepp.org/forums/index.php?t=rview&goto=50106&th=10383#msg_50106
2812642018-07-28T15:55:44-00:00Re: OpenGL example does not work
https://www.ultimatepp.org/forums/index.php?t=rview&goto=50110&th=10383#msg_50110
Cheers,
Javier]]>2812642018-07-29T15:48:07-00:00Re: OpenGL example does not work
https://www.ultimatepp.org/forums/index.php?t=rview&goto=50112&th=10383#msg_50112
I think you could help us a little You can prepare updated plugin/glew package and post it here as a zip package. After that I or Mirek will push it to the trunk.
Sincerely,
Klugier
]]>Klugier2018-07-29T20:56:50-00:00Re: OpenGL example does not work
https://www.ultimatepp.org/forums/index.php?t=rview&goto=50211&th=10383#msg_50211
I am sorry but I do not know how to update the plug in for it contains multi-platform features. I normally use the files directly from the Glew web page (Windows version), which is updated. I tested the plugin and I noticed that some of the OpenGL features are not contained in it; but I reckon that, unless you are an advanced OpenGL user -I am not, by the way-, or want yo use the latest version of a function in OpenGL 4.6, one can be perfectly happy with the plugin as it is at the moment.