MaterialX: Implement steps, clamp, smooth step inputs for Map Range node #114635

Merged
Brecht Van Lommel merged 7 commits from DagerD/blender:matx-range-node-add-steps into main 2023-11-13 14:27:56 +01:00

Purpose

Implement steps, clamp, smooth step inputs for Map Range node

Technical steps

Changed MaterialX node range -> remap as more simple
Implemented steps, clamp, smooth step inputs

### Purpose Implement `steps`, `clamp`, `smooth step` inputs for `Map Range` node ### Technical steps Changed MaterialX node `range` -> `remap` as more simple Implemented `steps`, `clamp`, `smooth step` inputs
Georgiy Markelov added 3 commits 2023-11-08 16:57:04 +01:00
Georgiy Markelov requested review from Brian Savery (AMD) 2023-11-08 16:57:28 +01:00
Georgiy Markelov requested review from Bogdan Nagirniak 2023-11-08 16:57:28 +01:00
Georgiy Markelov requested review from Vasyl Pidhirskyi 2023-11-08 16:57:28 +01:00
Georgiy Markelov changed title from MaterialX: added support for steps input to MaterialX: Implement steps input for Map Range node 2023-11-08 16:57:46 +01:00
Georgiy Markelov added 1 commit 2023-11-09 10:53:25 +01:00
Bogdan Nagirniak approved these changes 2023-11-09 16:45:43 +01:00
Bogdan Nagirniak left a comment
Contributor

Tested - works good

Tested - works good
Bogdan Nagirniak reviewed 2023-11-09 18:06:54 +01:00
@ -478,1 +484,4 @@
if (stepped) {
NodeItem factor = create_node(
"range", type, {{"in", value}, {"inlow", from_min}, {"inhigh", from_max}});
Contributor

use <remap> here, it is more simple then range

use `<remap>` here, it is more simple then `range`
DagerD marked this conversation as resolved
Bogdan Nagirniak requested changes 2023-11-09 18:25:05 +01:00
Bogdan Nagirniak left a comment
Contributor

Additionally implement options Smooth step and Smoother step with matx node `

Additionally implement options `Smooth step` and `Smoother step` with matx node `<smoothstep>
Georgiy Markelov added 2 commits 2023-11-10 13:41:25 +01:00
Georgiy Markelov changed title from MaterialX: Implement steps input for Map Range node to MaterialX: Implement steps, clamp, smooth step inputs for Map Range node for Map Range node 2023-11-10 13:49:03 +01:00
Brian Savery (AMD) approved these changes 2023-11-10 17:32:12 +01:00
Georgiy Markelov changed title from MaterialX: Implement steps, clamp, smooth step inputs for Map Range node for Map Range node to MaterialX: Implement steps, clamp, smooth step inputs for Map Range node 2023-11-10 22:49:19 +01:00
Bogdan Nagirniak added 1 commit 2023-11-11 15:08:08 +01:00
Bogdan Nagirniak approved these changes 2023-11-11 15:09:00 +01:00
Bogdan Nagirniak left a comment
Contributor

Added fix, made code improvements.
Tested - works good.

Added fix, made code improvements. Tested - works good.
Georgiy Markelov requested review from Brecht Van Lommel 2023-11-13 09:07:08 +01:00
Brecht Van Lommel approved these changes 2023-11-13 10:32:56 +01:00

@blender-bot build

@blender-bot build
Brecht Van Lommel merged commit 08bd7e29df into main 2023-11-13 14:27:56 +01:00
Brecht Van Lommel deleted branch matx-range-node-add-steps 2023-11-13 14:27:58 +01:00
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
4 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#114635
No description provided.