Jump to content
You must now use your email address to sign in [click for more info] ×

darkwark

Members
  • Posts

    19
  • Joined

  • Last visited

Posts posted by darkwark

  1. 7 hours ago, T V said:

    @darkwark Are you using this in procedural texture to expand the function or is this something that could be achieved by macro? 

    I need this inside the Procedural Texture Filter, unfortunately. Color sampling would allow writing filters that can manipulate image data in a lot of different ways. Right now, it is only possible to generate graphics from scratch, which is fair — it is called Procedural Texture, not a Custom Image Filter after all.

  2. 1 minute ago, anon2 said:

    If there is one, it would likely return the colour in the form of a vector (3D if RGB, for example), but there also seems to be no mentioned way to get the individual components from a vector.

    You can get the individual components of a vector by using its x, y, z properties.

    For example, we can get `0.5` from a `vec3(0.5, 0, 0)` by accessing its `x` property:

    var color = vec3(0.5, 0, 0); color.x

    This code will output 50% gray color

     

    4 minutes ago, anon2 said:

    I don't see a function that returns the colour at given coordinates.

    Yup. I couldn't find anything related to color sampling too. That's why I decided to ask here. Documentation has some missing bits, and I thought maybe color sampling is one of them.

  3. 9 hours ago, GarryP said:

    There’s no way to use/pick colours in there

    You can use colors in Procedural Texture Filter. Each color channel (red, green, blue) is normalized and represented as a range of 0…1 float numbers. 

    For example, to output an orange(-ish) color, you can write: 

    vec3(1.0, 0.7, 0.5)

    It is a normalized representation of RGB(255, 178, 127)

     

    Usually, in GLSL-like languages, there's also a way to sample colors from the source image. 

    affinity_proc-orange-color-vec3.png

  4. I'm using AD for a while now and one of the major things I still struggle with is a Colour Chooser (both in a popup and Studio panel). It only supports HSL Color Box model (it is called “Hue” in AD).

    Most major apps right are using HSB Color box. It is more familiar and easier to use: if I need a pure bright color, I'd just move the dot to the top right corner and that's it. In HSL Box though, I'd have to try to aim the center of color box. It is frustrating. 

     

    Please, add HSB Color Box to Affinity Designer.

     

    I understand, that this might be not the most important feature in your road map, but it will definitely make life easier for those who come to AD from Photoshop, Illustrator or Sketch

    (and especially for those who are constantly switching between these apps in the process)

     

    Thanks.

     

    1piQb2K.png

     

    m37WBCM.png

     

     

     

  5. I understand that Alt overrides snapping in other tools.

     

    Well, that's unfortunate. It feels like some of the shapes are kinda broken because of this. 

    For example, cog wheel has only ≈3 snapping-stages, and I can't even return it back to the original (default) state:

     

    DG1yRBS.gif

    As I remember it doesn't worked like this before (like in versions below 1.4). Are you sure there's no settings for this?

  6. Would be awesome if we could copy-paste vector paths from Affinity Designer to Photoshop and vice versa. 

    Currently, if I copy something in AD and then try to paste it inside Photoshop, it'll be pasted as SmartObject. And If I try to copy Path Item from Photoshop, AD unfortunately doesn't recognize clipboard contents at all.

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.