Page 1 of 3

HMG and OpenGL

Posted: Sat Oct 24, 2009 1:25 pm
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.

Re: HMG and OpenGL

Posted: Sat Oct 24, 2009 2:00 pm
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

Re: HMG and OpenGL

Posted: Sat Oct 24, 2009 2:12 pm
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.

Re: HMG and OpenGL

Posted: Sat Oct 24, 2009 3:02 pm
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.

Re: HMG and OpenGL

Posted: Sat Oct 24, 2009 3:05 pm
by Roberto Lopez
rathinagiri wrote:What is meaning of "HMG way" ?

HMG way is simple and stable...
YEAH!

:)

Regards,

Roberto.

Re: HMG and OpenGL

Posted: Sat Oct 24, 2009 3:14 pm
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.

Re: HMG and OpenGL

Posted: Sat Oct 24, 2009 3:22 pm
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

Re: HMG and OpenGL

Posted: Sat Oct 24, 2009 3:26 pm
by esgici
Roberto Lopez wrote: <...>
Here it is, but is DrectX (not OpenGL).
<...>
Thanks a lot Maestro

--

Esgici

Re: HMG and OpenGL

Posted: Sat Oct 24, 2009 3:50 pm
by Rathinagiri
Thanks for the additional info Roberto.

I would make a sample and post here.

Re: HMG and OpenGL

Posted: Sat Oct 24, 2009 4:06 pm
by Roberto Lopez
rathinagiri wrote:Thanks for the additional info Roberto.

I would make a sample and post here.
Ok.

Regards,

Roberto.