@camavdist makes all other avatars further away than the given distance look as if they were visually muted: drawn as a flat
silhouette (impostor) with no detail, colored black.
@camavdist:<distance_m>=<y/n>
// Can only make out people within 5 m
llOwnerSay("@camavdist:5=n");
add()/remove(); any behavior starting with cam or setcam triggers updateCameraLimits() (RRInterface.cpp:1306-1314, :1418-1420), which recomputes every limit from scratch (:6338-6500) and then calls checkCameraLimits(true) (:6312-6336).getMin()/getMax() (:940-1006).mShowavsDistMax = getMin("camavdist"), RRInterface.cpp:6341; impostors forced at :6484-6496.LLVOAvatar::computeUpdatePeriod() llvoavatar.cpp:4408-4428 (sets mRenderAsSilhouette),
used by shouldImpostor()/needsImpostorUpdate() :11280-11310; “no limit” override :11360-11373.avatarVisibility() (mkrlinterface.cpp:7766-7807) to mark avatars as RLV-muted (jelly-doll style).
Its distance is computed as getPositionGlobal() - posGlobal(avatar) - getPositionGlobal(), i.e. the negated global position of the
other avatar rather than a distance from the user. If that reading is right, in CoolVL @camavdist (and the camdrawmax
visibility test) effectively affects every avatar regardless of how close it is.This command works differently from RLVa's @camavdist; see the comparison.
This command works differently from RLVa's @setcam_avdist; see the comparison.