diff --git a/instruments/ECOR/ECOR.blend b/instruments/ECOR/ECOR.blend index f59aa69..1dd298e 100644 Binary files a/instruments/ECOR/ECOR.blend and b/instruments/ECOR/ECOR.blend differ diff --git a/instruments/README.md b/instruments/README.md index 87821d2..a9ea288 100644 --- a/instruments/README.md +++ b/instruments/README.md @@ -4,7 +4,9 @@ One file per instrument; link the `INST_*` (or `CSAPR2`) collection. Root at the `INST_BALLOON` is the radiosonde launch at M1: balloon, sonde, the line (a stretch-to constraint from sonde to balloon) and the two-person launch crew (`BALLOON_Crew`). It carries the release animation over frames 1–480; the *_Hold/*_Release crew poses swap visibility at release. -`INST_SONDE` is the M1 sounding site: the UHF telemetry antenna mast, the GA31 GPS antenna and a concrete launch pad with the ARM balloon launch cart (green canvas hopper on a curved steel frame, two spoked wheels, helium hose). `SONDE_balloon_rig` holds a filled balloon in the cart under a canvas cover; hide it for an empty cart. The hidden `SONDE_free_balloon_rig` is a free balloon, parachute, unwinder and RS41 train for release shots. +`INST_SONDE` is the M1 sounding site: the UHF telemetry antenna mast, the GA31 GPS antenna and a concrete launch pad with the ARM balloon launch cart (green canvas hopper on a curved steel frame, two spoked wheels, helium hose), shown empty. `INST_SONDE_CartBalloon` (same file) is a filled balloon under a canvas cover sitting in the cart: instance it at the same transform as `INST_SONDE`, and leave it out where the scene launches its own balloon (`INST_BALLOON`, as in M1). The hidden `SONDE_free_balloon_rig` is a free balloon, parachute, unwinder and RS41 train for release shots. + +`INST_ECOR` and `INST_SEBS` share one tower and must be instanced at the same transform. **Orientation: the sonic/IRGA/radiometer boom must always point due south** (asset −Y; azimuth 180°), so the tower, enclosures and their shadows stay north of the sensors and out of the radiometer's view. The CNR4 + CNF4 is an in-line extension of the boom; the three soil sets (HFP01 + HydraProbe) sit on a 0.70 m circle under it, 1.21 m apart. Both roots carry a `boom_heading` property. `INST_GNDRAD`, `INST_METWXT`, `INST_MRR`, `INST_PHENOCAM`, `INST_SOILVUE10` and `INST_STAMP` are procedural (rebuild with `blender -b --factory-startup --python tools/build_inst_.py`; helpers in `tools/instlib.py`). Each root carries `full_name`, `sites`, `sources` and `notes` custom properties. Parts below grade (probes, footings, driven stakes, ground rods) sit in a `_BelowGrade` child collection that is hidden in viewport and render; un-hide it for cut-away views. Their `bbox_*` describe what stands above ground and `below_grade_m` gives the depth. @@ -39,6 +41,7 @@ One file per instrument; link the `INST_*` (or `CSAPR2`) collection. Root at the | | `INST_SIRS` | [`SIRS/SIRS.blend`](SIRS/SIRS.blend) (0.3 MB) | | | `INST_SOILVUE10` | [`SOILVUE10/SOILVUE10.blend`](SOILVUE10/SOILVUE10.blend) (0.2 MB) | | | `INST_SONDE` | [`SONDE/SONDE.blend`](SONDE/SONDE.blend) (0.2 MB) | +| | `INST_SONDE` + `INST_SONDE_CartBalloon` | [`SONDE/SONDE.blend`](SONDE/SONDE.blend) (0.2 MB) | | | `INST_STAMP` | [`STAMP/STAMP.blend`](STAMP/STAMP.blend) (0.2 MB) | | | `INST_VDIS` | [`VDIS/VDIS.blend`](VDIS/VDIS.blend) (0.1 MB) | | | `INST_WB` | [`WB/WB.blend`](WB/WB.blend) (0.2 MB) | diff --git a/instruments/SEBS/SEBS.blend b/instruments/SEBS/SEBS.blend index fe27e70..62f6787 100644 Binary files a/instruments/SEBS/SEBS.blend and b/instruments/SEBS/SEBS.blend differ diff --git a/instruments/SONDE/SONDE.blend b/instruments/SONDE/SONDE.blend index 360301e..f7634cc 100644 Binary files a/instruments/SONDE/SONDE.blend and b/instruments/SONDE/SONDE.blend differ diff --git a/instruments/preview/ECOR.jpg b/instruments/preview/ECOR.jpg index 9795630..6caccdd 100644 Binary files a/instruments/preview/ECOR.jpg and b/instruments/preview/ECOR.jpg differ diff --git a/instruments/preview/SEBS.jpg b/instruments/preview/SEBS.jpg index bc5ac44..b25c071 100644 Binary files a/instruments/preview/SEBS.jpg and b/instruments/preview/SEBS.jpg differ diff --git a/instruments/preview/SONDE.jpg b/instruments/preview/SONDE.jpg index 2aa52f5..ebd02ba 100644 Binary files a/instruments/preview/SONDE.jpg and b/instruments/preview/SONDE.jpg differ diff --git a/instruments/preview/SONDE_CartBalloon.jpg b/instruments/preview/SONDE_CartBalloon.jpg new file mode 100644 index 0000000..57ecc01 Binary files /dev/null and b/instruments/preview/SONDE_CartBalloon.jpg differ diff --git a/scenes/preview/M1_Cam_M1_Aerial_SE.jpg b/scenes/preview/M1_Cam_M1_Aerial_SE.jpg index 8a31b41..1bdd538 100644 Binary files a/scenes/preview/M1_Cam_M1_Aerial_SE.jpg and b/scenes/preview/M1_Cam_M1_Aerial_SE.jpg differ diff --git a/scenes/preview/M1_Cam_M1_Yard.jpg b/scenes/preview/M1_Cam_M1_Yard.jpg index 0cc5610..0af1b4c 100644 Binary files a/scenes/preview/M1_Cam_M1_Yard.jpg and b/scenes/preview/M1_Cam_M1_Yard.jpg differ diff --git a/scenes/preview/M1_Cam_Sign_M1.jpg b/scenes/preview/M1_Cam_Sign_M1.jpg index 7573a2b..62bcbca 100644 Binary files a/scenes/preview/M1_Cam_Sign_M1.jpg and b/scenes/preview/M1_Cam_Sign_M1.jpg differ diff --git a/scenes/preview/M1_Camera_AMF2.jpg b/scenes/preview/M1_Camera_AMF2.jpg index 86f168d..530abde 100644 Binary files a/scenes/preview/M1_Camera_AMF2.jpg and b/scenes/preview/M1_Camera_AMF2.jpg differ diff --git a/scenes/preview/M1_Camera_MetTower.jpg b/scenes/preview/M1_Camera_MetTower.jpg index 7f0804b..685ad0b 100644 Binary files a/scenes/preview/M1_Camera_MetTower.jpg and b/scenes/preview/M1_Camera_MetTower.jpg differ diff --git a/scenes/preview/S1_Cam_Aerial_SW.jpg b/scenes/preview/S1_Cam_Aerial_SW.jpg index 2119248..0fc1f73 100644 Binary files a/scenes/preview/S1_Cam_Aerial_SW.jpg and b/scenes/preview/S1_Cam_Aerial_SW.jpg differ diff --git a/scenes/preview/S1_Cam_ECOR_Corn.jpg b/scenes/preview/S1_Cam_ECOR_Corn.jpg index 795e11b..036712e 100644 Binary files a/scenes/preview/S1_Cam_ECOR_Corn.jpg and b/scenes/preview/S1_Cam_ECOR_Corn.jpg differ diff --git a/scenes/preview/S1_Cam_Flowers.jpg b/scenes/preview/S1_Cam_Flowers.jpg index 09ab39b..9be0f0b 100644 Binary files a/scenes/preview/S1_Cam_Flowers.jpg and b/scenes/preview/S1_Cam_Flowers.jpg differ diff --git a/scenes/preview/S1_Cam_Louisa_FromP3.jpg b/scenes/preview/S1_Cam_Louisa_FromP3.jpg index d339d77..3c6715d 100644 Binary files a/scenes/preview/S1_Cam_Louisa_FromP3.jpg and b/scenes/preview/S1_Cam_Louisa_FromP3.jpg differ diff --git a/scenes/preview/S1_Cam_P3_Span.jpg b/scenes/preview/S1_Cam_P3_Span.jpg index df40d92..739f836 100644 Binary files a/scenes/preview/S1_Cam_P3_Span.jpg and b/scenes/preview/S1_Cam_P3_Span.jpg differ diff --git a/scenes/preview/test_instrument_lineup_Cam_Lineup.jpg b/scenes/preview/test_instrument_lineup_Cam_Lineup.jpg index 5001fed..f0449da 100644 Binary files a/scenes/preview/test_instrument_lineup_Cam_Lineup.jpg and b/scenes/preview/test_instrument_lineup_Cam_Lineup.jpg differ diff --git a/tools/preview_jobs/instruments.json b/tools/preview_jobs/instruments.json index 993d42f..c2526c8 100644 --- a/tools/preview_jobs/instruments.json +++ b/tools/preview_jobs/instruments.json @@ -323,6 +323,20 @@ ], "samples": 64 }, + { + "lib": "instruments/SONDE/SONDE.blend", + "coll": "INST_SONDE", + "out": "instruments/preview/SONDE_CartBalloon.jpg", + "view": "34", + "res": [ + 1024, + 768 + ], + "samples": 64, + "with": [ + "INST_SONDE_CartBalloon" + ] + }, { "lib": "instruments/STAMP/STAMP.blend", "coll": "INST_STAMP", diff --git a/tools/render_previews.py b/tools/render_previews.py index 6589e20..6a4f395 100644 --- a/tools/render_previews.py +++ b/tools/render_previews.py @@ -1,6 +1,6 @@ """Studio preview renders of library assets. blender -b --factory-startup --python tools/render_previews.py -- jobs.json -Each job: {"lib": "instruments/AERI/AERI.blend", "coll": "INST_AERI", "out": "instruments/preview/AERI.jpg", +Each job: {"lib": "instruments/AERI/AERI.blend", "coll": "INST_AERI", "out": "instruments/preview/AERI.jpg", ["with": [extra colls],] "view": "34" | "aerial" | "lineup" | "cloud", "samples": 64, "res": [1280, 960]} The world (sky) and sun are linked from scenes/M1/M1.blend so previews match the scenes. """ @@ -125,6 +125,9 @@ def frame(lo, hi, view, res, j_tight=0.72, zfrac=0.5): else: e = bpy.data.objects.new('PV_' + j['coll'], None); e.instance_type = 'COLLECTION'; e.instance_collection = coll sc.collection.objects.link(e); empties.append(e) + for xn in j.get('with', []): # companion collections instanced at the same transform (e.g. SONDE + CartBalloon) + xe = bpy.data.objects.new('PV_' + xn, None); xe.instance_type = 'COLLECTION'; xe.instance_collection = link_coll(j['lib'], xn) + sc.collection.objects.link(xe); empties.append(xe) bpy.context.view_layer.update() lo, hi, n = bounds(empties, j.get('trim', 0.0)) if n == 0: