stillleben.LightMap class

An .ibl light map for image-based lighting.

Contents

The file is expected to be in sIBL format. For a wonderful repository of light maps, see the sIBL Archive.

The light map can be used during rendering by setting Scene.light_map.

For an example, see pbr.

Methods

def load(self, path: object) -> bool
Opens an .ibl file.

Special methods

def __init__(self, /) -> None
Constructor
def __init__(self, path: object) -> None
Constructs and calls load().

Method documentation

def stillleben.LightMap.load(self, path: object) -> bool

Opens an .ibl file.

Parameters
path Path to .ibl file
Returns True if successful