Results 1 to 10 of 46

Thread: Multithreaded resource loading

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    PGDCE Developer de_jean_7777's Avatar
    Join Date
    Nov 2006
    Location
    Bosnia and Herzegovina (Herzegovina)
    Posts
    287
    I tried your demo and it works. I assume that the music stopping when switching to different windows is intentional?

    My PC is:
    OS: Windows 7 Ultimate
    CPU: Athlon II X2 240
    GPU: Sapphire Radeon HD4850 512MB
    Existence is pain

  2. #2
    Quote Originally Posted by de_jean_7777
    I assume that the music stopping when switching to different windows is intentional?
    Yes, and it must continue playing after returning the focus to demo.

  3. #3
    PGDCE Developer de_jean_7777's Avatar
    Join Date
    Nov 2006
    Location
    Bosnia and Herzegovina (Herzegovina)
    Posts
    287
    Quote Originally Posted by Andru View Post
    Yes, and it must continue playing after returning the focus to demo.
    It continues playing.

    I also tried it on another PC, at my work.
    OS: Windows XP Professional SP3
    CPU: Intel Pentium Dual E2200
    GPU: Intel 82945G (i945G) integrated

    It worked on that PC too. If it works on the Intel card with shoddy OpenGL drivers, it should work anywhere.
    Existence is pain

  4. #4
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25
    Well I gat back from work and gave it a run. For the most part it runs just fine, graphics display and the sound clip plays too without any popup errors. However the one bug I found was that most of the faces were showing a block of glitchy and random static instead of their respective sprite. Here is a couple of screenies to show basically what it was doing.

    demo08_screen01.jpgdemo08_screen02.jpg

    Go ahead and send me an update or tweaked version if you like. I can be your 'real test run' on the current iMacs if you like.

    My system specs are:

    CPU: Intel Core i7 (Quad Core)
    GPU: ATI Radeon HD 4850
    Screen Res: 2560 x 1440 (27" screen)
    RAM: 4GB DDR3
    OS: Mac OS X 10.6.4
    Jason McMillen
    Pascal Game Development
    Co-Founder





  5. #5
    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.

  6. #6
    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





  7. #7
    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.

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
  •