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:

HMG and OpenGL

Post by Rathinagiri »

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: 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: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: 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 »

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: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Re: HMG and OpenGL

Post by Roberto Lopez »

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: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Re: HMG and OpenGL

Post by Roberto Lopez »

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: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Re: HMG and OpenGL

Post by Roberto Lopez »

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 598 times
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
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: 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: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: HMG and OpenGL

Post by esgici »

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

--

Esgici
Viva INTERNATIONAL HMG :D
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 »

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: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Re: HMG and OpenGL

Post by Roberto Lopez »

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