HMG and OpenGL

Source code related resources

Moderator: Rathinagiri

User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: HMG and OpenGL

Post 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
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: HMG and OpenGL

Post 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
Viva INTERNATIONAL HMG :D
User avatar
sudip
Posts: 1454
Joined: Sat Mar 07, 2009 11:52 am
Location: Kolkata, WB, India

Re: HMG and OpenGL

Post 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 9920 times
With best regards.
Sudip
With best regards,
Sudip
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: HMG and OpenGL

Post by Rathinagiri »

Yes Sudip, it is the incompatibility of Windows XP graphics drivers and openGL. :(

In Vista, it works fine.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
sudip
Posts: 1454
Joined: Sat Mar 07, 2009 11:52 am
Location: Kolkata, WB, India

Re: HMG and OpenGL

Post 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
With best regards,
Sudip
matthew
Posts: 3
Joined: Mon Mar 07, 2011 1:24 pm
Location: England
Contact:

Re: HMG and OpenGL

Post 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.
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: HMG and OpenGL

Post by Rathinagiri »

Oh! That's great. Thanks a lot Mathew!

So, the problem is solved after a very long time! :)
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
Post Reply