Page 3 of 3

Re: HMG and OpenGL

Posted: Mon Oct 26, 2009 10:37 am
by Rathinagiri
It is not the problem of opengl or windows XP. But the compatibility of opengl and video drivers. I don't know how to solve.

http://support.microsoft.com/kb/285912

Re: HMG and OpenGL

Posted: Mon Oct 26, 2009 11:15 am
by esgici
rathinagiri wrote:It is not the problem of opengl or windows XP. But the compatibility of opengl and video drivers. I don't know how to solve.
Hi Rathi

No problem.

It's time for upgrading hardware :)

Please continue your software development for OpengL support in HMG.

Regards

--

Esgici

Re: HMG and OpenGL

Posted: Tue Oct 27, 2009 4:51 am
by sudip
Hello Rathi,
Thanks a lot :)
I tested it.
After building it showed distorted graphics. I closed it. Then I ran again. I showed following picture.
OpenGl001.jpg
OpenGl001.jpg (33.15 KiB) Viewed 12616 times
With best regards.
Sudip

Re: HMG and OpenGL

Posted: Tue Oct 27, 2009 5:32 am
by Rathinagiri
Yes Sudip, it is the incompatibility of Windows XP graphics drivers and openGL. :(

In Vista, it works fine.

Re: HMG and OpenGL

Posted: Tue Oct 27, 2009 9:00 am
by sudip
No problem, friend Rathi. Please continue the project :)
For some reasons, I am not able to test it on Vista right now. Can you please show some image output in Vista? So that, I can understand what it should be.
With best regards.
Sudip

Re: HMG and OpenGL

Posted: Mon Mar 07, 2011 9:16 pm
by matthew
Is the OpenGL library still being developed?

I just ran the example on my XP netbook but suffered the same problem other users were having with distorted background imagery. I've done some OpenGL programming in the past & was able to solve the problem by adding the following lines in the c_graphics.c file.

Code: Select all

glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
glLoadIdentity();
The problem was that the screen wasn't being cleared before drawing, the lines above fix that.

Re: HMG and OpenGL

Posted: Tue Mar 08, 2011 3:21 am
by Rathinagiri
Oh! That's great. Thanks a lot Mathew!

So, the problem is solved after a very long time! :)