Thread: Iterated function system fractal

  1. #16
    Registered User OnionKnight's Avatar
    Join Date
    Jan 2005
    Posts
    555
    I thought I'd share the new version which is quite an overhaul of the old one. It has colors, can zoom in/out, move around, and the ifs codes aren't hard coded.
    The controls are very clumsy though. Would've been a lot better if I made a console or something like that.
    But this was just a test application from the beginning anyway.

    http://www.keepmyfile.com/download/508d9b1344522
    Comes with a precompiled Windows exe.

  2. #17
    Registered User
    Join Date
    Nov 2006
    Posts
    65
    I just checked it out; very nice. I think the main controls (arrow keys and zoom functions) are pretty good and easy to use. The others might be a little harder to remember. I noticed though that holding keys down has no effect. No idea if/how you can fix that in SDL though, since I normally use OpenGL and GLUT (where it pretty much just works).

  3. #18
    Registered User OnionKnight's Avatar
    Join Date
    Jan 2005
    Posts
    555
    Quote Originally Posted by coder8137
    I just checked it out; very nice. I think the main controls (arrow keys and zoom functions) are pretty good and easy to use. The others might be a little harder to remember. I noticed though that holding keys down has no effect. No idea if/how you can fix that in SDL though, since I normally use OpenGL and GLUT (where it pretty much just works).
    SDL only informs when a key changes state. So I'd probably have to change it so it polls for events instead and have a million variables that informs about each key's state. A bit annoying.

    You might have noticed that the colors aren't working correctly. I looked into it and it was caused by a simple mistake which causes the arrays to become 56 times their size thus wasting memory, speed and working colors. I fixed this here
    http://www.keepmyfile.com/download/6585421345556
    Last edited by OnionKnight; 01-23-2007 at 10:45 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Compiling sample DarkGDK Program
    By Phyxashun in forum Game Programming
    Replies: 6
    Last Post: 01-27-2009, 03:07 AM
  2. Screwy Linker Error - VC2005
    By Tonto in forum C++ Programming
    Replies: 5
    Last Post: 06-19-2007, 02:39 PM
  3. measuring system resources used by a function
    By Aran in forum C Programming
    Replies: 1
    Last Post: 03-13-2006, 05:35 PM
  4. Replies: 4
    Last Post: 06-13-2005, 09:03 AM
  5. I need help with passing pointers in function calls
    By vien_mti in forum C Programming
    Replies: 3
    Last Post: 04-24-2002, 10:00 AM