What Is Swarm in v-Ray SketchUp?

Swarm is a powerful feature in v-Ray for SketchUp that allows users to harness the computing power of multiple machines to speed up rendering times. It is a distributed rendering system that takes advantage of networked computers to divide the rendering workload, significantly reducing the time it takes to produce high-quality renders.

How Does Swarm Work?

Swarm works by breaking down the scene into smaller tiles and distributing them across the connected machines. Each machine then renders its assigned tile using its own CPU or GPU power. Once all the tiles have been rendered, they are combined to create the final image.

This distributed rendering approach allows for parallel processing, which means that each machine is working on its assigned tile simultaneously. The combined computing power of multiple machines working together results in a much faster rendering process compared to using a single machine.

Setting Up Swarm

To use Swarm, you need a network of computers connected together and running the v-Ray Standalone application. Each machine must have access to the same assets and files used in your SketchUp scene.

You can start setting up Swarm by launching the v-Ray Standalone application on each machine you want to include in your render farm. Once launched, go to the “Swarm” tab and enable Swarm mode. You will also need to specify a unique Swarm port for each machine so they can communicate with each other.

Adding Machines

In SketchUp, open the v-Ray Asset Editor by clicking on the v-Ray toolbar icon. In the Asset Editor window, navigate to “Settings” > “Render Settings” > “V-Ray Distributed Rendering”. Here, you can add machines manually by specifying their IP address and port number or use auto-discovery if all machines are on the same network.

Tile Size and Bucket Rendering

When using Swarm, it is important to consider the tile size and bucket rendering settings. The tile size determines the size of each tile that is distributed across the machines for rendering. Smaller tiles may be more efficient for distributed rendering, especially if some machines in your network have different computing capabilities.

Bucket rendering refers to dividing each tile into smaller buckets that are rendered independently on each machine. This allows for even better load balancing and can further speed up the rendering process.

Advantages of Swarm

The main advantage of using Swarm is the significant reduction in render times. By distributing the workload across multiple machines, you can tap into their combined processing power and complete renders much faster than with a single machine.

Swarm also improves scalability, as you can easily add or remove machines from your render farm depending on your needs. This flexibility allows you to adapt to different project requirements or leverage additional resources when available.

Conclusion

In summary, Swarm is a powerful distributed rendering system in v-Ray for SketchUp that allows users to harness the computing power of multiple machines. By dividing the scene into smaller tiles and distributing them across the networked machines, Swarm significantly reduces render times and improves scalability. With its easy setup process and benefits in terms of speed and flexibility, Swarm is a valuable tool for any SketchUp user looking to optimize their rendering workflow.