Overview
See your Gridfinity layout in photorealistic 3D with PBR materials, realistic lighting, and interactive camera controls. The preview updates automatically as you edit bins in the 2D grid or configurator.Render Modes
Switch between three distinct rendering styles:Standard (Solid)
Photorealistic PBR plastic material:
- Full lighting and shadows
- Clearcoat finish (0.3)
- Roughness: 0.45, Metalness: 0.05
- Cast and receive shadows
X-Ray (Technical)
Transparent with edge highlights:
- 20% opacity for interior inspection
- Accent-colored edges (
#00d4aa) - No shadows (flat lighting)
- Ideal for checking dividers and lip
Blueprint
Flat white with dark outlines:
- Pure white surfaces (
#f0f0f0) - Dark edges (
#222222) - Light gray background
- Technical drawing aesthetic
Camera Controls
OrbitControls
Interactive camera with smooth damping:- Left click + drag: Rotate camera around target
- Right click + drag: Pan camera horizontally/vertically
- Mouse wheel: Zoom in/out
- Damping factor: 0.08 (smooth, responsive feel)
Camera Presets
One-click views with smooth animation (300ms):Isometric
3/4 perspective view:
- Default starting view
- Shows all bin features
- Perfect for presentation
Front
Straight-on elevation:
- View from baseplate front
- Check bin heights and alignment
- 30% elevation angle
Top
Bird’s-eye orthographic:
- Overhead view (1.2x distance)
- Verify grid layout
- Match 2D grid perspective
Camera presets automatically adjust distance based on your baseplate size (larger grids = farther camera).
Section View (Cutaway)
Inspect internal geometry with a clipping plane:- Cuts through bins at selected bin’s center depth
- Reveals:
- Wall and bottom thickness
- Interior divider construction
- Base profile (Z-shaped interlocking)
- Label shelf geometry
- Camera automatically positions for optimal view
- Clipping plane follows Z-axis (depth)
Interactive Selection
Double-Click to Focus
- Double-click any bin to:
- Select it (updates 2D grid selection)
- Animate camera to focus on that bin
- Position camera at 2× bin height, 45° angle
- Look at bin’s vertical center
Selection Highlighting
- Selected bins show emissive glow (cyan/teal)
- Emissive intensity: 2.0
- Color:
#004433(dark cyan) - Visible in all render modes
Lighting Setup
Three-point lighting for professional look:Light Configuration
Light Configuration
Ambient Light
- Color: White (
0xffffff) - Intensity: 0.5 (standard), 0.8 (technical), 0.95 (blueprint)
- Provides base illumination
- Position: (100, 200, 150)
- Intensity: 1.2 (standard), 0.6 (technical), 0.3 (blueprint)
- Casts shadows (PCF soft shadows)
- Shadow map: 2048×2048
- Shadow camera frustum: 600×600 units
- Color: Blue-tinted (
0x4488ff) - Position: (-100, 100, -100)
- Intensity: 0.3
- Disabled in technical and blueprint modes
Dimension Labels
Real-time 3D dimension annotations (when enabled):- Width label: Front edge center
- Depth label: Right edge center
- Height label: Top-right corner
- Labels project from 3D world to 2D screen
- Hidden when behind camera
- Accent-colored badges with mm measurements
- Updates every frame as camera moves
Dimension labels are only shown for the single selected bin. Multi-select hides labels to reduce clutter.
Baseplate Rendering
Optional translucent baseplate (toggle in toolbar):- Dimensions: Grid width × grid depth × 5mm height
- Material: Dark gray (
#333340) - 30% opacity, semi-transparent
- Receives shadows
- Centered at world origin
Scene Details
Background & Grid
- Standard/Technical: Dark navy (
#0a0a0f) + grid helper - Blueprint: Light gray (
#f0f0f0) + no grid - Grid helper: 500×500mm, 50 divisions
- Ground shadow plane for depth perception
Material Properties
Standard Mode (PBR)
Standard Mode (PBR)
Technical Mode (X-Ray)
Technical Mode (X-Ray)
Blueprint Mode
Blueprint Mode
Geometry Pipeline
Real-time CSG mesh generation:- Change detected in bin parameters
- Request sent to Web Worker with bin config
- Manifold WASM generates CSG mesh (unions, subtractions)
- Mesh transferred back to main thread
- BufferGeometry created from vertices/triangles
- Normals computed for proper lighting
- Coordinate swap: Y↔Z (Manifold → Three.js convention)
- Material applied based on render mode
- Scene updated with new geometry
Performance Features
- Web Worker: Offloads CSG computation to background thread
- Mesh caching: Identical bins reuse geometry
- Edge geometry: Pre-computed for technical/blueprint modes
- Frustum culling: Automatic (Three.js)
- Shadow maps: 2048×2048 resolution (balanced quality/speed)
- Animation loop: RequestAnimationFrame at monitor refresh rate
Stats Bar
Bottom overlay shows real-time statistics:- Baseplate dimensions (e.g., “252x252mm”)
- Grid utilization (e.g., “18/36 cells”)
- Bin count (e.g., “5 bins”)
- Monospace font (JetBrains Mono)
- Accent-colored when values > 0
Tips & Best Practices
The 3D preview is fully client-side. No server uploads—all geometry is computed in your browser using WebAssembly.
Technical Specifications
- Renderer: Three.js WebGLRenderer
- Camera: PerspectiveCamera (45° FOV)
- CSG Engine: Manifold WASM
- Shadow technique: PCFSoftShadowMap
- Tone mapping: ACES Filmic
- Anti-aliasing: MSAA (enabled)
- Pixel ratio: Device pixel ratio (Retina support)
Related Features
2D Grid Canvas
Edit bin positions and dimensions
Export 3MF
Export your 3D models for printing
