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

 
 

bug #19048: easier brush for checkerboard area

Submitted by:  Leo Wandersleb <giszmo>
Submitted on:  Tue 13 Feb 2007 10:56:47 AM UTC  
 
Severity: 1 - WishStatus: Fixed
Assigned to: NoneOpen/Closed: Closed
Release: NoneOperating System: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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

done in beta3-rc

Apple <appleboy>
Project 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>
Project 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>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 11 Mar 2008 03:47:40 AM UTCappleboyStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1