//
pkg.gl
Category
github.com/fogleman/pt
pt
package
0.0.0-20170619012416-6fa0015c2178
Repository:
https://github.com/fogleman/pt.git
Documentation:
pkg.go.dev
Versions
1
Dependencies
18
Dependents
5
Files
3.7k SLOC
#
Functions
BoxForShapes
BoxForTriangles
Clamp
ClampInt
ClearMaterial
Cone
Degrees
DiffuseMaterial
DurationString
Fract
Frustum
GetTexture
GlossyMaterial
HexColor
Identity
Kelvin
LightMaterial
LoadImage
LoadMTL
LoadOBJ
LoadSTL
LoadTexture
LookAt
LookAtMatrix
MaterialAt
Median
MetallicMaterial
NewBuffer
NewCapsuleSDF
NewColor
NewCube
NewCubeSDF
NewCylinder
NewCylinderSDF
NewDifferenceSDF
NewDirectSampler
NewFunction
NewIntersectionSDF
NewMesh
NewNode
NewPlane
NewRenderer
NewRepeatSDF
NewSampler
NewScaleSDF
NewSDFMesh
NewSDFShape
NewSphere
NewSphereSDF
NewSphericalHarmonic
NewTexture
NewTorusSDF
NewTransformedCylinder
NewTransformedShape
NewTransformSDF
NewTree
NewTriangle
NewUnionSDF
NewVolume
NumberString
Orthographic
ParameterTest
ParseFloats
ParseInts
Perspective
PoissonDisc
Radians
RandomUnitVector
RelativePath
Rotate
SavePNG
SaveSTL
Scale
SpecularMaterial
Translate
TransparentMaterial
V
#
Constants
AxisNone
AxisX
AxisY
AxisZ
BounceTypeAny
BounceTypeDiffuse
BounceTypeSpecular
ColorChannel
EPS
INF
LightModeAll
LightModeRandom
SamplesChannel
SpecularModeAll
SpecularModeFirst
SpecularModeNaive
StandardDeviationChannel
VarianceChannel
#
Variables
Black
NoHit
White
#
Structs
Box
Buffer
Camera
CapsuleSDF
Color
ColorTexture
Cube
CubeSDF
Cylinder
CylinderSDF
DefaultSampler
DifferenceSDF
Function
Hit
HitInfo
IntersectionSDF
Material
Matrix
Mesh
Node
Pixel
Plane
Ray
Renderer
RepeatSDF
ScaleSDF
Scene
SDFShape
Sphere
SphereSDF
SphericalHarmonic
STLHeader
STLTriangle
TorusSDF
TransformedShape
TransformSDF
Tree
Triangle
UnionSDF
Vector
Volume
VolumeWindow
#
Interfaces
Sampler
SDF
Shape
Texture
#
Type aliases
Axis
BounceType
Channel
Func
LightMode
SpecularMode