HMG and OpenGL

Source code related resources

Moderator: Rathinagiri

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

HMG and OpenGL

Post by Rathinagiri » Sat Oct 24, 2009 1:25 pm

I am working on a small project of calling OpenGL graphics API in HMG way. :) This will enable to draw/render 3D graphics easily.

I want to know whether anybody had done it already.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.

User avatar
esgici
Posts: 4363
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Has thanked: 245 times
Been thanked: 91 times
Contact:

Post by esgici » Sat Oct 24, 2009 2:00 pm

rathinagiri wrote:I am working on a small project of calling OpenGL graphics API in HMG way. :) This will enable to draw/render 3D graphics easily.

I want to know whether anybody had done it already.
Hi Rathi

What is meaning of "HMG way" ?

Does OpenGL usable under HMG ?

Regards

--

Esgici
Viva INTERNATIONAL HMG :D

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

Post by Rathinagiri » Sat Oct 24, 2009 2:12 pm

What is meaning of "HMG way" ?

HMG way is simple and stable and calling opengl graphics commands inside HMG application.

For example to create an OPENGL enabled window, we can give the commands like,

create graphics window gform1 at 0,0 width 800 height 600
draw rectangle in gform1 at 300,300 width 100 height 200
show graphics window gform1

This will help to handle graphs in an efficient way. It is possible to zoom, navigate in 3D etc.

Does OpenGL usable under HMG ?

Yes. It is already included in c:\hmg\mingw\include\gl\*.h and c:\hmg\mingw\lib\gl\*.a

I think Roberto can throw some more light on this.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.

User avatar
Roberto Lopez
HMG Founder
Posts: 3902
Joined: Wed Jul 30, 2008 6:43 pm
Has thanked: 13 times
Been thanked: 137 times

Post by Roberto Lopez » Sat Oct 24, 2009 3:02 pm

rathinagiri wrote:What is meaning of "HMG way" ?

HMG way is simple and stable and calling opengl graphics commands inside HMG application.

For example to create an OPENGL enabled window, we can give the commands like,

create graphics window gform1 at 0,0 width 800 height 600
draw rectangle in gform1 at 300,300 width 100 height 200
show graphics window gform1

This will help to handle graphs in an efficient way. It is possible to zoom, navigate in 3D etc.

Does OpenGL usable under HMG ?

Yes. It is already included in c:\hmg\mingw\include\gl\*.h and c:\hmg\mingw\lib\gl\*.a

I think Roberto can throw some more light on this.
I don't know nothing about OpenGL, but I can help you in the things I know like how to integrate to HMG when your code be ready.

I'm fully not sure, but I guess that was an OpenGL Harbour contrib.

If you find old Harbour source packages, maybe you can find it.

Regards,

Roberto.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)

User avatar
Roberto Lopez
HMG Founder
Posts: 3902
Joined: Wed Jul 30, 2008 6:43 pm
Has thanked: 13 times
Been thanked: 137 times

Post by Roberto Lopez » Sat Oct 24, 2009 3:05 pm

rathinagiri wrote:What is meaning of "HMG way" ?

HMG way is simple and stable...
YEAH!

:)

Regards,

Roberto.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)

User avatar
Roberto Lopez
HMG Founder
Posts: 3902
Joined: Wed Jul 30, 2008 6:43 pm
Has thanked: 13 times
Been thanked: 137 times

Post by Roberto Lopez » Sat Oct 24, 2009 3:14 pm

Roberto Lopez wrote:
I'm fully not sure, but I guess that was an OpenGL Harbour contrib.

If you find old Harbour source packages, maybe you can find it.
Here it is, but is DrectX (not OpenGL).

Readme talks about a to do OpenGL wrapper only.

Regards,

Roberto.
Attachments
directx.rar
(18.07 KiB) Downloaded 269 times
Regards/Saludos,

Roberto


(Veritas Filia Temporis)

User avatar
esgici
Posts: 4363
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Has thanked: 245 times
Been thanked: 91 times
Contact:

Post by esgici » Sat Oct 24, 2009 3:22 pm

rathinagiri wrote: HMG way is simple and stable ...
I can't imagine any product could be like HMG in this meaning ;)

Does may be this .h and .a files for using with QT ?

Regards

--

Esgici
Viva INTERNATIONAL HMG :D

User avatar
esgici
Posts: 4363
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Has thanked: 245 times
Been thanked: 91 times
Contact:

Post by esgici » Sat Oct 24, 2009 3:26 pm

Roberto Lopez wrote: <...>
Here it is, but is DrectX (not OpenGL).
<...>
Thanks a lot Maestro

--

Esgici
Viva INTERNATIONAL HMG :D

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

Post by Rathinagiri » Sat Oct 24, 2009 3:50 pm

Thanks for the additional info Roberto.

I would make a sample and post here.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.

User avatar
Roberto Lopez
HMG Founder
Posts: 3902
Joined: Wed Jul 30, 2008 6:43 pm
Has thanked: 13 times
Been thanked: 137 times

Post by Roberto Lopez » Sat Oct 24, 2009 4:06 pm

rathinagiri wrote:Thanks for the additional info Roberto.

I would make a sample and post here.
Ok.

Regards,

Roberto.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)

Post Reply