1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

OpenGL Project using C++ looping help needed

Discussion in 'BlackHat Lounge' started by Srikaanth, Apr 29, 2014.

  1. Srikaanth

    Srikaanth Junior Member

    Joined:
    Jul 28, 2012
    Messages:
    143
    Likes Received:
    82
    Occupation:
    IMer
    Location:
    Internet
    I came upon an OpenGL project which uses C++. The project loads an image as a texture and pixelates it until the entire image is gone. The complete image is shown again and starts pixelating (shredding).Program screenshots- https://docs.google.com/file/d/0B9_LfmbkgISpbm1nTXk3Nk1UWHM/edit https://docs.google.com/file/d/0B9_LfmbkgISpbVBCdlZIbXNhUVE/edit I want to include multiple images which loads and pixelates. After the 1st image pixelates, the 2nd image should be loaded and pixelated and so on, in a loop.I tried using if-else ladder in RePaint() function to do so, but it doesn't work. Please help me. In which function should I include a loop? Urgent! I've put the code here- https://stackoverflow.com/questions/23356917/opengl-project-using-c-looping-help-neededThanks!
     
    Last edited: Apr 29, 2014
  2. DarkPixel

    DarkPixel Jr. VIP Jr. VIP Premium Member

    Joined:
    Oct 4, 2011
    Messages:
    1,328
    Likes Received:
    1,239
    Location:
    ↓↓↓↓
    Home Page:
    • Thanks Thanks x 1