wfobj

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2017 License: BSD-2-Clause Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NsToSpecRoughness

func NsToSpecRoughness(ns float32) float32

NsToSpecRoughness translates from the WF MTL specular exponent to a roughness value. The range is supposed to be 0-1000 but have seen up to 2048. This is another instance where having all the mtl materials and choosing appropriately would be convenient

Types

type File

type File struct {
	Filename string
}

File represents a Wavefront Alias .obj file procedural loader.

func (*File) Init

func (f *File) Init(p *proc.Proc, datastring string, userdata interface{}) error

Init implements proc.Handler.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL