Macaw OS C reference

Function newprobe

#include <macawlevel.h>
int newprobe(double x, double y, double z, int size);

Makes a probe of your own at a place. Bake it with probebake, then give its cube map to a level with levelsetprobes.

Parameters

xdouble
X of where it is.
ydouble
Y of where it is (eye height is a good choice).
zdouble
Z of where it is.
sizeint
How many pixels across each of its six pictures is, from 8 to 256 (0 or less: 128).

Returns int

The probe's number, or 0 if a place wasn't a proper number.

In Reflection probes, with bakeprobes, levelprobelimit, probecount, probeat, probepos, probebake, probebaked, probeenv, levelsetprobes, levelprobedata, applylevelprobes.