Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ofn-truchet-path
#8
(08-27-2020, 11:24 PM)Krikor Wrote: Even if I select the Gradient or Pallet options, the filling is either Fill, Stroke or Paint, always produces a single color, never anything like the selected gradient or pallet.  Undecided

I thought it might be the Samj's Portable version I use (2.10.21). But the same is true with version 2.10.12.

How do you get multicolored results?   Huh


Okay, I think I found the colored stone paths!

ofn-stroke-fill-paths takes paths, so you have to break the path into its component strokes (for example with ofn-path-edits>Break path apart).

The problem is that when you have nested strokes, if the inner stroke is filled before the outer stroke, you will only see the outer stroke in the result. To mitigate this, OTP creates a path where the strokes are sorted by length, so "Break path apart" will put the longer strokes (that are hopefully the outer ones) at the bottom of the stack, and OSFP will paint these before the shorter (and hopefully, inner) strokes. This is also why I added the new "Break path part by nesting order" option in OPE. This produces a path with all the outer strokes, one with the strokes nested in any of the previous, etc...

Caution: the nesting discovery algorithm in OPE is reasonably good, but the very contrived shapes produced by OTP break its main optimization, so the function takes time (several minutes for a 10px pattern on a 1000x1000 image, on my rather powerful PC)
Reply


Messages In This Thread
ofn-truchet-path - by Ofnuts - 08-26-2020, 08:38 PM
RE: ofn-truchet-path - by Blighty - 08-27-2020, 09:53 AM
RE: ofn-truchet-path - by Ofnuts - 08-27-2020, 10:51 AM
RE: ofn-truchet-path - by Ofnuts - 08-27-2020, 12:29 PM
RE: ofn-truchet-path - by Krikor - 08-27-2020, 02:02 PM
RE: ofn-truchet-path - by Ofnuts - 08-27-2020, 02:19 PM
RE: ofn-truchet-path - by Krikor - 08-27-2020, 11:24 PM
RE: ofn-truchet-path - by Ofnuts - 08-28-2020, 06:32 AM
RE: ofn-truchet-path - by denzjos - 08-28-2020, 07:28 AM
RE: ofn-truchet-path - by Ofnuts - 08-28-2020, 08:09 AM
RE: ofn-truchet-path - by Krikor - 08-28-2020, 12:57 PM
RE: ofn-truchet-path - by Ofnuts - 08-28-2020, 01:02 PM
RE: ofn-truchet-path - by Ofnuts - 08-29-2020, 11:17 AM

Forum Jump: