Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create3MF ¶
Create3MF saves Renderer stream to a 3MF file type. This function is in experimental stage and may not work properly for large models.
func NewOctreeRenderer ¶
NewOctreeRenderer returns a Marching Cubes implementation using octree cube sampling. As of May 2022 this implementation leaks the todo cube slice which may impact performance for complex shapes rendered at high resolutions. This is because it is much faster this way and simpler. Ideally the todo slice should be a queue or circular buffer.
Types ¶
type TriangleBuffer ¶
type TriangleBuffer struct {
// contains filtered or unexported fields
}
func (*TriangleBuffer) Len ¶
func (b *TriangleBuffer) Len() int
Click to show internal directories.
Click to hide internal directories.