Click here to Skip to main content
15,886,919 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
RantDirty rectangle woes Pin
honey the codewitch18-Feb-23 21:27
mvahoney the codewitch18-Feb-23 21:27 
GeneralRe: Dirty rectangle woes Pin
gggustafson19-Feb-23 5:31
mvagggustafson19-Feb-23 5:31 
GeneralRe: Dirty rectangle woes Pin
honey the codewitch19-Feb-23 6:19
mvahoney the codewitch19-Feb-23 6:19 
GeneralRe: Dirty rectangle woes Pin
gggustafson19-Feb-23 7:41
mvagggustafson19-Feb-23 7:41 
GeneralRe: Dirty rectangle woes Pin
honey the codewitch19-Feb-23 10:21
mvahoney the codewitch19-Feb-23 10:21 
GeneralRe: Dirty rectangle woes Pin
Daniel Pfeffer19-Feb-23 6:31
professionalDaniel Pfeffer19-Feb-23 6:31 
GeneralRe: Dirty rectangle woes Pin
honey the codewitch19-Feb-23 11:50
mvahoney the codewitch19-Feb-23 11:50 
GeneralRe: Dirty rectangle woes Pin
Daniel Pfeffer19-Feb-23 18:50
professionalDaniel Pfeffer19-Feb-23 18:50 
"Banding" (or perhaps "Tiling" in your case) is also a solved problem - you treat the area as a viewport. Draw all visible objects (according to Z-order), but before drawing - clip them against the viewport window. If the object is totally outside the viewport, your work is done.

You could combine this with the Z-order by placing the viewport as the "highest" object in your Z-order, so anything hidden by it doesn't need drawing. All you need to do is move the viewport around the display until all parts have been rendered.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.

GeneralRe: Dirty rectangle woes Pin
honey the codewitch19-Feb-23 22:19
mvahoney the codewitch19-Feb-23 22:19 
GeneralRe: Dirty rectangle woes Pin
Daniel Pfeffer20-Feb-23 3:05
professionalDaniel Pfeffer20-Feb-23 3:05 
GeneralRe: Dirty rectangle woes Pin
honey the codewitch20-Feb-23 3:58
mvahoney the codewitch20-Feb-23 3:58 
QuestionRe: Dirty rectangle woes Pin
megaadam19-Feb-23 22:22
professionalmegaadam19-Feb-23 22:22 
AnswerRe: Dirty rectangle woes Pin
honey the codewitch19-Feb-23 22:34
mvahoney the codewitch19-Feb-23 22:34 
GeneralRe: Dirty rectangle woes Pin
megaadam19-Feb-23 22:59
professionalmegaadam19-Feb-23 22:59 
GeneralRe: Dirty rectangle woes Pin
honey the codewitch19-Feb-23 23:19
mvahoney the codewitch19-Feb-23 23:19 
GeneralRe: Dirty rectangle woes Pin
BillWoodruff20-Feb-23 2:23
professionalBillWoodruff20-Feb-23 2:23 
GeneralRe: Dirty rectangle woes Pin
honey the codewitch20-Feb-23 4:03
mvahoney the codewitch20-Feb-23 4:03 
GeneralWordle 610 Pin
StarNamer@work18-Feb-23 13:50
professionalStarNamer@work18-Feb-23 13:50 
GeneralRe: Wordle 610 Pin
Sandeep Mewara18-Feb-23 18:10
mveSandeep Mewara18-Feb-23 18:10 
GeneralRe: Wordle 610 Pin
OriginalGriff18-Feb-23 20:10
mveOriginalGriff18-Feb-23 20:10 
GeneralRe: Wordle 610 - three for me Pin
pkfox18-Feb-23 21:44
professionalpkfox18-Feb-23 21:44 
GeneralRe: Wordle 610 Pin
Amarnath S18-Feb-23 23:45
professionalAmarnath S18-Feb-23 23:45 
GeneralRe: Wordle 610 Pin
Cp-Coder19-Feb-23 7:48
Cp-Coder19-Feb-23 7:48 
GeneralRe: Wordle 610 4/6 Pin
jmaida19-Feb-23 13:02
jmaida19-Feb-23 13:02 
Generalworldle 393 Pin
jmaida18-Feb-23 13:22
jmaida18-Feb-23 13:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.