Compositor scale offset #42844
Labels
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
6 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#42844
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Windows 8.1 x64
Renderer: GeForce GTX 860M/PCIe/SSE2
Blender Version
Broken: 2.72.2
c8995ec
Short description of error
There is a little offset when upscaling render in compositor.
Exact steps for others to reproduce the error
Changed status to: 'Open'
Added subscriber: @MikhailRachinskiy
As for the scale issue it seems to be an inconsistency in assumption where the pixel center is (whether it's coordinate (0,0) or (0.5, 0.5) ). What's even worse, those assumptions seems to be different in different areas of compositor. Would need to carefully look over all of the nodes there..
As for pixelate node, i'm not sure how to prevent offset with it's current implementation -- it's just rounds the coordinates to integer values. That would always give some offset... Personally i'd just get rid of such an obscure node..
Pixelate node is useful when you need to convert hi pix images to low pix, like on this screenshot:
Transform node seems to be more useless, because it duplicates functionality of Scale, Rotate and Translate nodes, but missing valuable options:
This issue was referenced by
02fad7dca4
I know pixelate could be handy, but it's implementation is not offset-proof and it's not totally clear how to avoid it with the current sampling design in compositor.
Fix for interpolation offset will go to git now.
Changed status from 'Open' to: 'Resolved'
Closed by commit
02fad7dca4
.This issue was referenced by
2ae0f1e70b
Changed status from 'Resolved' to: 'Open'
Re-opening the issue, initial approach was wrong and the actual root of the issue is not just because of the interpolation, but more about how resolution is mapped.
Added subscriber: @Blendify
Added subscriber: @Jeroen-Bakker
In BLI the nearest function is implemented as a float to int conversion
In the COM_MemoryBuffer nearest is implemented as float to int conversion.
In the pixelate it is implemented as a mathematic round. reason for this is to have all pixels the same size in the output.
Yes there is an issue based on the image width/height. Sometimes when translating images you will see rounding issues last/first column missing.
Should be investigated.
Added subscriber: @monique
Changed status from 'Open' to: 'Archived'
Think at this point it's safe to consider this a TODO and something to be addressed with rest of sampling issues when re-considering the whole compositor.