Results 1 to 10 of 46

Thread: Multithreaded resource loading

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    I've got the same problem WILL does when running the application on my MacBook Pro (Core 2 Duo 2.53 GHz, NVidia GeForce 9400 graphics card and 4 GB DDR3 RAM).
    Some sprites seem that they are not loaded correctly which seems to be always different sprites when re-running the application.
    Freeze Development | Elysion Game Framework | Twitter: @Stoney_FD
    Check out my new book: Irrlicht 1.7.1 Realtime 3D Engine Beginner's Guide (It's C++ flavored though)

    Programmer: A device for converting coffein into software.

  2. #2
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25
    Just a heads up, I ran it again (twice; ran it, Command-Q, ran it) just now out of curiosity and now ALL the images (including the glowy ZenGL image) except for the speaker and the x button and the label for the text shows some form of glitchy garble.
    Jason McMillen
    Pascal Game Development
    Co-Founder





  3. #3
    Tanks for tests. Seems I found the bug When the second thread loading texture to videocard(glTexImage2D) in first I'm tried to do glBindTexture. Now I changed something in my library, and it should work correctly(anyway now it work's correctly in my VirtualBox ). I will update demo soon.

  4. #4

  5. #5
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25
    Well that one worked a whole lot better. The x button doesn't play the song clip anymore but I do hear a 'click' sound when I do click on the window.

    All the images are fine now, but it does seem like you have any vsync turned on, which for OpenGL I don't think you can set in program anyhow. Am I right?

    Nice job!
    Jason McMillen
    Pascal Game Development
    Co-Founder





  6. #6
    Quote Originally Posted by WILL
    The x button doesn't play the song clip anymore but I do hear a 'click' sound when I do click on the window.
    Oh, I forgot to build my app statically with ogg libraries.

    Quote Originally Posted by WILL
    which for OpenGL I don't think you can set in program anyhow
    I can, but in this demo I didn't turn on it
    Last edited by Andru; 05-10-2010 at 05:28 AM.

  7. #7
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25
    So I guess this means you'll be making some Mac games pretty soon huh?
    Jason McMillen
    Pascal Game Development
    Co-Founder





Tags for this Thread

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
  •