Compositor 'converter->math->round' node does not use second input #48100

Closed
opened 2016-04-10 15:41:00 +02:00 by Andrey Penyaz · 8 comments

System Information
Windows 7 x64, GF970
Blender Version
Broken: 2.77a abf6f08 (steam version)

Short description of error
I've tried to do simple posterization effect using round node,like described here, http://blenderartists.org/forum/showthread.php?244118-Cool-nodes-I-didn-t-know-about&p=2038344&viewfull=1#post2038344 , but looks like second input of round node does not do anything. Is it a bug or a feature?

Exact steps for others to reproduce the error
Here is minimal example{F301954}. I expected that second input of round node would create some posteriztion effect when value is reduced, but round node acts like. simple rounding to 0 and 1 and produce black and white image regardless of second value.

**System Information** Windows 7 x64, GF970 **Blender Version** Broken: 2.77a abf6f08 (steam version) **Short description of error** I've tried to do simple posterization effect using round node,like described here, http://blenderartists.org/forum/showthread.php?244118-Cool-nodes-I-didn-t-know-about&p=2038344&viewfull=1#post2038344 , but looks like second input of round node does not do anything. Is it a bug or a feature? **Exact steps for others to reproduce the error** Here is minimal example{[F301954](https://archive.blender.org/developer/F301954/Round_Bug.blend)}. I expected that second input of round node would create some posteriztion effect when value is reduced, but round node acts like. simple rounding to 0 and 1 and produce black and white image regardless of second value.
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @biliogadafr

Added subscriber: @biliogadafr

Added subscriber: @semaj-1

Added subscriber: @semaj-1

Removed subscriber: @semaj-1

Removed subscriber: @semaj-1

Added subscriber: @semaj-1

Added subscriber: @semaj-1

Added subscriber: @Sergey

Added subscriber: @Sergey

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Sergey Sharybin self-assigned this 2016-04-12 10:02:15 +02:00

Round operation by itself is only using single value input. It simply rounds first input to a closest integer value.

Your setup is working correct, because compositor works with float images, where color range is usually [0..1]. So what you can do is to multiply color by some value, then round, and then divide color back.

Thanks for the report, but it's not a bug.

Round operation by itself is only using single value input. It simply rounds first input to a closest integer value. Your setup is working correct, because compositor works with float images, where color range is usually [0..1]. So what you can do is to multiply color by some value, then round, and then divide color back. Thanks for the report, but it's not a bug.
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#48100
No description provided.