Convert heights to vertex group weights #36729
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#36729
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Project: Blender Extensions
Tracker: Py Scripts Upload
Blender: 2.66
Category: Mesh
Python: 3.2
Homepage: http://blenderthings.blogspot.nl/2013/09/height-to-vertex-weights-blender-addon.html
Script name: height.py
Dependencies: none
Author(s): Michel Anders (varkenvarken)
Status: Open
Related: 36677
%%%This scripts replaces the weights in the active vertex group to weights that represent the height.
After installation it is available in the 3dview in weight paint mode under Weights->Height
It maps the chosen coordinate (x, y or z-axis) to a weight, which will be 1.0 for the largest value encounters and 0.0 for the smallest.
These coordinates values are interpreted in either object (local) space or world (global) space.
If the the Absolute checkbox is checked negative coordinates will be treated as positive.
The mapping from minimum,maximum coordinate to [0,1] weight is normally linear, but may be influenced with the Power property.
After mapping any values less dan Low will be set to 0, any values larger dan High will be set to 1
A common use case is using the result as desity map for a particle system to populate a landscape mesh with plants for example. It might be easily combined with an vertex weight edit modifier, for example to invert the result when one wants more particles at lower heights.%%%
Changed status to: 'Open'
%%%v0.0.2 exposes the same height-to-value mapping as a vertex color as well in 3dview Paint->height
%%%
Added subscriber: @BrendonMurphy
Changed status from 'Open' to: 'Archived'
Closing as archived.
@MichelAnders
Feel free to create a fresh task if you intend developing this in Blender.