Rendering
The Render workspace sets how the part looks in a picture: its appearances, the lights, the background and the camera. It can also add props and animate the part.
- The model doesn't change. The settings are saved in the document, but they aren't part of its revision.
- WebGPU only. It draws with the studio's WebGPU viewer. On WebGL2 the panel says rendering needs WebGPU, and the view stays the modelling look.
Click Render in the top bar to open it. The Render panel, in the dock, has four tabs: Appearance, Lights, Scene and Source.

Path tracing
Use Render method to select Raster or Path tracing. Path tracing requires WebGPU and creates a frozen still.
- Select Start. The panel shows Preparing still…, then the sample count.
- Select Stop to stop sampling. To use camera or scene edits, select Start again after sampling stops.
- Use Denoise still to switch noise reduction on or off for the preview and export.
- After at least one sample, select Export image to download the frozen still as a PNG.
- Session render shots are stored in the Render Shots strip, where a wipe-slider Render Compare overlay lets you compare any two renders side-by-side in place.
Camera and scene edits continue in the live view. They do not update the current still; Start creates a new session. The still includes surfaces, materials, tone mapping and colour grading. Bloom, depth of field, outlines, overlays and shadow catchers stay in the live view.
For the GPU API and its limits, see Progressive still images.
Appearance
An appearance applies to the selected bodies. With none selected, it applies to every body without its own.
- Preset: a ready look such as Aluminium, Steel or Brass, or Custom.
- Colour, Metallic, Roughness and Opacity.
- Two-sided, for open or thin shells seen from inside.
- Texture: an image multiplied into the colour.
- Repeat every sets its size in mm.
- Cut out below leaves out what is under an alpha value, for holes, leaves or grilles.
- Finish: the marks a process leaves on the surface: Cast, Sand-cast, Machined, Turned, Brushed, Knurled or Bead-blasted.
- Marks sets their size and Depth how strong they are.
- Along sets their direction, X, Y or Z, for the finishes that have one.
- Clear coat, a lacquer over the colour, and Oil film, an oil's tint on the reflections, from 0 to 1.
- Shader: one of the materials written on the Source tab.
- Use the default appearance removes a body's own.
An appearance is a look, not a material: a body's mass comes from its material, set in the modelling workspace.
Lights, environment and tone mapping
- Lights. Add sun, Add point and Add spot add lights.
- A sun has Azimuth and Elevation.
- A point or spot light has a position, and a Range over which it fades. A spot also has a Cone.
- Light positions, Range and Shadow radius use CAD mm: 1 mm is passed to the GPU scene as 1 world unit. Point and spot Intensity is scaled for the scene size, so its value is not the raw GPU intensity.
- Every light has Intensity, Colour and Shadow. Use Shadow to turn its shadow on or off.
- A point or spot light also has Shadow radius, in mm. Enter
0for the default edge or a larger value for a softer shadow. Turning Shadow off keeps the saved radius. Entering a radius does not turn Shadow on. An unset radius shows Default (0 mm). Clearing the input shows an error and does not save0; press Esc to restore the saved value. - Shadows use the first four sun lights, the first four spot lights, and at most one of the first eight point lights. Count the order separately for each kind. To move a point shadow, turn the current point's Shadow off, then turn it on for another point in that group. Intensity
0does not free that shadow slot. See GPU light and shadow limits. - If shadow validation rejects a radius or a second point shadow in that group, the panel shows an error and keeps the accepted light settings.
- Shadows. A sun shadow uses a fixed light size of about 3°: sharp at the foot of what casts it and wider and lighter farther off. Contact shadows darken the creases and the places where parts meet, which the shadow map is too coarse to show. The sun size and contact shadows have no separate controls; the modelling look is unchanged. These controls describe live raster shadows. An existing frozen still does not change. Use Start to create a new session; see Path tracing.
- Scene.
- The background's Top and Bottom colours, and the Ambient light.
- Studio lights the part: Sky and ground, Softboxes or Cyclorama. Environment takes an image instead, an equirectangular one with its top row overhead.
- Environment strength, for a studio or an image.
- Occlusion, Ground, Grid and Edges.
- Post.
- Exposure.
- Tone map: Filmic (ACES), Soft highlights (AgX) or None.
- Grade: Neutral, Warm studio or Cool daylight, with Contrast, Saturation and Vignette.
- Bloom spreads light from bright areas past their edges, as a glow. The slider controls its strength; 0 turns it off. The glow is added before tone mapping, so bright reflections can bloom while the surface stays unchanged.



Camera
- Save this view keeps the camera with the document, and Go to saved view returns to it.
- Field of view sets the lens.
Focus and blur
Under Camera, Focus distance sets a positive distance along the camera's view axis, in mm. Blur radius sets the maximum blur in CSS pixels, from 0 to 24. A value of 0 keeps the focus setting but turns the effect off. Changing these settings changes the displayed picture, not the model geometry.
Choose Pick focus on part, then click a surface to set its focus distance. A background click cancels the pick. Choose Cancel focus pick to cancel it explicitly. Focus picking requires WebGPU. On WebGL2, the focus and blur settings remain saved, while the panel explains that the effect needs WebGPU.
The saved Model field is render.environment.post.depthOfField: { focus, blur }. It requires a finite positive focus and a finite blur; the reader clamps blur to the 0–24 range. This is a display effect, not a physical camera calibration or a change to measurements.
Open the focus diagram at full size.
Props and materials
The Source tab holds two texts, both in the language of @barocss/gpu:
- PROPS · CSS SCENE: objects placed round the part, such as a plinth.
- Unit scales them.
- Apply props shows an edited source, and Example fills in a sample one.
- A source with an error is reported, and the last good one stays.
- MATERIALS · @SHADER:
@shadermaterials, each a colour expression with its uniforms. Add material starts one.

Timeline and turntable
The timeline animates the bodies:
- Time scrubs and plays; Duration sets the length.
- Turntable turns the camera round the part.
- For a selected body, Set key keeps its offset at the current time. A key can be jumped to or removed.
Time and duration use seconds; body offsets use mm. Positions interpolate linearly between keys and stay at the first or last offset outside their time range. Turntable changes the camera view. These are authored display motions, not gravity or contact solver results. Their playback does not establish physical behaviour; see Experiment evidence.

Exporting an image
With Raster selected, Export image uses the live viewport. The workflow below describes that raster export. With Path tracing selected, the same button downloads the current frozen still; see Path tracing.
Export image, the camera button on the Render panel, downloads the view as a PNG. It needs WebGPU.
The PNG records the displayed view, including its appearance and camera. Keep the editable .bcad document and any analysis results separately: an image does not carry the model history or establish manufacturing or physical validation. See Files and exports.
Pause playback and choose the view before exporting a still. Export image does not pause the timeline for you or write a document revision or animation time into PNG metadata. Keep that context separately if you need it. Turntable camera orbits are evaluated deterministically from timeline time across both continuous playback and direct scrubbing, so seeking back to a timestamp reproduces the exact same framing. The PNG export has no explicit preparation-cancel or stale-design check like the STL export.
Pixel data, PNG and the download
The GPU viewer's capture() draws a frame and returns { width, height, data }. data is a new Uint8Array of RGBA bytes, with rows from top to bottom. It is not PNG file data. Width and height use the canvas's backing pixels, which can differ from its CSS size; neither is a model distance in mm.
| Step | Result | Who writes the file? |
|---|---|---|
GPU capture() | Raw RGBA pixels, width × height × 4 bytes | No file is written |
| Studio PNG conversion | Blob with type image/png | No file is written |
| Studio Export image | Downloads <name>.png | The app requests the browser download |
For example, a 640 × 480 backing canvas returns 1,228,800 raw RGBA bytes. This is a size calculation, not a measured capture; PNG compression gives a separate file size.
If the viewport has no capture support, it returns null and the app shows Could not export an image. A rejected GPU readback or PNG conversion is a separate error, not a null image or a successful empty file. Code that calls capture() must handle a rejected promise; the Studio path does not turn every such error into that same message. The raw capture reply has no frame ID, timeline time or document revision field.