Three js
Prompt
1. Scene Architecture, Coordinate System & Camera Setup To construct this stylized 3D diorama accurately without visual reference, anchor all geometry to a strict right-handed world coordinate system measured in normalized scene units: Origin & Axes: The center of the island's flat top grass plane is (0, 0, 0). +X points right, -X points left, +Y points straight up, -Y points straight down, +Z points toward the viewer, and -Z points away from the viewer. Overall Scale: The circular island cap has an outer radius of 5.0 units. The entire island assembly spans roughly 10.0 units wide and 9.5 units tall (from mountain peaks at Y = +3.6 down to the rocky tip at Y = -5.8). Camera Configuration: Type: Perspective camera with a narrow, telephoto-style field of view of 35Β° to flatten perspective distortion and achieve a miniature tabletop/isometric feel. Position & Target: Place the camera at (0.0, 7.2, 17.5) looking directly at (0.0, -0.6, 0.0). This creates an elevated downward viewing angle of approximately 24Β°. Aspect Ratio Framing: At 16:9, the island occupies the central third of the frame horizontally, leaving generous breathing room on the left and right flanks for the five cloud clusters. Sky Backdrop: Render a full-screen background plane or sky dome unaffected by scene lighting, shaded with a smooth linear diagonal gradient transitioning from soft periwinkle blue (#8FB5E3) on the far left to pale powder blue (#C8DCF0) on the far right. 2. Visual Style, Material System & Color Palette Every mesh in the scene shares a cohesive soft matte clay / vinyl toy aesthetic. Avoid sharp 90-degree edges, metallic reflections, or high-frequency photorealistic grain. Shared Material Properties: Use a physically-based standard material across all assets with metalness set to 0.0, high diffuse roughness (0.60 to 0.85), and soft normal/bump modulation. Apply ACES Filmic tone mapping and sRGB output encoding so pastel hues remain luminous without blowing out in highlights. Asset Component Primary Hex Color Secondary / Shadow Hex Roughness Surface Finish & Texture Behavior Sky Gradient #8FB5E3 (Left) #C8DCF0 (Right) N/A Unlit smooth linear horizontal-diagonal gradient Grass Cap #9AD38B #7DB86E 0.68 Smooth pastel clay with subtle velvet-like diffuse falloff Moss Pebbles #75B366 #5E9950 0.65 Smooth matte clay Rocky Underbelly #D69F8E #BA7F6E 0.78 Marbled terracotta clay with soft cloudy color and bump mottling Floating Pebbles #CE9483 #B07666 0.75 Matches rocky underbelly terracotta tone Mountain Base #6FA4B6 #538596 0.72 Smooth matte slate-teal clay Mountain Snow #F2F4F8 #D6DFEC 0.62 Soft off-white clay with cool lavender-blue shadow tint River & Waterfall #B2CAE0 #93B0CC 0.45 Satin-matte ice blue with subtle longitudinal flow ripples Pine Tree Foliage #8ECA7D #6FA860 0.66 Soft pastel leaf green Pine Tree Trunks #8C6854 #6E4F3E 0.82 Matte warm brown (mostly hidden beneath lower foliage) Cloud Clusters #F5F2F1 #DDD6DC 0.80 Soft creamy white matte clay picking up warm peach/blue bounce 3. Procedural Texture Specifications Generate three lightweight offscreen 2D canvas textures (512x512 pixels) at startup to give the surfaces organic tactile depth without external image files: Marbled Terracotta Map (Albedo + Bump for Rock Underbelly): Fill a canvas with base #D69F8E, then layer multi-octave soft blurred noise blotches (fractional Brownian motion or overlapping radial gradients at low opacity) in #E3B4A4 and #B87D6D. Generate a matching grayscale height map from the same blotches to drive a subtle bump map (bumpScale: 0.04), giving the rock faces an organic sculpted clay feel. Longitudinal Water Ripple Map (Bump + Subtle Albedo for River/Waterfall): Generate parallel, gently wavy vertical streaks along the V-axis using alternating light (#C5DAED) and mid-tone (#9EBAD4) sinusoidal stripes perturbed by low-frequency noise. Map the UVs along the length of the river spline so the lines flow continuously from the mountain spring down the waterfall tip. Micro-Clay Grain Normal/Bump Map (Shared Subtle Detail): A high-frequency, very low-contrast Gaussian noise texture applied at high UV tiling (8x8) with minimal bump intensity (0.008) to break up sterile digital smoothness across the grass, mountains, and clouds. 4. Detailed 3D Asset Specifications 4.1. Grass Island Cap & Moss Pebbles Grass Cap Geometry: Construct a thick, plush disc centered at (0, -0.45, 0) with an outer radius of 5.0 units and a total height of 1.1 units (top flat face at Y = +0.10, bottom face at Y = -1.0). Profile: Use a lathe geometry with a generous rounded fillet (radius: 0.55 units) along both the top outer rim and bottom outer rim so the grass looks like a thick, soft cushion overhanging the rock below. Top Surface: Keep the central plateau (radius < 4.45) flat at Y = +0.10 so trees, mountains, and the river sit cleanly without floating gaps. Moss Pebbles: Place 6 small flattened hemispheres (radius: 0.14 to 0.22, vertical scale 0.65) embedded at Y = +0.08 near the tree basesβspecifically 4 around the left tree cluster and 2 around the front-center tree cluster. 4.2. Rocky Underbelly & Floating Debris Main Rock Mass: Build a compound assembly of 4 large, overlapping, faceted-yet-rounded rock chunks tucked beneath the grass cap (Y = -0.7 down to Y = -5.5), tapering inward toward the bottom like an inverted rounded cone: Core Inverted Cone: Start with a subdivided icosahedron or cylinder (top radius: 4.3, bottom radius: 0.6, height: 4.8), displace vertices outward/inward using low-frequency 3D noise to form broad angular planes, then apply vertex smoothing/subdivision so every ridge is softly beveled like molded clay. Protruding Facet Chunks: Merge 3 distinct sculptural rock lobes onto the front-left, front-center, and right sides of the core mass. The front-center lobe (position: (0.4, -2.5, 2.2)) should have a prominent, smooth flat-topped step angled toward the viewer, with a rounded triangular tip pointing down toward Y = -4.6. Floating Pebbles: Place 6 small, rounded octahedral/diamond-shaped pebbles (radius: 0.18 to 0.38, stretched 1.3x vertically, smoothed edges) hovering independently around the lower-left and bottom tip of the rock mass: Pebble 1: (-4.2, -1.6, 1.4) Pebble 2: (-3.8, -2.8, 1.8) Pebble 3: (-2.5, -3.9, 2.1) Pebble 4: (-2.7, -4.8, 1.9) Pebble 5: (-1.0, -5.6, 1.6) (lowest pebble near the tip) Pebble 6: (1.8, -4.4, 1.8) (lower-right flank) 4.3. Mountain Trio & Scalloped Snow Caps Position a tight cluster of 3 overlapping dome-topped cones in the back-right quadrant of the grass cap, intersecting slightly into one another: Mountain Dimensions & Coordinates: Back-Center Peak (Tallest): Base at (0.55, 0.05, -2.15), base radius 1.65, height 3.55 (apex at Y = 3.60). Far-Right Peak (Medium-Tall): Base at (2.35, 0.05, -1.15), base radius 1.55, height 3.15 (apex at Y = 3.20). Front-Right Peak (Medium-Short): Base at (1.35, 0.05, 0.35), base radius 1.50, height 2.65 (apex at Y = 2.70). Cone Profile: Construct via lathe geometry rather than a standard sharp cone. Taper smoothly from the base radius up to 75% height, then round the top 25% into a wide, smooth hemispherical dome (tip radius ~0.45). Scalloped Snow Caps: For each mountain, create a slightly inflated duplicate shell (1.015x radial scale) covering the upper 38% of the peak's height. Modulate the bottom boundary edge of the snow shell using a 6-lobe sine wave around the circumference (amplitude: 0.18 units) to create smooth, dripping scallops. Give the bottom edge of the snow a subtle rounded thickness (0.04 units) so it casts a micro-shadow onto the teal rock beneath. 4.4. Meandering River & Floating Waterfall Path Geometry: Define a continuous 3D cubic Catmull-Rom spline with 8 control points starting on the grass surface, curving across the front-left quadrant, bending smoothly over the rounded grass lip, and dropping vertically into thin air: Source (tucked against front-left base of Back-Center Mountain): (-0.35, 0.11, -1.35) Upper bend: (-1.10, 0.11, -0.35) Mid-island S-curve: (-2.25, 0.11, 0.65) Approach to rim: (-3.15, 0.11, 1.85) Top of rounded grass edge: (-3.55, 0.05, 2.45) Outer vertical crest of grass edge: (-3.82, -0.45, 2.68) Mid-waterfall drop: (-3.82, -3.10, 2.68) Floating waterfall bottom end: (-3.82, -5.65, 2.68) Cross-Section & Caps: Extrude a wide, flat rectangular cross-section (width: 1.05 units, thickness: 0.12 units) with semicircular rounded side edges along the spline. Close the bottom end at Y = -5.65 with a smooth semicircular rounded spatula cap so it terminates cleanly mid-air. 4.5. Stylized Multi-Tiered Pine Trees Build a reusable procedural pine tree generator and instantiate 8 trees across two clusters flanking the river: Single Tree Anatomy: Trunk: Short vertical cylinder (radius: 0.12, height: 0.30) anchored at Y = 0.08. Foliage Tiers: 3 vertically stacked, overlapping soft-domed cones (lathe profiles with rounded tips and softly rolled bottom skirts): Bottom tier: radius: 0.52, height: 0.65, base at Y = 0.22. Middle tier: radius: 0.41, height: 0.58, base at Y = 0.62. Top tier: radius: 0.29, height: 0.52, base at Y = 0.98. Cluster A β Left Bank (5 Trees, West/Northwest of River): Back-most tree: (-1.35, 0.10, -2.35), scale 1.05 Upper-left outer tree: (-3.15, 0.10, -1.55), scale 0.95 Mid-left inner tree: (-1.55, 0.10, -1.25), scale 0.92 Front-left outer tree: (-2.85, 0.10, -0.35), scale 1.08 Mid-bank tree near river bend: (-2.05, 0.10, -0.25), scale 0.85 Cluster B β Front-Center Bank (3 Trees, Between River & Front Mountain): 6. Left-most of trio: (-1.15, 0.10, 1.55), scale 0.96 7. Back-most of trio: (-0.75, 0.10, 0.85), scale 0.88 8. Right-most of trio: (-0.20, 0.10, 1.35), scale 0.92 4.6. Pillowy Cloud Clusters Construct 5 organic cloud clusters distributed around the island at varying Z-depths. Each cloud is a group of 7 to 12 overlapping smooth spheres (24x24 segments) with radii ranging from 0.55 to 1.45, clustered tightly so their silhouettes fuse into bulbous, billowing puffs without hard creases: Cloud 1 (Upper-Left Elongated Diagonal Trail): Centered around (-9.2, 4.1, -2.5). Compose using 11 overlapping spheres arranged along a diagonal vector from (-11.2, 3.6, -2.8) up-right to (-7.4, 4.8, -2.0), with larger spheres (radius: 1.35) in the upper-right head and smaller puffs (radius: 0.65β0.90) trailing down-left. Cloud 2 (Lower-Left Compact Cluster): Centered around (-8.8, -1.2, 1.2). Compose using 8 overlapping spheres (radius: 0.75 to 1.30) tightly packed into an irregular triangular puff to the left of the waterfall. Cloud 3 (Upper-Right Compact Cluster): Centered around (9.1, 3.8, -1.8). Compose using 8 spheres (radius: 0.70 to 1.35) tapering gently from a larger left core toward a smaller right tail. Cloud 4 (Lower-Right Back Cluster): Centered around (10.0, -1.4, -1.2). Compose using 7 medium spheres (radius: 0.70 to 1.15) angled slightly upward to the right. Cloud 5 (Lower-Right Front Overlapping Cluster): Centered around (7.7, -2.1, 1.6). Compose using 8 spheres (radius: 0.65 to 1.20) positioned slightly lower and forward of Cloud 4 so the two clusters overlap visually in screen space. 5. Lighting Rig, Shadows & Atmospheric Polish To replicate the soft global-illumination studio look without expensive raytracing: Key Light (Warm Soft Sun): Directional light positioned at (-10.0, 14.0, 11.0) pointing toward (0, 0, 0). Color: #FFF8EE (warm cream white), intensity 1.85. Casts soft shadows (PCFSoftShadowMap, shadow map resolution 2048x2048, shadow radius 4.5, tight frustum bounds [-8, 8] around the island) so trees cast soft diagonal shadows across the grass and mountains cast gentle shading onto their right flanks. Hemisphere Light (Sky & Warm Bounce Fill): Sky color: #CBE1FA (cool sky blue); Ground bounce color: #EBC4B5 (warm peach-terracotta). Intensity: 1.15. This naturally tints the undersides of all white clouds and rock overhangs with the warm peach-lavender glow visible in the target aesthetic. Rim / Back Fill Light: Directional light positioned at (11.0, 9.0, -10.0) with color #D6E8FF and intensity 0.65 to carve clean bright highlights along the right-hand edges of the snow caps and clouds. Subtle Post-Processing (Optional Enhancement): Apply a light Screen-Space Ambient Occlusion (SSAO) pass with a small radius (0.4 units) and low intensity (0.35) to darken the contact creases where tree tiers overlap, where mountains meet the grass, and between cloud spheres. 6. Subtle Motion & Camera Interactivity Plan Bring the static diorama to life while preserving its tranquil miniature aesthetic: Island Levitation: Animate the entire island parent group (grass, rocks, mountains, river, trees) on a slow vertical sine wave (amplitude: 0.18 units, period: 5.5 seconds) paired with a micro-tilt (Β±0.6Β° roll/pitch). Independent Pebble Bobbing: Animate each of the 6 floating rock pebbles with individual phase-offset vertical sine waves (amplitude: 0.12 units, period: 3.5 to 4.8 seconds) so they appear suspended in gentle anti-gravity. Cloud Drift: Apply independent, ultra-slow vertical bobbing (amplitude: 0.15 units) and subtle horizontal oscillation (Β±0.25 units) to each of the 5 cloud groups at staggered frequencies. Flowing Water: Increment the V-offset of the river and waterfall bump/albedo textures continuously (speed: 0.35 UV units/second) so water visibly cascades over the edge and down the waterfall. User Controls: Attach damped OrbitControls centered on (0, -0.5, 0) with polar angle clamping (15Β° to 85Β° from zenith) and zoom limits (distance: 11 to 26 units) so users can inspect the diorama from any angle without breaking the sky backdrop framing. 7. Phased Implementation Roadmap Phase 1 β Scene Foundation & Sky: Initialize the renderer with ACES Filmic tone mapping, soft shadow maps, 35Β° camera, damped orbit controls, and the unlit diagonal sky gradient backdrop. Phase 2 β Island Core & Rock Underbelly: Build the filleted grass cushion cap, generate the marbled terracotta procedural texture, sculpt and smooth the compound rocky underbelly, and place the 6 floating pebbles. Phase 3 β Hero Landmarks (Mountains & River): Construct the 3 dome-topped mountains with wavy scalloped snow shells in the back-right quadrant; extrude the rounded S-curve river and vertical floating waterfall along the front-left rim with animated UV flow. Phase 4 β Foliage & Cloud Framing: Instantiate the 8 three-tiered pastel pine trees across the left and front-center banks, scatter the 6 moss pebbles, and assemble the 5 multi-sphere cloud clusters around the perimeter. Phase 5 β Studio Lighting & Motion Polish: Dial in the three-light studio rig (warm key, sky/peach hemisphere bounce, cool rim), tune shadow softness and SSAO contact creases, and wire up the phased sine-wave levitation loop.
A system prompt was added to support web rendering
Response not available
Response not available