sdf-viewer
sdf
sdf-viewer | sdf | |
---|---|---|
2 | 1 | |
66 | 88 | |
- | - | |
9.2 | 0.0 | |
1 day ago | about 1 year ago | |
Rust | Go | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
sdf-viewer
-
SDF Viewer: a fast and cross-platform Signed Distance Function (SDF) viewer, easily integrated with your SDF library
Afterward, this GLSL shader does the actual rendering. This shader is applied to a cuboid mesh that represents the bounding box of the object. The mesh is useful for only raytracing the part of the screen that may reach the object, and for extracting the rays for each pixel from the hit points. The shader simply walks along the ray for each pixel, moving by the amount of distance reported by the SDF on each position. If the surface is reached at some point, the normal is computed and the lighting is applied for the material saved in the closest voxel. To get the distance at a point that does not match the grid, interpolation is applied, leading to round corners if the level of detail is not high enough.
sdf
What are some alternatives?
raymarching-workshop - An Introduction to Raymarching
sdfx - A simple CAD package using signed distance functions
wrend - A framework-agnostic Rust/WASM + WebGL2 Rendering library, compatible with calling from both Rust and JavaScript on the web.
OpenAstroTracker - 3D printed DSLR tracking mount
bauble.studio - a playground for making 3D art with lisp and math
go-astisub - Manipulate subtitles in GO (.srt, .ssa/.ass, .stl, .ttml, .vtt (webvtt), teletext, etc.)
curv - a language for making art using mathematics
cq_keyboard_gen - CadQuery 2 keyboard case generator
pattern_roller_maker - generate stl file of pattern roller from image
sdf - Simple SDF mesh generation in Python
MaterialMakerRayMarching - Make complex Ray Marching SDF objects using nodes with the Material Maker editor and this library
ghostscad - GhostSCAD enables you to programatically build complex 3D models in Go and render them in OpenSCAD