Documentation ¶
Index ¶
- func ChristianScene() func() *Scene
- func EnvironmentCubeMap() func() *Scene
- func EnvironmentMap() func() *Scene
- func GlassScene() func() *Scene
- func GopherScene() func() *Scene
- func GopherWindowScene() func() *Scene
- func LoadImage(path string) image.Image
- func ModelScene() func() *Scene
- func OCLScene() func() *Scene
- func ReferenceScene() func() *Scene
- func ReflectionsScene() func() *Scene
- func TexturedPlanetsScene() func() *Scene
- func TransparencyFLightScene() func() *Scene
- func TransparencyQuadLightsScene() func() *Scene
- func TransparencyScene() func() *Scene
- func TransparentTeapotScene() func() *Scene
- type Scene
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChristianScene ¶
func ChristianScene() func() *Scene
func EnvironmentCubeMap ¶
func EnvironmentCubeMap() func() *Scene
func EnvironmentMap ¶
func EnvironmentMap() func() *Scene
func GlassScene ¶
func GlassScene() func() *Scene
func GopherScene ¶
func GopherScene() func() *Scene
func GopherWindowScene ¶
func GopherWindowScene() func() *Scene
func ModelScene ¶
func ModelScene() func() *Scene
func ReferenceScene ¶
func ReferenceScene() func() *Scene
func ReflectionsScene ¶
func ReflectionsScene() func() *Scene
func TexturedPlanetsScene ¶
func TexturedPlanetsScene() func() *Scene
func TransparencyFLightScene ¶
func TransparencyFLightScene() func() *Scene
func TransparencyQuadLightsScene ¶
func TransparencyQuadLightsScene() func() *Scene
func TransparencyScene ¶
func TransparencyScene() func() *Scene
func TransparentTeapotScene ¶
func TransparentTeapotScene() func() *Scene
Types ¶
type Scene ¶
type Scene struct { Camera camera.Camera Objects []shapes.Shape // Standard textures are typically 1:1, 2048x2048 Textures []image.Image // Sphere map textures are typically 2:1 format, for example 3840x1920 SphereTextures []image.Image // Cube textures use a 4:3 format with 6 sides forming a cross. Example is 4096x3072 CubeTextures []image.Image }
Click to show internal directories.
Click to hide internal directories.