Three.js机械黄铜莲花结构

Emily

Gemini 4 Argon High/ Antigravity The images are visual references. The Three.js build must enforce exactly 36 petals; the illustrations are not verified mechanical drawings. Storyboard FrameTime Camera and actionThree.js direction 010–1.2 sLocked three-quarter view. The brass lotus is closed, with a faint amber glow between the petals.Start the shaft rotating. The first follower begins to rise at 0.9 s. 021.2–2.3 sLow macro view of the stacked cam and a follower https://t.co/X8joWkpp5h the cam profile pushing the rod outward. Keep the mechanism clearly visible. 032.3–5.2 sMedium three-quarter view. The first petals hinge outward; light appears through the gaps.Offset each petal’s opening according to its spiral index. 045.2–8.4 sElevated near-overhead view. The remaining petals unfold across the golden-angle arrangement.All 36 petals reach their open positions by 8.4 s. 058.4–10.8 sHold on the fully opened flower. The filament core is visible.Hold the petal positions. Let warm light, reflections and restrained bloom establish the final shape. 0610.8–15 sReturn to the opening camera. The petals fold inward, and the glow becomes occluded.Close in reverse index order. All petals are closed by 14.7 s; match frame 01 at the loop point. Three.js build Scene and scale. Use Y as the vertical axis and treat one Three.js unit as one metre. The following are starting dimensions for the digital model: ComponentStarting specification Petals36 instances; approximately 0.22 m long before per-instance scaling Petal hingesSpread between approximately 0.05 m and 0.13 m from the centre Cam assemblyOne rotating shaft carrying 36 individually shaped, stacked tracks Cam tracksApproximately 1.6 mm thick, on a 2 mm vertical pitch Follower travelApproximately 10 mm outward from the resting position BaseDark hinoki pedestal, approximately 0.4–0.5 m across CameraPerspective camera; about 35° vertical field of view for the main shot Petal geometry. Build one curved bicubic Bézier patch with ParametricGeometry, place its hinge at the local origin, and instance it 36 times with InstancedMesh. In the example below, local +Y runs from the hinge toward the tip, and local +Z points outward from the flower. Start with a 24 × 32 subdivision patch. For macro shots, add a thin underside and stitched edges to the shared geometry so the petals have visible thickness. Use the same brass material for all instances; vary their scale and transform per instance. ParametricGeometry is an add-on, and InstancedMesh supports shared geometry with separate transforms. Spiral placement. For petal index i, from 0 to 35: \theta_i = i\pi(3-\sqrt{5}) \approx i \times 137.5078^\circ Increase the hinge radius gradually with \sqrt{(i+0.5)/36}. This creates a sunflower-like distribution instead of 36 evenly spaced spokes. Cam and followers. The golden angle determines placement, but it does not independently determine the order in which petals open. For the staggered motion shown, use one cam assembly with 36 stacked profiles, each acting on its own spring-loaded radial follower. Connect each follower to its petal hinge with a small lever or linkage. The code below exposes a camRadius() function for generating those profiles. It also drives each petal and reports the matching follower position. The hinge motion is a visual kinematic approximation; a finished mechanism needs its linkage dimensions solved and collision-checked. Materials and light. * Brass: MeshStandardMaterial, metalness: 0.95, roughness: 0.3–0.4; use an environment map so the metal has reflections. * Hinoki base: dark brown wood texture, metalness: 0, roughness: 0.5–0.7. * Core: warm amber emissive filament and one warm point light. Keep the core luminous throughout; as the petals open, they reveal more of it. * Post-processing: RenderPass → UnrealBloomPass → OutputPass. Start with bloom strength around 0.5, radius 0.35, and threshold 0.85, then tune against the actual render. Enable tone mapping on th…
查看原帖