[Proc Gen] HeightMap - Core class with scalar operations #193
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.
Blocks
#194 [Proc Gen] HeightMap - Combination operations
john/McRogueFace
#195 [Proc Gen] HeightMap - Terrain generation methods
john/McRogueFace
#196 [Proc Gen] HeightMap - Query methods
john/McRogueFace
#197 [Proc Gen] HeightMap - Threshold operations
john/McRogueFace
#198 [Proc Gen] HeightMap - kernel_transform
john/McRogueFace
#206 [Proc Gen] BSP.to_heightmap and BSPMap class
john/McRogueFace
#208 [Proc Gen] NoiseSource.sample and NoiseSample class
john/McRogueFace
Reference
john/McRogueFace#193
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
Overview
Implement the foundational
HeightMapclass - a 2D grid of float values that serves as the universal canvas for procedural generation.Specification
Constructor
Properties
size(int, int)Scalar Operations
All operations mutate in place and return
selffor chaining.Implementation Notes
TCODHeightMapinternallynormalize()maps toTCOD_heightmap_normalizeAcceptance Criteria
HeightMapcan be constructed with size tuplesizeproperty returns correct dimensionshmap.fill(0.5).scale(2.0).clamp(0.0, 1.0)tests/unit/test_heightmap_basic.py