Skip to content

Tile highlights are now colored#2785

Merged
dictoon merged 5 commits intoappleseedhq:masterfrom
laurelkeys:master
Mar 7, 2020
Merged

Tile highlights are now colored#2785
dictoon merged 5 commits intoappleseedhq:masterfrom
laurelkeys:master

Conversation

@laurelkeys
Copy link
Copy Markdown
Contributor

Addresses #1182.

Added thread index and number of threads as arguments to on_tile_begin and highlight_tile.

From these values, one color can be uniquely selected per thread, using one of Inigo Quilez's color palettes.

(See https://www.shadertoy.com/view/wlKXDm for a demo)

Copy link
Copy Markdown
Member

@oktomus oktomus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for your contribution @laurelkeys.

Your PR looks pretty good, I just suggested some minor changes :)

Comment thread src/appleseed.bench/mainwindow/rendering/renderwidget.cpp Outdated
Comment thread src/appleseed.bench/mainwindow/rendering/renderwidget.cpp Outdated
Comment thread src/appleseed/renderer/kernel/rendering/generic/tilejob.cpp Outdated
Comment thread src/appleseed.bench/mainwindow/rendering/renderwidget.cpp Outdated
Comment thread src/appleseed.bench/mainwindow/rendering/renderwidget.cpp Outdated
Comment thread src/appleseed.bench/mainwindow/rendering/renderwidget.cpp Outdated
Comment thread src/appleseed.studio/mainwindow/rendering/renderwidget.cpp Outdated
Comment thread src/appleseed.bench/mainwindow/rendering/renderwidget.cpp Outdated
Comment thread src/appleseed/renderer/kernel/rendering/tilecallbackbase.h Outdated
Comment thread src/appleseed.bench/mainwindow/rendering/qttilecallback.h Outdated
Comment thread src/appleseed/renderer/kernel/rendering/tilecallbackbase.h Outdated
Copy link
Copy Markdown
Member

@dictoon dictoon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@dictoon dictoon changed the title Add colored tile highlights Tile highlights are now colored Mar 7, 2020
@dictoon dictoon merged commit bc37e43 into appleseedhq:master Mar 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants