Skip to content

digital-substrate/dsm-samples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DSM Language Samples

Reference models in the Digital Substrate Model (DSM) language, used to demonstrate modeling patterns and exercise the dsm-jetbrains and dsm-vscode IDE plugins.

Contents

Ge/ — Graph modeling

A complete graph topology system demonstrating:

  • Concept definitions (Graph, Vertex, Edge)
  • Attachment system for topology and visual attributes
  • Attachment function pools for collaborative editing:
    • ModelGraph — topology editing (newVertex, newEdge, deleteSelection)
    • ModelSelection — selection management (selectAll, deselectAll)
    • ModelIntegrity — data integrity restoration
  • Mutable operations with proper return types (key<T>, void)
  • Query functions for state inspection

Re/ — 3D rendering system (Raptor)

A rendering engine data model covering:

  • Camera (depth of field, motion blur)
  • Material system with inheritance (matte, mirror, multilayer)
  • Lighting, textures, environment
  • Sensors and timeline management
  • Bezier paths, kinematics, clipping planes

Validation

These samples can be validated using dsm_util.py, distributed with the Viper DevKit.

License

MIT License — see LICENSE.

About

DSM language reference samples — Graph modeling and 3D rendering examples

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors