Scale Node – Вузол «Масштаб»¶
Цей вузол масштабує розмір зображення.
Inputs – Уводи¶
- Image – Зображення
Standard color input.
- Space – Простір
Координатний простір, відносно якого здійснюється масштабування.
- Відносний:
Відсоткові значення відносно розмірів зображення уводу.
- Абсолютний:
Розмір зображення визначається використанням абсолютних піксельних значень.
- Scene Size – Розмір Сцени:
Змінює розмір зображення до розміру роздільності фінального рендера для сцени. Наприклад, рендеринг сцени зі стандартною роздільністю 1080p, але задання відсотка рендерення як 50%, буде продукувати зображення з 1080p, зі зменшенням масштабу сцени до 50% та із залишенням решти зображення як прозорість альфа.
- Render Size – Розмір Рендера:
Розмірності зображення задаються на панелі Render – «Рендер».
- Frame Type Render Size
How the image fits in the camera frame.
- Stretch – Розтяг:
Distorts the image so that it fits into the render size.
- Fit – Припасування:
Scales the image until the bigger axis «fits» into the render size.
- Обрізка – Crop:
Cuts the image so that it is the same aspect ratio as the render size.
- X, Y
Значення масштабу у напрямку даних осей, якщо для опції Space – «Простір» обрано значення Relative – «Відносно» або Absolute – «Абсолютно».
Sampling – Відбір¶
- Interpolation – Інтерполяція
Determines how pixel values are interpolated when scaling or transforming images.
- Nearest – Найближче:
Uses the value of the closest pixel with no smoothing. This is the fastest method and is well-suited for pixel art or low-resolution images where sharp, blocky edges are desirable. In animations, motion appears in single-pixel steps, which can cause visible jittering.
- Bilinear – Білінеарно:
Averages the values of surrounding pixels to create a smoother result than Nearest. Provides a good balance between performance and visual quality.
- Bicubic – Бікубічно:
Computes a weighted average of a larger neighborhood of pixels for even smoother results. Ideal for photographic images or gradients where preserving fine detail is important.
- Anisotropic:
Adjusts interpolation based on the direction and scale of the transformation. Helps reduce blurring or aliasing when scaling at steep angles or uneven resolutions, especially useful in textures viewed at oblique angles or in detailed 3D projections.
- Extension X/Y
The extension mode applied to the X axis.
- Clip – Кліп:
Areas outside of the image are filled with transparency.
- Розширити:
Areas outside of the image are filled with the closest boundary pixel in the image.
- Repeat – Повтор:
Areas outside of the image are filled with repetitions of the image.
Outputs – Виводи¶
- Image – Зображення
Стандартний вивід кольорів.
Examples – Приклади¶
Наприклад, X: 0.5 та Y: 0.5 продукуватимуть зображення, ширина і висота якого буде половиною від того, які б вони були використані.
Використовуйте цей вузол для узгодження розмірів зображень. Більшість вузлів продукують зображення, що має такий самий розмір, як і зображення, що уводиться в їх верхній сокет зображення. Щоб рівномірно комбінувати два зображення різного розміру, друге зображення має отримати більший масштаб, щоб відповідати роздільності першого.