项目
在 GitHub 查看
markusmoenig/ForgedThoughts
关于
A 3D modeling and rendering programming language utilizing SDFs.
设计与媒体实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文ForgedThoughts
ForgedThoughts is a Rust workspace for terrain-first node graphs:
- FT node definitions (
node ... { fn eval(ctx) { ... } }) - TOML graph instancing/wiring (
[Type.alias]) - Height/field rendering and Whitted terrain raymarching
The current primary authoring path is TOML graphs + FT nodes.
Workspace
crates/forgedthoughts: language, graph loader, evaluator, render backendscrates/ftc: CLI frontendexamples/: graph examples and rendered outputs
Quickstart
Build:
cargo build
Render a graph:
ftc examples/simple_noise.toml
Render terrain with erosion:
ftc examples/terrain_erosion.toml
Render to custom output/resolution:
ftc examples/terrain_erosion.toml --output out/terrain.png --width 1280 --height 720
Watch and rerender:
ftc examples/terrain_erosion.toml --watch
Current Architecture
- FT defines reusable node behavior.
- TOML graph files instantiate and connect nodes.
[render]selects an exact graph source and target.- Terrain raymarch uses graph-driven height/field outputs.
Current render targets:
height/grayscalescene/raytrace
Performance Model
- Point nodes: JIT-specialized scalar sampling
- Field nodes: pass-style execution (CPU path +
wgpufield backend) - Terrain path: Whitted raymarch over graph-provided height source
Material Direction
Material nodes are the main detail layer on top of macro terrain.
The intended pipeline:
- Heightfield hit + normal (macro geometry)
- Material evaluation at hit context
- Shell/displacement detail phase
- Whitted shading lanes (
albedo,roughness,metallic,coat,transparency, etc.)
See:
Planned CLI Convenience
The CLI is intentionally minimal today, but expected convenience features include:
- list available built-in nodes
- inspect node input/output ports
- validate graph connections/types without rendering
- render-source introspection for graph debugging
Legacy Note
Older SDF-scene-centric docs/examples are legacy context.
The active direction is terrain/node graph workflows, not expanding the old scene authoring architecture.
探索相关项目
加载中…