bugGlobulation 2 - Bugs: bug #19048, easier brush for checkerboard area

 
 

bug #19048: easier brush for checkerboard area

Submitter:  Leo Wandersleb <giszmo>
Submitted:  Tue 13 Feb 2007 10:56:47 AM UTC
   
 
Severity:  1 - Wish Status:  Fixed
Assigned to:  None Open/Closed:  Closed
Release:  None Operating System:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 11 Mar 2008 03:47:40 AM UTC, comment #2: 

done in beta3-rc

Apple <appleboy>
Group Member
Tue 25 Dec 2007 06:36:00 PM UTC, comment #1: 

I'm not sure to understand. My feeling is that the current implementation has you behaviour you describes. Can you check, and if it is not the case, give additional informations to the bug report?

Thank you.

Stephane Magnenat <nct>
Group administrator
Tue 13 Feb 2007 10:56:47 AM UTC, original submission:  

checker board and interleaved brush should be changed so they paint the pattern relative to maps upper left corner rather than the brush's upper left corner. this way one can easily draw the brush over the desired area without caring where exactly to put it.

now brushes are coded as a real (up to) 7x7 pattern that could be everything. the mentioned brushes better paint the way:
checker board:
for (x=0; x<w; x++)
  for (y=0; y<h; y++)
    if ((map.x+x+map.y+y)%2)
      makeforbidden(map.x+x,map.y+y)
interleaved:
for (x=0; x<w; x++)
  for (y=0; y<h; y++)
    if ((map.x+x)%2 && (map.y+y)%2)
      makeforbidden(map.x+x,map.y+y)

Leo Wandersleb <giszmo>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by appleboy (Posted a comment)
  • -email is unavailable- added by nct (Posted a comment)
  • -email is unavailable- added by giszmo (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-03-11 appleboy StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code