The MASM Forum

General => The Campus => Topic started by: kroz on August 21, 2012, 10:00:05 AM

Title: OpenGL democoding in MASM
Post by: kroz on August 21, 2012, 10:00:05 AM
I'm considering learning OGL in MASM. Before I start, i'd like to know a few things :
+ How hard is it?
+ How long does it take to learn?
+ Will I be able to do anything useful by the time i've learnt it?

and where are NeHe's MASM ports? The link is broken. Does anyone have them ?

thanks :)
Title: Re: OpenGL democoding in MASM
Post by: hfheatherfox07 on August 21, 2012, 11:13:55 AM
I have Posted this stuff on the Old MASM Forum  ::)


http://nehe.gamedev5.net/data/lessons/masm/lesson01.zip
http://nehe.gamedev5.net/data/lessons/masm/lesson02.zip
http://nehe.gamedev5.net/data/lessons/masm/lesson03.zip
http://nehe.gamedev5.net/data/lessons/masm/lesson04.zip
http://nehe.gamedev5.net/data/lessons/masm/lesson05.zip
http://nehe.gamedev5.net/data/lessons/masm/lesson06.zip
http://nehe.gamedev5.net/data/lessons/masm/lesson07.zip
http://nehe.gamedev5.net/data/lessons/masm/lesson08.zip
http://nehe.gamedev5.net/data/lessons/masm/lesson09.zip
http://nehe.gamedev5.net/data/lessons/masm/lesson10.zip
http://nehe.gamedev5.net/data/lessons/masm/lesson11.zip
http://nehe.gamedev5.net/data/lessons/masm/lesson12.zip
http://nehe.gamedev5.net/data/lessons/masm/lesson13.zip
http://nehe.gamedev5.net/data/lessons/masm/lesson14.zip
http://nehe.gamedev5.net/data/lessons/masm/lesson15.zip
http://nehe.gamedev5.net/data/lessons/masm/lesson16.zip
http://nehe.gamedev5.net/data/lessons/masm/lesson17.zip
http://nehe.gamedev5.net/data/lessons/masm/lesson18.zip
http://nehe.gamedev5.net/data/lessons/masm/lesson19.zip
http://nehe.gamedev5.net/data/lessons/masm/lesson20.zip
http://nehe.gamedev5.net/data/lessons/masm/lesson21.zip


 :biggrin:
Title: Re: OpenGL democoding in MASM
Post by: ufo on August 21, 2012, 06:34:46 PM
I've converted 2 of them to masm in the past.
They uploaded number 36, but forgot number 24.
http://nehe.gamedev.net/data/lessons/masm/lesson36.zip
I will try to find number 24 again later today and attach it here.

EDIT/
It was 25, not 24.. attached.
Title: Re: OpenGL democoding in MASM
Post by: kroz on August 22, 2012, 03:18:38 AM
thanks alot :)
Title: Re: OpenGL democoding in MASM
Post by: ufo on August 22, 2012, 06:06:20 AM
My bad.. I meant lesson 25.
Attached above.
Title: Re: OpenGL democoding in MASM
Post by: kroz on August 24, 2012, 08:25:51 AM
oh, and this may be a very long shot, but would it be too hard to do somethingl like this in MASM ? www.pouet.net/prod.php?which=16327
Title: Re: OpenGL democoding in MASM
Post by: dedndave on August 24, 2012, 11:39:56 AM
i am guessing that program was written in assembler
20 kb in size is why   :P
Title: Re: OpenGL democoding in MASM
Post by: Tedd on August 24, 2012, 11:49:34 PM
The source is C++

But to answer the question, yes, it's entirely possible - if a little more work. There are a few competitions that focus just on asm demos. As for being "too hard" - it's pretty hard whatever language you choose, asm just adds to it :P

Title: Re: OpenGL democoding in MASM
Post by: hfheatherfox07 on August 25, 2012, 04:59:09 AM
i am guessing that program was written in assembler
20 kb in size is why   :P

NOP
The program is compressed with kkrunchy v1.0.....
@ kroz ufo did a dancing square that is similar...just similar  to this in masm ...It is Possible  :P

Any ways here is that glRez.exe unpaked and I got the resources out for you ....
.bmp's and the .xm

I am sure if ufo still has that source that would have been posted ...... long time ago
Title: Re: OpenGL democoding in MASM
Post by: ufo on August 25, 2012, 07:57:15 AM
https://github.com/chiptune/glrez
In my view it's all C, even when he's using extensions like .cpp.
On tuts4you.com I've got similar sources like that, but in masm -
although I wouldn't be able to compete with serious stuff like the one of rez.
PS: I will certainly not attach stuff like that over here..
Title: Re: OpenGL democoding in MASM
Post by: Farabi on August 25, 2012, 11:05:18 PM
oh, and this may be a very long shot, but would it be too hard to do somethingl like this in MASM ? www.pouet.net/prod.php?which=16327

Hard would be depend on your knowledge, I bet you'll need at least understanding on sin and cos function, I think it only that, the rest, OpenGL can handle it.