It is currently November 21st, 2018, 4:06 am


All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: [DONE] Brushes and Fill.
PostPosted: November 10th, 2011, 6:09 am 
SupOP
User avatar

Joined: June 19th, 2011, 8:18 am
Posts: 60
Location: Australia
I'd like to suggest the ability to use brushes with the /fill2d command.

eg. /brush rainbow
/f2d
Air will be replaced by rainbow brush in area.


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Brushes and Fill.
PostPosted: November 10th, 2011, 8:25 pm 
fCraft Developer
User avatar

Joined: May 21st, 2011, 10:53 pm
Posts: 1386
It is not possible to make fill commands work with brushes, unfortunately, due to some technical limitations of the algorithm.

Specifically, if at any coordinate the brush does NOT change a block (e.g. if it tries to place the same block type that we are replacing, or if skips the block), /f2d will get stuck in a loop trying to infinitely replace the block at that coordinate.

The only way to overcome this limitation would be to build up a list of coordinates to replace in advance, or to keep a list of replaced blocks. Although those changes would work, the /f2d command would run slower and use more system resources.


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Brushes and Fill.
PostPosted: August 18th, 2013, 5:03 am 
fCraft Developer
User avatar

Joined: May 21st, 2011, 10:53 pm
Posts: 1386
Good news! In fCraft 0.641, brush support has been added to /Fill2D

Image


Top
Offline Profile  
Reply with quote  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Theme created StylerBB.net