HMG and OpenGL

Source code related resources

Moderator: Rathinagiri

User avatar
Vanguarda
Posts: 543
Joined: Wed Feb 11, 2009 10:56 am
Location: Americana - SP
Contact:

Re: HMG and OpenGL

Post by Vanguarda »

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.
Great idea my friend.

My best regards,
--
Paulo Sérgio Durço (Vanguarda)


http://hmglights.wordpress.com/
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 would make a sample and post here.
I'll wait eagerly my friend :)

Regards

--

Esgici
Viva INTERNATIONAL HMG :D
User avatar
mol
Posts: 3718
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: HMG and OpenGL

Post by mol »

Interesting!, great idea!
I'm waiting for a sample. Maybe it will work more fine than my graphs... :-)
User avatar
sudip
Posts: 1454
Joined: Sat Mar 07, 2009 11:52 am
Location: Kolkata, WB, India

Re: HMG and OpenGL

Post by sudip »

Thanks a lot Rathi,
I too waiting for your OpenGL project :)
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 »

Hi,

This is my first sample demo in OpenGL and HMG. I am so happy to share this with you all.

This is just a starting. There is a long way to go. However, it gives hope to a new way of graphics in HMG.

Just download this file and unzip the same in c:\hmg. A folder named 'graphics' will be created with 'source' and 'glsample' sub-folders. From the source folder run makelib.bat. This will create 'libhmggl.a' in c:\hmg\lib folder.

Open main.hbp from c:\hmg\graphics\glsample via latest IDE (3.0 test version 9). Run the sample. You can see two triangles drawn in the HMG window. That's all as of now!
graphics.zip
(2.94 KiB) Downloaded 582 times
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:Hi,

This is my first sample demo in OpenGL and HMG. I am so happy to share this with you all.

This is just a starting. There is a long way to go. However, it gives hope to a new way of graphics in HMG.

Just download this file and unzip the same in c:\hmg. A folder named 'graphics' will be created with 'source' and 'glsample' sub-folders. From the source folder run makelib.bat. This will create 'libhmggl.a' in c:\hmg\lib folder.

Open main.hbp from c:\hmg\graphics\glsample via latest IDE (3.0 test version 9). Run the sample. You can see two triangles drawn in the HMG window. That's all as of now!
graphics.zip
Nice!!!

Please, add build.bat:

Code: Select all

call ..\..\build.bat %*
and ide.bat:

Code: Select all

..\..\ide\ide.exe %1
To the sample folder.

Regards,

Roberto.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
Vanguarda
Posts: 543
Joined: Wed Feb 11, 2009 10:56 am
Location: Americana - SP
Contact:

Re: HMG and OpenGL

Post by Vanguarda »

rathinagiri wrote:Hi,

This is my first sample demo in OpenGL and HMG. I am so happy to share this with you all.

This is just a starting. There is a long way to go. However, it gives hope to a new way of graphics in HMG.

Just download this file and unzip the same in c:\hmg. A folder named 'graphics' will be created with 'source' and 'glsample' sub-folders. From the source folder run makelib.bat. This will create 'libhmggl.a' in c:\hmg\lib folder.

Open main.hbp from c:\hmg\graphics\glsample via latest IDE (3.0 test version 9). Run the sample. You can see two triangles drawn in the HMG window. That's all as of now!
graphics.zip
WOW Very nice. Thanks for sharing with us.

Best regards,
--
Paulo Sérgio Durço (Vanguarda)


http://hmglights.wordpress.com/
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 »

Hi Rathi

Wonderful for starting :D

I've a little overcharged the test ;)

At the beginning, that is after first click of "Click" button, and continuous clicking is causing randomly filled screen background under last drawn two triangles. :(

Does this caused by my graphic card ? But no problem anyway in other usage of it :?

I'm waiting eagerly other drawings by our new lib "libhmgl" :)

Regards

--

Esgici
Attachments
HMG OpenGL library test
HMG OpenGL library test
HMG_OGL_Test01.jpg (49.38 KiB) Viewed 8012 times
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 »

Thanks a lot Rathi. I shall test and confirm you :)
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 »

esgici wrote:Hi Rathi

Wonderful for starting :D

I've a little overcharged the test ;)

At the beginning, that is after first click of "Click" button, and continuous clicking is causing randomly filled screen background under last drawn two triangles. :(

Does this caused by my graphic card ? But no problem anyway in other usage of it :?

I'm waiting eagerly other drawings by our new lib "libhmgl" :)

Regards

--

Esgici
I too confirm the problem in Windows XP.

The sample runs fine in Vista.

I am working on that.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
Post Reply