[Proc Gen] Grid - apply_threshold and apply_ranges for walkable/transparent #199
Labels
No labels
Alpha Release Requirement
Bugfix
Demo Target
Documentation
Major Feature
Minor Feature
priority:tier1-active
priority:tier2-foundation
priority:tier3-future
priority:tier4-deferred
Refactoring & Cleanup
system:animation
system:documentation
system:grid
system:input
system:performance
system:procgen
system:python-binding
system:rendering
system:ui-hierarchy
Tiny Feature
workflow:blocked
workflow:needs-benchmark
workflow:needs-documentation
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Depends on
#193 [Proc Gen] HeightMap - Core class with scalar operations
john/McRogueFace
Reference
john/McRogueFace#199
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Parent Issue: #192
Depends On: #193 (HeightMap core)
Overview
Add methods to Grid for applying HeightMap data to walkability and transparency properties.
Specification
Set walkable/transparent properties where source value is in range.
Nonemeans don't change that property.Apply multiple thresholds in a single pass.
Example
Implementation Notes
grid_sizeValueErroron size mismatchapply_rangesprocesses all ranges in a single pass over the dataselffor chainingAcceptance Criteria
apply_thresholdsets walkable/transparent correctlyapply_rangeshandles multiple ranges efficientlyValueError