garage44.eu/jeroen/cartopolis

logclone: git clone https://garage44.eu/jeroen/cartopolis.git

.. /docs/notes/camera.md

raw


topic: camera triggers: [camera_screen.rs, recorder.rs, webm.rs, photo_pose, PhotoPose, jpeg_meta, world_polaroid, "In world", Mixed, selfie, EXIF, XMP, ImagePick, open_still, upright_turn, view_angles, "Retake", camera_frame, hole_view, clip_encoder, save_video] updated: 2026-10-21

The camera: three modes, and the pose in every picture

The dock's camera disc, Camera in a chat's + menu and in the post composer open one camera (systems::camera_screen, designed in docs/mockups/social-camera/): In world (a polaroid of the view), Mixed (the phone's photograph beside Cartopolis drawn from the phone's own pose) and Real (the photograph alone), each with a selfie flip and an upload button. It replaced the field check on 2026-10-18, a developer tool that made the Mixed picture (plus an aerial panel) and nothing else (retired/field-check.md).

Facts that are not obvious from the code

Video

A Photo | Video switch (top right) turns the shutter into record and stop, in all three modes (asked for 2026-10-21, for Mixed above all). A clip is a WebM of VP8 pictures and mono Opus sound, the format a prim plays, written by cartopolis_calls::webm (the repo could only read WebM before). It plays round on the result screen with its sound, and Save puts it in Movies/Cartopolis (~/Videos/Cartopolis on a desktop). Post and Send are not offered for a clip: chats and posts carry pictures only.

Not verified

Built and checked on the desktop on 2026-10-18; none of it has run on a phone yet: the turn with the display, the picker's answer, the selfie's heading, and the alignment of the two halves of a Mixed picture held sideways. Video (2026-10-21) has run on no device at all: not the phone's VP8 encoder, not the microphone, not the MediaStore video row, not the sub-view on the phone's render scale.