world_camera — DRIVE world op

• Data kinds: table × matrix × matrix → table

• Call: import fullseye as fs; fs.ledger.world_camera(world: 'dict', pose, K, width: 'int' = 640, height: 'int' = 400, *, light=(0.3, -0.5, 0.8), ambient: 'float' = 0.35, sky=(0.62, 0.75, 0.92), ego=None) -> 'dict' (to call the implementation directly, import driveworld; driveworld.world_camera(world: 'dict', pose, K, width: 'int' = 640, height: 'int' = 400, *, light=(0.3, -0.5, 0.8), ambient: 'float' = 0.35, sky=(0.62, 0.75, 0.92), ego=None) -> 'dict'; from the registry, opsdrive.get("world_camera"))

Usage

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

世界をカメラで撮る: `{"color" (H,W,3), "label" (H,W) int(−1 = 空), "depth" (H,W), "face" (H,W), "shade" (H,W)}`。

render3d.render_mesh(attributes=True) の三角形 id から面の色・ラベルを引き、色は Lambert

(`ambient + (1−ambient)·max(n·l, 0)`、n は render3d のカメラ系法線を世界系に戻さず、光をカメラ系で与える)。

`ego=(V, F, color)` を渡すと自車のメッシュも一緒に描く(世界には足さない)。

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_ball_bounce — py -3.11 examples/poc_ball_bounce.py

• poc_driving_crossing — py -3.11 examples/poc_driving_crossing.py

• poc_driving_decisions — py -3.11 examples/poc_driving_decisions.py

• poc_driving_endless_map — py -3.11 examples/poc_driving_endless_map.py

• poc_driving_humanoids — py -3.11 examples/poc_driving_humanoids.py

• poc_driving_japan_town — py -3.11 examples/poc_driving_japan_town.py

• poc_driving_lateral — py -3.11 examples/poc_driving_lateral.py

• poc_driving_longitudinal — py -3.11 examples/poc_driving_longitudinal.py

• poc_driving_pass — py -3.11 examples/poc_driving_pass.py

• poc_driving_school — py -3.11 examples/poc_driving_school.py

• poc_driving_town — py -3.11 examples/poc_driving_town.py

• poc_driving_traffic — py -3.11 examples/poc_driving_traffic.py

• poc_kendama — py -3.11 examples/poc_kendama.py

• poc_table_tennis_bounce — py -3.11 examples/poc_table_tennis_bounce.py

• poc_table_tennis_spin — py -3.11 examples/poc_table_tennis_spin.py

• poc_ttc_rss — py -3.11 examples/poc_ttc_rss.py

• poc_world_terrain — py -3.11 examples/poc_world_terrain.py

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

course_layout · course_occupancy · course_contains · world_build · world_move · lidar_scan · rss_longitudinal_same · rss_longitudinal_opposite

Same category (world)

world_build · load_asset · world_move


*Provenance: driveworld.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.