Image rotation in SDL

This is a discussion on Image rotation in SDL within the Game Programming forums, part of the General Programming Boards category; Does anybody know how to rotate an image ( SDLsurface ) in SDL?...

  1. #1
    zsaniK Kinasz's Avatar
    Join Date
    Jan 2003
    Posts
    222

    Image rotation in SDL

    Does anybody know how to rotate an image ( SDLsurface ) in SDL?
    "Assumptions are the mother of all **** ups!"

  2. #2
    Registered User MathFan's Avatar
    Join Date
    Apr 2002
    Posts
    190
    I don't know of any in-built function in SDL, which does this for you.
    May be you should try to do it pixel by pixel with cosine and sine functions or something?
    The OS requirements were Windows Vista Ultimate or better, so we used Linux.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem reading tiff image files?
    By compz in forum C++ Programming
    Replies: 9
    Last Post: 10-30-2009, 04:17 AM
  2. Image rotation (Bitwise operations?)
    By 127.0.0.1 in forum Game Programming
    Replies: 1
    Last Post: 05-29-2009, 12:45 PM
  3. Image rotation - doesn't always work
    By ulillillia in forum C Programming
    Replies: 12
    Last Post: 05-03-2007, 12:46 PM
  4. Binary Search Trees Part III
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 10-02-2004, 03:00 PM
  5. Image rotation using intel image processing
    By sunis in forum Windows Programming
    Replies: 1
    Last Post: 11-18-2002, 01:40 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21