luvcraft/agent/surroundings.lisp
An exact material census over one inclusive integer world box.
One clean third-person PNG and the compact world reading captured with it.
Count each resident dense lane of world inside inclusive minimum..maximum.
Return an above-and-behind pose looking forward over agent.
Capture one clean agent glance, including its bounded dense census.
capture-luvcraft-screenshot owns its own canvas request and waits for the
readback; nesting it inside execute-command-for-agent would deadlock.
An exact material census over one inclusive integer world box.
One clean third-person PNG and the compact world reading captured with it.
(minimum maximum)Multiplication and scalar scaling.
Subtraction or unary negation.
(body)Addition over compatible quantities.
(world minimum maximum)(world)(domain local-x local-y local-z)The maximum of compatible quantities.
The minimum of compatible quantities.
Logical conjunction of tests and raw truth values.
Test whether one compatible scalar is at most another.
((domain palette indices) chunk &body body)(scheme)Test whether two compatible scalars are equal.
(domain x y z)Test whether one compatible scalar is greater than another.
(world minimum maximum)(body)(body)(body)(camera)(agent)AGENT's visible height above its occupied cell, in blocks.
(camera)(camera)The componentwise square root of a raw value.
Raise a dimensionless value to a dimensionless power.
(x y z)The 50-degree vertical field of view used during modal focus.
(pathname)One embodied agent at a discrete cell: its thread, figure, and voice.
(session pathname &key camera-pose metadata-function
(include-hud-p t) (include-viewmodel-p t))Render SESSION once offscreen and write its native GPU frame to PNG. This works for both live and hidden sessions. The call returns only after GPU readback and compressed PNG writing have completed; it does not inspect the host window or depend on the window being visible. CAMERA-POSE may be a pose or a function of…
(player)(player)(player)(position stream)(queue swapchain image-index
&key (wait-semaphores #()) present-id present-stage time-domain-id
target-time target-time-domain-present-stage)Headings, paragraphs, figures and their IDs, mentions, marks.
(yaw)(name (&rest lambda-list) documentation &body body)(session)(command)Whether COMMAND must execute at its application's frame boundary.
(agent command)(command values text)Return the provider result after VALUES produced TEXT.
An embodied glance has two inseparable products: a perspective image and a small exact reading of the resident world around the body. The image is what the figure can see; the axis-aligned census is explicitly a sampled neighbourhood rather than a fictitious bounding box for the view frustum.