Rendering & Visualization

Anything sitting in a ?scene can be rendered — a Blender character, a Revit building, or a SolidWorks assembly, through the same verbs, using the ?mat type from the Shared Foundation.

Golden Hour Render of a BIM Building
NEW SCENE "Render" SET ?scene
AFTER SCENE ?scene PLACE ?bim AT 0,0,0

NEW MATERIAL "Glass" SET ?glassMat
AFTER MATERIAL ?glassMat BASE COLOR "0xCFE8F0" METALLIC 0 ROUGHNESS 0.05
AFTER ?win1 ASSIGN MATERIAL ?glassMat

NEW MATERIAL "Concrete" SET ?concreteMat
AFTER MATERIAL ?concreteMat BASE COLOR "0x9A9A93" METALLIC 0 ROUGHNESS 0.85
AFTER ?wall1 ASSIGN MATERIAL ?concreteMat

AFTER SCENE ?scene SUN DIRECTION 1,-0.5,0.8 INTENSITY 1.2
AFTER SCENE ?scene SKY HDRI "cloudy_sky.hdr"
AFTER SCENE ?scene CAMERA AT 30,30,20 LOOKAT 10,5,3 FOV 60 SET ?cam
AFTER SCENE ?scene RENDER SAMPLES 2048 RESOLUTION 3840,2160 SET PROMISE ?job
AFTER WAIT FOR ?job SET ?image
Shader Nodes, Animation, Walkthrough, Panorama
MATERIAL ?mat NODE ADD "noise" CONNECT TO "base_color"
AFTER SCENE ?scene LIGHT "area" AT 5,5,10 INTENSITY 800

AFTER SCENE ?scene RENDER ANIMATION FRAMES 0 TO 120 SET PROMISE ?anim
AFTER SCENE ?scene RENDER WALKTHROUGH PATH [?p1 AND ?p2 AND ?p3] DURATION 30 SET PROMISE ?video
AFTER SCENE ?scene RENDER PANORAMA RESOLUTION "8k" SET PROMISE ?pano