Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


Tolito

Member Since 16 Jun 2012
Offline Last Active Apr 19 2014 11:23 PM

#5127841 SDL 2.0 - Edit Renderer Pixels

Posted by Tolito on 31 January 2014 - 04:32 PM

Update:

 

For my new multiplication function, I simply did this:

    SDL_Rect r={0,0,XRES,YRES};
    SDL_SetRenderDrawBlendMode(screen,SDL_BLENDMODE_MOD);
    FillRect(screen,&r,color);
This multiplies the new color to the screen without the need for accessing and editing the screen pixels, multiplying to them one by one. Since this is why I was needing to access the renderer pixels, this is no longer a problem.


#5075985 Shared triangles between limbs.

Posted by Tolito on 07 July 2013 - 04:23 PM

Thank you for the useful responses, C0lumbo and RobTheBloke! Now that I know the technical terms and have additional details, I can go about using effective methods that already exist! Thanks!


PARTNERS