Jump to content
  • Advertisement
Sign in to follow this  
Nomade

OpenGL OpenGL is for HL only? and what about...

This topic is 5399 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Assembler! I don't like hight-level languages at all... but I like assembler! ;) and I want to write graphic in assembler (and even games!) using OpenGL technology but I can't find anywhere tutorials/lib-files/inc-files etc... :( all are using C++ and such to write graphics for windows?? I can't believe it.. but I can't find any stuff for assembler, too.. :( can anyone help? thanks for your time...

Share this post


Link to post
Share on other sites
Advertisement
My friend gave me a strictly ASM openGL program to check out, it was cool, super fast (i should write my own prog for comparison sometime). But why would you ever want to write something as large as a game ina low level language? A game is quite an undertaking even in a "high level" language like c++ (its in quotes because c++ can be quite low level, even more so if you count inline assembly), if you want to program in assembly for optimization reasons, remember, they say premature optimization is the source of all evil ;-)

hope that helps
-Dan

Share this post


Link to post
Share on other sites
Hi!

OpenGL is a more or less low-level API written in C. But I guess you know that. ;) So what do you want to do? Find an OpenGL implementation in Assembler? Or is it enough to call the API functions from your assembly code and link against the static libraries? For the former, I can't help you, and for the latter, what's the problem about it? ;)

Cheers,
Drag0n

Share this post


Link to post
Share on other sites
It should be easy enough to call GL functions from ASM. Converting all the necessary enums so you can use them within your assembler may be a bit of a pain but that's just a matter of trawling through header files and copying the relevant info. You could even write a program to automate it if you want.

Share this post


Link to post
Share on other sites
Quote:
Original post by DerAnged
almost all of the tutorials at nehe have been ported to ASM and MASM(maybe nasm also).


and do you have a link?

Share this post


Link to post
Share on other sites
Quote:
Original post by DerAnged
almost all of the tutorials at nehe have been ported to ASM and MASM(maybe nasm also).


and do you have a link?

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!