CauldronGPU.Sectors.Sky (CauldronGPU v0.3.3)

Copy Markdown View Source

A sky picture wrapped round the inside of a cylinder, as CauldronGPU.Sectors.Surfaces surfaces keyed :sky, laid out as Doom draws its sky: 1024 picture columns to a full turn, one picture row per 1/160 radian of elevation, row 100 at the horizon. Above and below the picture the cylinder continues in its top and bottom rows and is closed by caps.

CauldronGPU.Sectors.Sky.surfaces({x, y, z}, radius, {256, 128})

Summary

Functions

The sky cylinder around map point centre with radius, for a picture of size.

Functions

surfaces(centre, radius, arg)

The sky cylinder around map point centre with radius, for a picture of size.