Skip to content

Rework point data management #9

Description

@Failxxx

Description

I don't think we need to have different ways to import point data as vertex colors (remap options).
Indeed, we could simply use the 'Map Range' node remap values.

Links to documentation, examples or class definitions

Here is an example:
Left, use of the 'Map Range' node with a 'LOCAL' method for remapping, with values [-0.3978, 0.3978].
Right, 'CUSTOM' method for remapping [0.1, 0.3].
This difference is probably due to a first remap operation when using 'LOCAL' method (see next screenshot).

Screenshot from 2022-09-02 11-13-11

Screenshot from 2022-09-02 11-15-06

Pseudocode or screenshots

Totally remove the 'method' option?

Activity

  1. self-assigned this
    on Sep 2, 2022
  2. Failxxx commented on Sep 2, 2022

    @Failxxx
    CollaboratorAuthor
  3. Failxxx commented on Sep 2, 2022

    @Failxxx
    CollaboratorAuthor

    However, it does not seem possible to store point data which values are not in [0, 1] as the documentation says: https://docs.blender.org/api/3.1/bpy.types.MeshLoopColor.html#bpy.types.MeshLoopColor

    Thus, it could be difficult to implement this for Blender versions < 3.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions