Page 1 of 2

Clipping function

PostPosted: Jun 14, 2003 @ 6:09am
by fzammetti

PostPosted: Jun 14, 2003 @ 7:50pm
by StarFury

PostPosted: Jun 15, 2003 @ 6:23pm
by Johan
Thanks for the post! I'll make it sticky...

PostPosted: Jun 18, 2003 @ 2:58pm
by Guest

PostPosted: Jun 18, 2003 @ 11:39pm
by fzammetti

Another way....

PostPosted: Jun 25, 2003 @ 4:56am
by jhund1

PostPosted: Jun 25, 2003 @ 5:08am
by fzammetti

PostPosted: Jun 25, 2003 @ 8:30pm
by Guest

PostPosted: Jun 25, 2003 @ 8:31pm
by fzammetti

PostPosted: Jun 26, 2003 @ 8:54am
by Johan

PostPosted: Jun 26, 2003 @ 2:14pm
by Guest
THIS IS FZAMMETTI... I CAN'T SEEM TO LOG IN RIGHT NOW...

Good info sbl, thank you! For my current game project this performance hit won't matter, but it's certainly something to keep in mind. I may even go away from this approach since it simplifies my code slightly, and I like clean code :)

PostPosted: Jun 26, 2003 @ 6:26pm
by efortier

PostPosted: Jun 26, 2003 @ 9:34pm
by ppcStudios
Eric,

I do all my pixel-perfect tile scrolling using clipping. Setting clipping rects 'should' always be faster than BLTing extra tiles and creating a viewport.

PostPosted: Jun 27, 2003 @ 12:36am
by DillRye

PostPosted: Jun 28, 2003 @ 2:03am
by efortier