spheres_render_shaded — DRIVE granular op

• Data kinds: matrix × scalar × scalar × scalar × scalar → rgb

• Call: import fullseye as fs; fs.ledger.spheres_render_shaded(pos, radius: 'float', pitch: 'float', extent: 'float', height: 'float', light=(-0.4, -0.6, 0.7)) -> 'np.ndarray' (to call the implementation directly, import granular; granular.spheres_render_shaded(pos, radius: 'float', pitch: 'float', extent: 'float', height: 'float', light=(-0.4, -0.6, 0.7)) -> 'np.ndarray'; from the registry, opsdrive.get("spheres_render_shaded"))

Usage

> This operator's description has not been translated yet. The original text follows as it is.

横からの正射影を陰影つきで描く(numpy の z バッファ、Lambert)。GIF 用。返り `(rows, cols, 3)` [0, 1]。

References (sample data, literature)

• Sample-data catalog (download URLs / licences) — 2-D uses skimage.data (BSD/public domain) plus synthetic images; 3-D lists download URLs for real data sources (Stanford, PDS, …).

• Operator provenance and references — the sources of the research/methods this op family came from.

• The canonical algorithm (author, year) and its uses are named in the family usage guide above.

Runnable examples (verified samples that actually call this op)

• poc_granular_heap_repose — py -3.11 examples/poc_granular_heap_repose.py

• poc_powder_scoop_pour — py -3.11 examples/poc_powder_scoop_pour.py

Ops the type connects to (they accept rgb as input)

spin_from_marker_sequence · carla_depth_decode · carla_transform_matrix · carla_pose_to_world · carla_camera_pose · carla_xy_yaw · carla_scene_load · town_chain

Same category (granular)

heap_volume_cone · heap_mass · heap_volume_heightmap · beverloo_rate · beverloo_fit · discharge_synth · dispense_mass_from_video · hopper_discharge_rate


*Provenance: granular.py — DRIVE operator registry. This per-op note is generated by tools/opdocs.py md (do not hand-edit).*

© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.