Search results

  1. centus

    Multi-Threading

    Hello, In my quest to optimize the performance of my fractal generator, I've come to think about multi-threading. Someone here mentioned the fact that the Cortex A8 is good at multi-threading, is that true? Should I expect a serious increase in performance? If so, writing code in C how would I...
  2. centus

    Touchscreen Vs. Mouse

    OK, thank you everyone for the wealth of information, however, one more question for you: How does SDL handle the touch screen? are there special events for touch screen? or can it only view it as a mouse (meaning every touch on the screen is a move+click). Thank you all, I just love this...
  3. centus

    Touchscreen Vs. Mouse

    Hello, I'm working on a Fractal Generator for Pandora, I just realized that I heavily rely on mouse movements as well as left, right and middle mouse button clicks. While I understand that middle mouse is probably not going to happen on Pandora, I have another question. How do you differentiate...
  4. centus

    Sdl / Cross Compiling Question, Sdl_Rect

    Why would that be needed? does the Pandora SDL support SDL_DOUBLEBUF? I'm asking because I'm writing something with the hope of porting it to the Pandora but I am using SDL_DOUBLEBUF and while it isn't critical, it would affect my code somewhat...
  5. centus

    Beta Mandelbrot Set Generator For Pandora

    OK, back in business, I dug up a relatively recent version of the code from my work laptop (I was using it on and off for dev work on the train/bus to work). Did a little tweaking and a lot of learning... Basic keys are the same: Left-Click -> Zoom in Right-Click -> Zoom out Middle-Click -> Pan...
  6. centus

    Today Is A Great Day!(Hopefully)

    ED, Just to make sure you know, the fact I don't post here much but rather read most of the time means I am one of the silent majority who are anxiously awaiting their Pandora's delivery while fighting back all the people around them who are laughing at the fact I have been waiting for the...
  7. centus

    Beta Mandelbrot Set Generator For Pandora

    Just a quick sad update, had to reinstall windows due to a crash, for some unknown reason, while Windows XP saves all the user folders when reinstalling without a format, it does not save the shared documents folder, it deletes it completely... As a result, I have a pretty old version of the...
  8. centus

    Quotes Thread For The Blog

    New picture on MWeston's photo album, looks like the battery time remaining calculator explained: http://s198.photobucket.com/albums/aa99/MWeston_2007/?action=view&current=batt_levels.jpg
  9. centus

    Shipping Date: Guessing Game

    Why are we still guessing? aren't we counting the 3 already sent to devs as first Pandoras received? No one said anything about final cases... ;)
  10. centus

    Beta Mandelbrot Set Generator For Pandora

    No worries, I should know the logic of this application pretty well by now... ;) Thank you for the help!
  11. centus

    Beta Mandelbrot Set Generator For Pandora

    Took a look at your code, incredible, I was just looking at it last night thinking of converting it to C++, Guess you just made that part all the more easier... ;) Thanks!
  12. centus

    Beta Mandelbrot Set Generator For Pandora

    Wow man, nice work! I really love the whole gradient idea with the gradient editor being a perfect addition, solves the need to come up with color schemes myself, let the user do it... ;) I hope you don't mind, I intend to take the code you sent and combine yours with mine to include all the...
  13. centus

    Beta Mandelbrot Set Generator For Pandora

    Well, feels like I'm doing it mainly for myself (I'm having loads of fun writing it), so here goes... ;) I've added a new feature, when you place the mouse anywhere on the Mandelbrot set and press j, the Julia set would be drawn for that place in the Mandelbrot set. It currently uses the same...
  14. centus

    Beta Mandelbrot Set Generator For Pandora

    There you go... Click to zoom the old way, click+drag for the zoom box. Both cases right click goes back to previous zoom level, up to 100 zooms, which should be more than enough given the limitation on zoom depth imposed by doubles... I'll need to conditionally go to floats beyond a certain...
  15. centus

    Beta Mandelbrot Set Generator For Pandora

    Thanks for the kind words! it is appreciated. As for the click vs. drag, sounds simple enough, could simply be done by comparing the start and end position of the zoom box... I like it! I'll do that tonight. :) This is what I like about community development, you can get feedback from your...
  16. centus

    Beta Mandelbrot Set Generator For Pandora

    gp32rich, thanks! it worked like a charm... I just added an empty while loop: while(SDL_PollEvent(&event)) {} At the end of every draw cycle. I figured there is no event I care about which happened during the drawing and since I only start looking at the mouse motion events after a button press...
  17. centus

    Beta Mandelbrot Set Generator For Pandora

    I thought about having a separate thread to deal with the SDL event loop and use event handlers to deal with the different events... However, my main concern is that it would complicate the logic of the whole thing if I do. If I understand your suggestion correctly, you mean that when I get out...
  18. centus

    Beta Mandelbrot Set Generator For Pandora

    Oh and a quick updated version... Sorry only the win32 version for now, still need to finish getting my Linux back together after buying a new computer (old one died). Some updates on the drawing method, I like this one better as it gives you more to look at sooner. Still haven't cracked the...
  19. centus

    Beta Mandelbrot Set Generator For Pandora

    Hello guys, I need your help. I'm using SDL events for the mouse operations for the zoom box, my problem is that if I press the mouse during the drawing of the image (can get long when you increase the number of iterations and zoom in), the behavior at the end of the drawing is unexpected, it...
  20. centus

    Shipping Date: Guessing Game

    I'm guessing February 28th (was going to say 29th, but decided to drop the cynicism... :)
Back
Top