Results 1 to 3 of 3

Thread: [Unit] Sour

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    [Unit] Sour

    Sour stands for SDL-OpenGL Unsophisticated Rendering and is a simple unit for performing some basic 2D OpenGL drawing with SDL. The interface was written to mimic the software rendering API of SDL as much as possible, to make sure anyone who has ever used SDL will be able to quickly switch to using Sour, without any loss of productivity and development speed.

    Sour was originally developed as part of one of my game projects. Since the project did not require any sophisticated graphics and I didn't really want to learn OpenGL thoroughly from the beginning, I decided to make myself a simple rendering unit that could easily replace SDL software drawing.

    Sample screenshot, presenting FillRect, TexRect, DrawImage, DrawImgRot and PrintText:

    Download: click
    The unit comes with a full HTML documentation.

    Since I'm an OpenGL newbie myself and parts of the code were taken from google, it would be very appreciated if someone took a look at the code (mainly initialization and setup routines) and pointed out what am I doing wrong and what can be improved.
    Last edited by Super Vegeta; 11-10-2012 at 12:27 AM. Reason: Link change

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •