Maniphest T101224

Mix Node Modes
Confirmed, NormalDESIGN

Assigned To
Charlie Jolly (charlie)
Authored By
Charlie Jolly (charlie)
Sep 20 2022, 6:54 PM
Tags
  • BF Blender
Subscribers
Charlie Jolly (charlie)
Iliya Katueshenock (Moder)
Paul Larson (GeorgiaPacific)
Tokens
"Like" token, awarded by Moder.

Description

The new mix node has different options according to data type.

The idea of this task is to look at adding the mix modes to float and vector data types.

The color blending modes could be used but a number of these modes assume that the
data is in the range of 0-1.

D16024: Node: Add mix type to Mix Node
This a patch adds non-color mix types to float and vector data types.

Additionally, it would be good to look at how different interpolation modes could also be added.

Event Timeline

Charlie Jolly (charlie) changed the task status from Needs Triage to Confirmed.Sep 20 2022, 6:54 PM
Charlie Jolly (charlie) created this task.
Charlie Jolly (charlie) changed the subtype of this task from "Report" to "Design".
Iliya Katueshenock (Moder) awarded a token.Sep 20 2022, 7:12 PM
Iliya Katueshenock (Moder) added a subscriber: Iliya Katueshenock (Moder).Sep 20 2022, 7:14 PM

Smoothstep and another modes from Map Range node
One of the biggest reasons for wanting to use this node was to have a simple version of the map range node.

Charlie Jolly (charlie) added a comment.EditedSep 20 2022, 8:18 PM
In T101224#1420185, @Iliya Katueshenock (Moder) wrote:

Smoothstep and another modes from Map Range node
One of the biggest reasons for wanting to use this node was to have a simple version of the map range node.

Originally I created a patch for Smoothstep as part of an Interpolation node. It was partly rejected and I was asked to add this to the Map Range node. I doubt it would be accepted here. The same applied to the Easing node which looked at creating a node for easing curves including smoothstep. D13884: Geometry Nodes: Add Easing Function Node (WIP)

Iliya Katueshenock (Moder) added a comment.EditedSep 20 2022, 8:34 PM
In T101224#1420204, @Charlie Jolly (charlie) wrote:
In T101224#1420185, @Iliya Katueshenock (Moder) wrote:

Smoothstep and another modes from Map Range node
One of the biggest reasons for wanting to use this node was to have a simple version of the map range node.

Originally I created a patch for Smoothstep as part of an Interpolation node. It was partly rejected and I was asked to add this to the Map Range node. I doubt it would be accepted here.

It will be interesting to look at the adaptation of color modes for float, for the sake of abandoning the smoothstep

Charlie Jolly (charlie) added a comment.Sep 20 2022, 8:36 PM
In T101224#1420211, @Iliya Katueshenock (Moder) wrote:
In T101224#1420204, @Charlie Jolly (charlie) wrote:
In T101224#1420185, @Iliya Katueshenock (Moder) wrote:

Smoothstep and another modes from Map Range node
One of the biggest reasons for wanting to use this node was to have a simple version of the map range node.

Originally I created a patch for Smoothstep as part of an Interpolation node. It was partly rejected and I was asked to add this to the Map Range node. I doubt it would be accepted here.

It will be interesting to look at the adaptation of color modes for float, for the sake of abandoning the smoothstep

In this patch I've only added modes that don't assume an input range of [0-1] D16024

Hans Goudey (HooglyBoogly) added a project: BF Blender.Sep 20 2022, 11:46 PM
Charlie Jolly (charlie) mentioned this in D16024: Node: Add mix type to Mix Node.Sep 21 2022, 12:25 AM
Paul Larson (GeorgiaPacific) added a subscriber: Paul Larson (GeorgiaPacific).Sep 28 2022, 8:04 AM
Charlie Jolly (charlie) updated the task description.Oct 2 2022, 2:17 AM