HMG and OpenGL

Source code related resources

Moderator: Rathinagiri

User avatar
Rathinagiri
Posts: 5173
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 136 times
Been thanked: 131 times
Contact:

Re: HMG and OpenGL

Post by Rathinagiri » Mon Oct 26, 2009 10:37 am

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: 4346
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Has thanked: 234 times
Been thanked: 80 times
Contact:

Post by esgici » Mon Oct 26, 2009 11:15 am

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: 1444
Joined: Sat Mar 07, 2009 11:52 am
Location: Kolkata, WB, India
Has thanked: 4 times

Post by sudip » Tue Oct 27, 2009 4:51 am

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 1929 times
With best regards.
Sudip
With best regards,
Sudip

User avatar
Rathinagiri
Posts: 5173
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 136 times
Been thanked: 131 times
Contact:

Post by Rathinagiri » Tue Oct 27, 2009 5:32 am

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: 1444
Joined: Sat Mar 07, 2009 11:52 am
Location: Kolkata, WB, India
Has thanked: 4 times

Post by sudip » Tue Oct 27, 2009 9:00 am

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:

Post by matthew » Mon Mar 07, 2011 9:16 pm

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: 5173
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 136 times
Been thanked: 131 times
Contact:

Post by Rathinagiri » Tue Mar 08, 2011 3:21 am

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