Skip to content

A Blender extension that helps you visualize material assignments in the viewport by randomly assigning distinct colors to materials and highlighting objects without materials.

Notifications You must be signed in to change notification settings

aoirusann/BlenderExtension_RandomMaterialViewportVisualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Random Material Viewport Visualizer

A Blender extension that helps you visualize material assignments in the viewport by randomly assigning distinct colors to materials and highlighting objects without materials.

Features

  • Randomize Material Colors: Automatically assigns vibrant, distinguishable colors to all materials in the viewport
    • Uses HSV color space for optimal color distribution
    • High saturation colors ensure distinction from Blender's default gray
    • Random starting hue for varied color combinations each time

  • Highlight Missing Materials: Detects and highlights mesh objects that have no materials assigned
    • Assigns a bright magenta warning material (!WARNING_MISSING!)
    • Works for both empty material slots and completely missing materials
    • Visual feedback to quickly identify problematic objects

Installation (Blender 4.2.0+)

  1. Download the extension as a ZIP file (in Release page)
  2. Open Blender and drag ZIP file into viewport
  3. Select a repository (e.g. User Default)
  4. Toggle on Enable Add-on and click OK
  5. The extension will be installed and enabled automatically

Usage

  1. Open the Tool panel in the 3D Viewport sidebar (press N to toggle sidebar)
  2. Find the Random Material Viewport Visualizer panel

Tips

  • Run "Randomize Colors" multiple times to get different color combinations
    • The warning material (!WARNING_MISSING!) will always remain magenta
  • Colors are only changed in viewport display, not in actual material properties for rendering
  • Works best with viewport shading set to Solid mode with Material color type

Requirements

  • Tested on Blender 4.5.0
  • Not sure whether can run on lower version

License

GPL-3.0-or-later

Author

aoirusann@gmail.com

About

A Blender extension that helps you visualize material assignments in the viewport by randomly assigning distinct colors to materials and highlighting objects without materials.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages