Blender-Colormaps icon indicating copy to clipboard operation
Blender-Colormaps copied to clipboard

Blender-Colormaps

colormaps

This is an addon to quickly and efficiently load colormaps into the colorramp node in Blender

Installation

Simply install the .zip from this repository in Blender. This addon uses matplotlib which needs to be installed to the blender python environment. After activating the addon you will be notified if you need to install matplotlib.

image

Matplotlib not installing?

On windows there can be permission errors that prevent you from writing to the site-packages folder. If that happens you need to manaully install matplotlib there

You can do this by opening the windows command prompt with admin privileges and running

"C:\Program Files\Blender Foundation\Blender 4.3\4.3\python\bin\python.exe" -m pip install --target="C:\Program Files\Blender Foundation\Blender 4.3\4.3\python\lib\site-packages" matplotlib

Thanks @SchmidL

Usage

Find it in the tools section of node menus

After install, everything will be blank. Click the search button to scan the librarys folder. It will rescan automatically each time you start blender

image

Currently there are six built-in color libraries: Matplotlib, MetBrewer, Cmocean, scientific, carbonplan, and tableau

image

You can update ColorRamp nodes when one is selected

image

Gamma-correction ensures that colors in Blender are perceived the same way as in matplotlib

image

Custom ColorMaps

You can add additional and custom libraries by creating folders in the colormaps folder (blender_colormaps/assets/colormaps) in the install folder of the addon.

image

image

Colormaps are .rgb format.

Examples

german_tree_ages_credits hairs pole_year0022