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 » Sat Oct 24, 2009 5:10 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.
Great idea my friend.

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


http://hmglights.wordpress.com/

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

Post by esgici » Sat Oct 24, 2009 5:29 pm

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: 2713
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Has thanked: 81 times
Been thanked: 27 times
Contact:

Post by mol » Sat Oct 24, 2009 6:52 pm

Interesting!, great idea!
I'm waiting for a sample. Maybe it will work more fine than my graphs... :-)

User avatar
sudip
Posts: 1443
Joined: Sat Mar 07, 2009 11:52 am
Location: Kolkata, WB, India

Post by sudip » Sun Oct 25, 2009 5:26 am

Thanks a lot Rathi,
I too waiting for your OpenGL project :)
With best regards.
Sudip
With best regards,
Sudip

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

Post by Rathinagiri » Sun Oct 25, 2009 7:28 pm

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 264 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: 3880
Joined: Wed Jul 30, 2008 6:43 pm
Has thanked: 12 times
Been thanked: 107 times

Post by Roberto Lopez » Sun Oct 25, 2009 9:06 pm

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:

Post by Vanguarda » Sun Oct 25, 2009 9:13 pm

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

Post by esgici » Sun Oct 25, 2009 10:14 pm

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_OGL_Test01.jpg
HMG OpenGL library test
HMG_OGL_Test01.jpg (49.38 KiB) Viewed 1373 times
Viva INTERNATIONAL HMG :D

User avatar
sudip
Posts: 1443
Joined: Sat Mar 07, 2009 11:52 am
Location: Kolkata, WB, India

Post by sudip » Mon Oct 26, 2009 3:55 am

Thanks a lot Rathi. I shall test and confirm you :)
With best regards.
Sudip
With best regards,
Sudip

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

Post by Rathinagiri » Mon Oct 26, 2009 8:11 am

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

Who is online

Users browsing this forum: No registered users and 1 guest