Rayrai Example: Instancing Grid
Overview
Renders a large grid of instanced boxes to demonstrate instancing performance and per-instance weighting.
Screenshot
Binary
Installed executable: rayrai_instancing_grid.
Run
Run the installed executable:
<raisim-install>/bin/rayrai_instancing_grid
On Windows, run rayrai_instancing_grid.exe instead.
This example uses the in-process rayrai renderer (no external client required).
Details
Creates a 300x300 grid of instanced boxes with per-instance color weights.
Animates one instance to demonstrate dynamic updates.
Uses
InstancedVisualsfor efficient bulk rendering.