8000 GitHub - MostAwesomeDude/csg: Some constructive solid geometry
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

MostAwesomeDude/csg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Constructive Solid Geometry

These are example geometry descriptions to be used with my Monte raytracer. To run the raytracer, point it at this directory for the import base, and then the name of the geometry that one wishes to render. For example:

monte eval ~/typhon/mast/games/sdf.mt.md -size 320x200 -supersample 5 ~/csg portraits/sines

Which will take several minutes, printing progress, and eventually yield an uncompressed PNG which looks like:

raytraced geometry

Possible problems:

  • Invalid CSG? The CSG grammar is specified by lib/csg
  • Typhon crashes? Double-check that you don't have undefined names; remember to bring in CSG as a parameter, not an import.

About

Some constructive solid geometry

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0