• S sverchok
  • Информация о проекте
    • Информация о проекте
    • Активность
    • Метки
    • Участники
  • Репозиторий
    • Репозиторий
    • Файлы
    • Коммиты
    • Ветки
    • Теги
    • Участники
    • Диаграмма
    • Сравнение
  • Задачи 148
    • Задачи 148
    • Список
    • Доски
    • Спринты
  • Запросы на слияние 21
    • Запросы на слияние 21
  • CI/CD
    • CI/CD
    • Конвейеры
    • Задания
    • Расписания
  • Развертывания
    • Развертывания
    • Окружения
    • Релизы
  • Пакеты и реестры
    • Пакеты и реестры
    • Реестр пакетов
    • Реестр контейнеров
  • Мониторинг
    • Мониторинг
    • Инциденты
  • Аналитика
    • Аналитика
    • Поток ценности
    • CI/CD
    • Репозиторий
  • Wiki
    • Wiki
  • Сниппеты
    • Сниппеты
  • Активность
  • Диаграмма
  • Создать новую задачу
  • Задания
  • Коммиты
  • Доски с задачами
Свернуть панель
  • nikitronn
  • sverchok
  • Запросы на слияние
  • !2397

Added new Material Link Sampler node (III)

  • Ревью изменений

  • Скачать
  • Почтовые патчи
  • Простое отличие
Закрыто nikitronn запросил слияние github/fork/spamrakuen/matllinknode в master Мар 31, 2019
  • Обзор 12
  • Коммиты 93
  • Конвейеры 0
  • Изменения 100

Created by: spamrakuen

Addressed problem description

Blender does not allow to add a curve editor in an addon UI. This makes dificult to "draw" a 2D line shape and then sample values from that line.

Sverchok already supports curve UI via SNLite and "Fcurve sampler", this is just another way to do the same. SNLite needs node name to be unique per material but this node does not. "Fcurve sampler" is very powerful but quite different.

Solution description

This node allows to sample data from a Material's RGB Curve or ColorRamp nodes.

Solution is based on this thread of stackexchange.com https://blender.stackexchange.com/questions/61618/add-a-custom-curve-mapping-property-for-an-add-on

In order to work, a material that use nodes should be created, then just drop a RGB Curves or ColorRamp node.

This new node will sample values from that curve(s). Just choose the material and type the node's name.

RGB Curves Link Node Screenshot

Preflight checklist

Put an x letter in each brackets when you're done this item:

  • Code changes complete.
  • Code documentation complete.
  • Documentation for users complete (or not required, if user never sees these changes).
  • Manual testing done.
  • Unit-tests implemented.
  • Ready for merge.
Ответственный
Назначить
Проверяющие
Запросить ревью
Оценка трудозатрат
Исходная ветка: github/fork/spamrakuen/matllinknode