PSCN + CRAY(SPRK) variable distance

  • Synergy
    21st Mar 2015 Member 0 Permalink

    So currently we can delete a certain amount of pixels using PSCN + CRAY(SPRK) and setting the tmp variable. How about adding an option to define distance instead of pixels (with tmp2 or something), so that we can delete anything in a certain field, regardless of how many pixels there are.

  • Factorial
    21st Mar 2015 Banned 0 Permalink
    This post is hidden because the user is banned
  • Synergy
    21st Mar 2015 Member 0 Permalink

    How so? Set tmp2 20. The CRAY deletes everything up to 20 pixels in front of it (whether elements occupy those spaces or not, it will always stop after a length of 20 pixels). Instead of setting tmp to 20, which causes CRAY to delete the first 20 elements in front of it. Sounds simple to me.

     

    Applications include things like clearing typewriter text. You want to delete everything, but you don't know how many elements will be on each line, so instead you can define the distance, and delete everything inside that distance.

    Edited once by Synergy. Last: 21st Mar 2015
  • Schmolendevice
    21st Mar 2015 Member 1 Permalink

    @Synergy (View Post)

    Yeah, programmatically I'd just see it as the incrementation of a variable based on pixels checked instead of elements deleted or placed. A way to even clear FILT without DRAY may have been helpful in other applications for memory and such.

     

    The thing I use to deal with that in vanilla mechanics is just putting some DMND at the bounds of the area you want to delete. PSCN + CRAY(SPRK) will stop deleting even with tmp 0 once its beam hits a DMND pixel.

  • Synergy
    21st Mar 2015 Member 0 Permalink

    Oh I wish I knew that earlier. I thought I had tested that earlier, guess it must of been something else.