Jump to content
  • Advertisement
Sign in to follow this  
harmeht

OpenGL direct3d for DOS in this program

This topic is 5473 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

hi, im writing a rubiks cube program in opengl actually. I came across this freeware. http://www.atmansoftware.com/webfiles/coda.htm it seems to use per-pixel lighting. this in a dos game. Im wondering if this was written using d3d or ogl under DOS. if not how are they doing it? any pointers would be helpful. thank you --harmeht

Share this post


Link to post
Share on other sites
Advertisement
no direct3d for DOS, sorry. while in DOS you DO have direct access to the screen, you would have to manually program the video hardware. while this is possiblem the program from it's looks uses a software renderer (like D3D HEL layer). this would work fast enough for what is basically a 320x240x256 spinning cube w/ specular lighting if done reasonably in C/C++.

Share this post


Link to post
Share on other sites
The whole reason DirectX was created was to give graphics applications direct access to the hardware without windows getting in the way and slowing things down. That's why before DirectX all games ran in dos.

So definitely no DX for dos. If you're writing a windows program though, you can look up DirectX per pixel lighting or OGL with [google].

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!