Attribute Transfer Node initial version #87421

Closed
opened 2021-04-12 14:27:13 +02:00 by Dalai Felinto · 5 comments

See big picture design: #86843

This task is focused on the implementation of an initial version of the Attribute Transfer node for the most important very basic functionality of the node.

{F9904877 size=full}

Inputs:

  • Geometry (Main)
  • Target (Base Geometry to sample attributes from)
  • Source (Source Attribute on target mesh, that is transferred)
  • Destination (Name of newly created Attribute)

Domain:

  • Auto (Based on Source)
  • Point
  • Edge
  • Face
  • Face Corner

Mapping:

  • Topology (Only for exact same topology, throw error otherwise)
  • Nearest (Mapping based on source Attribute's domain)
  • Nearest Interpolated (Nearest surface point interpolated)

For now this node just has to support mesh and pointcloud geometry. In the future this has to be updated to also work with the remaining geometry types.

See big picture design: #86843 This task is focused on the implementation of an initial version of the `Attribute Transfer` node for the most important very basic functionality of the node. {[F9904877](https://archive.blender.org/developer/F9904877/image.png) size=full} Inputs: - Geometry (Main) - Target (Base Geometry to sample attributes from) - Source (Source Attribute on target mesh, that is transferred) - Destination (Name of newly created Attribute) Domain: - Auto (Based on `Source`) - Point - Edge - Face - Face Corner Mapping: - Topology (Only for exact same topology, throw error otherwise) - Nearest (Mapping based on source Attribute's domain) - Nearest Interpolated (Nearest surface point interpolated) For now this node just has to support mesh and pointcloud geometry. In the future this has to be updated to also work with the remaining geometry types.
Author
Owner

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Author
Owner

Added subscribers: @SimonThommes, @dfelinto

Added subscribers: @SimonThommes, @dfelinto
Dalai Felinto changed title from Attribute Transfer Node to Attribute Transfer Node initial version 2021-04-12 14:27:22 +02:00
Jacques Lucke self-assigned this 2021-04-19 16:20:00 +02:00
Member

Notes from short discussion with @SimonThommes:

  • Domain:
    • How to determine the distance for face/edge domains?
      • center points
      • shortest distance (much slower)
    • Solution: Use center points.
  • Mapping:
    • "Nearest Interpolated" still contains a large number of cases.
      • Need to compute distances to faces, loose edges and loose points to find the closest element.
      • Doing all these checks makes everything slower.
    • Solution:
      • Just support "nearest face interpolated" mapping for now. That also means that the node can't transfer data from pointclouds yet.
      • The "nearest" mapping has lower priority. It's easier to implement, but still requires handling a couple of different cases internally (nearest edge, nearest face, ...). The first patch might not support this, but maybe it will be added while the patch is in code review if it is easy enough. Otherwise it will be added separately.
Notes from short discussion with @SimonThommes: * Domain: * How to determine the distance for face/edge domains? * center points * shortest distance (much slower) * Solution: Use center points. * Mapping: * "Nearest Interpolated" still contains a large number of cases. * Need to compute distances to faces, loose edges and loose points to find the closest element. * Doing all these checks makes everything slower. * Solution: * Just support "nearest face interpolated" mapping for now. That also means that the node can't transfer data from pointclouds yet. * The "nearest" mapping has lower priority. It's easier to implement, but still requires handling a couple of different cases internally (nearest edge, nearest face, ...). The first patch might not support this, but maybe it will be added while the patch is in code review if it is easy enough. Otherwise it will be added separately.

This issue was referenced by a022cffb72

This issue was referenced by a022cffb72f6f8b791c8f2ac9d7b689caa3e8839
Author
Owner

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#87421
No description provided.