Skip to content
Proyectos

Acerca de

A 3D modeling and rendering programming language utilizing SDFs.

Diseño y multimedia

Cómo se miden estas cifras

Crecimiento de estrellas medido

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Recopilando historial

Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.

README.md

Original

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 backends
  • crates/ftc: CLI frontend
  • examples/: 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

  1. FT defines reusable node behavior.
  2. TOML graph files instantiate and connect nodes.
  3. [render] selects an exact graph source and target.
  4. Terrain raymarch uses graph-driven height/field outputs.

Current render targets:

  • height/grayscale
  • scene/raytrace

Performance Model

  • Point nodes: JIT-specialized scalar sampling
  • Field nodes: pass-style execution (CPU path + wgpu field 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:

  1. Heightfield hit + normal (macro geometry)
  2. Material evaluation at hit context
  3. Shell/displacement detail phase
  4. 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.

Explorar proyectos relacionados

Cargando…