Справка Houdini на русском Rendering

Rendering on cloud computers

This help page is for informational purposes only.
The Amazon Cloud render service is unavailable indefinitely for Houdini . due to reasons outside of SideFX’s control.

You can render scenes on an on-demand render farm running on top of the Amazon EC2 compute service.

On this page

Overview

Traditionally, studios have build and maintained render farms to handle the peak render times at the height of production. For many studios, setting up enough computers to handle peak loads means that many computers on the farm sit idle much of the time.

For individuals and students, setting up a render is an ever bigger challenge. Besides the expense of dedicating multiple computers, maintaining the farm takes time away from doing the actual work.

Rendering using an internet compute utility such as Amazon EC2 lets you expand your render infrastructure on demand, without having to purchase, rack, power, cool, upgrade, and manage a farm of new computers. You only pay for the compute power you need as you need it.

This allows studios to use a small local farm for day-to-day rendering, and augment it with cloud rendering the height of production. It allows individuals access to the speed of a render farm that would otherwise be out of reach.

You can submit render jobs to Amazon’s EC2 compute service easily from within Houdini using the Cloud Properties window and the HQueue Render node.

Set up

Note

You do not need to install Houdini’s HQueue render farm management software to render on the cloud.

You only need to set up your Amazon account information once.

  1. Choose Render ▸ Cloud properties .

    This shows a step-by-step interface for getting and entering up your account information.

  2. Click Sign up. Houdini will open the Amazon Web Services sign up page in your default web browser.

    If you already have an Amazon account (for example to buy books), you can use it to sign in. There is no sign-up fee, you only pay for actual usage.

  3. Once you've registered for Amazon Web Services, you need to sign up for Amazon EC2.

    Specifically, you will sign up for Houdini Cloud Computing tools, which have different prices than the general computing fees listed by Amazon. The Houdini Cloud Computing prices include Amazon’s usage costs and Houdini’s licensing fees.

  4. Once you've signed up, enter the Access key ID and Secret access key in the Cloud Properties window.

    These are available from Amazon’s Web Services security credentials page. Click Retrieve from Amazon to open the page in your default web browser.

  5. Enter a Passphrase. This is used to encrypt the secret keys and protect access to your Amazon account through Houdini.

  6. Enter an email address if you want email updates on the status of your render jobs.

Rendering on cloud

  1. Create the scene you want to render: set up lights, a camera, and a Mantra render node.

    Make sure all paths to external resources (such as textures) are specified relative to the scene file using $HIP. For example, $HIP/textures/wood.rat. Houdini automatically uploads all referenced files to the internet for you.

    You can also use $JOB to refer to an overall project directory. First set the location of $JOB using Edit ▸ Aliases and Variables.

  2. In the network editor, go to the Outputs level (/out) and create an HQueue Render node.

  3. In parameter editor, on the General tab, set the Output driver to the Mantra render node you want to use to render the scene on the cloud. You can drag your render node from the network editor onto the Output driver parameter to set this quickly.

    The cloud servers currently supports the Mantra, Geometry, and Composite render nodes.

    If the render node you specify is part of a dependency graph, the dependencies will run as normal on the cloud.

  4. Below the Output driver parameter, click the Cloud tab.

  5. Choose the Machine type (this controls the speed, RAM, and disk space of the computers used to render) and the number of computers to use on the cloud.

    The parameter interface shows the hourly rate for your selected computer type and number.

  6. Click Render.

    Houdini will display a File Dependencies pre-flight interface to check for missing or absolute references. You should double-check any references that appear in red. Some absolute references can be converted to relative references through this interface.

    Click OK in the File Dependencies window to proceed once you've check the references.

  7. A dialog appears confirming that you want to start up the servers on the Amazon EC2 cloud, submit your project, and have your account charged. Click OK to submit the job to the cloud.

  8. Houdini opens a web page in your default browser displaying the current status of the job. Amazon allows itself up to ten minutes to start up new cloud servers. Once the server is available, the page will display progress bars for uploading and rendering.

    See the section on instance usage below for important information about monitoring your jobs.

  9. When the render is finished, Houdini will download the output file(s) to the location(s) specified in the scene file (for example, $HIP/pics/frame0001.pic). You do not need to manually download files from the cloud server.

Important

The HQueue cloud tools are designed to automatically send render jobs from your computer to the Amazon cloud. While our system is designed to shut down the computers at the end of a session if the computer is idle, once the computers are started it is your responsibility to make sure the computers are shut down when you are finished. If some stray process is still active then you may end up being responsible for time you are not using.

It is therefore very important to check the Amazon Web Services (AWS) Management Console to make sure the cloud computers shut down properly. You can also shut them down early using the AWS Management Console if you are sure that you are not using it any more.

As a safeguard, don�t forget to set up email notifications when you have computers running in the cloud. When enabled, this option will send you an email approximately once an hour from each machine running in the cloud. Turning on email notifications is highly recommended to detect when you are still being billed for cloud usage.

Instance usage

  • All data is encrypted and sent directly to and from Amazon EC2 (not through Side Effects Software). Amazon EC2 instances are isolated from each other so other EC2 users cannot see your data. Only your IP address can connect to your Amazon EC2 servers, and the server will only allow ssh and HQueue connections from that IP address.

  • Render time is charged per hour.

  • The HQueue Render node displays the rate for your selected instance type in the parameter editor on the General ▸ Cloud tab. The hourly fees are made up of Amazon’s usage costs and Houdini’s licensing fees.

  • Server instances will stay active in full hour blocks (that is, if your render takes less than an hour, the server will stay active for the remainder of the hour). If you submit another job with the same machine specifications, Houdini will re-use existing inactive servers.

  • If you submit multiple jobs, the server software will queue them . The next job will start uploading and rendering as soon as the current job ends.

  • Unused instances should automatically shut down at the end of the hour. However, you are responsible for monitoring your instances to make sure a stray process does not prevent them from shutting down properly.

  • Amazon limits each customer to a maximum of 20 active instances at a time. You can contact Amazon to request more instances.

  • Your credit card is billed by Amazon, not Side Effect Software.

  • You can log into Amazon’s Web Services portal to see your usage information and outstanding balance.

  • You can use Amazon EC2 Reserved Instances to render, but you will be charged the standard Houdini cloud rates. Your one-time reserved instance payment to Amazon does not include the cost of running the Houdini instance.

Tips and notes

  • Files that have not changed between renders to the same instances do not need to be re-uploaded.

  • Houdini Apprentice and Houdini Indie can both render on the cloud, with the same restrictions as rendering locally.

  • The cloud computers are always loaded with the current production build of recent version of Houdini. We recommend you use the current production build rather than daily builds to set up and submit render jobs to the cloud.

    The current designated production build is at sidefx.com/download.

  • In your scenes, make sure all paths to external resources (such as textures) are specified relative to the scene file using $HIP or $JOB. For example, $HIP/textures/wood.rat.

  • Render dependencies, including Houdini compositing networks, will work on the cloud.

  • If you cache geometry to disk, you need to consider whether you want to drive creation of the geometry caches during rendering (using a Geometry render node in a render dependency network), or generate the caches locally and reference them (causing them to be uploaded by the HQueue Render node.

    If geometry caches are slow to generate, you may want to do them locally so you don’t spend cloud time on them. However, if the geometry caches are very large, you need to consider the cost of uploading (or downloading) them from the internet.

  • For dynamic simulations such as fluids, rigid bodies and wires, you can export a simulation file using a DOP render node referenced from the HQueue Render node.

    This creates .sim files you can use to drive simulations in your scene file at render time. These .sim files can be quite large. Alternatively you can re-simulate the scene every time you render without caching out .sim files, but that will slow down your renders. We generally recommend generating geometry caches from rigid body and particle fluid simulations (because those files are typically smaller).

  • To ssh to a cloud machine:

    • Get the cloud server machine name from the "Public DNS" field in the Amazon Web Console.

    • Tell ssh to use the key pair from $HOME/houdiniX.Y/aws/username-ssh-key.rsa ($HOME/Library/Preferences/Houdini/X.Y/aws/username-ssh-key.rsa on the Mac).

    ssh -i $HOME/houdiniX.Y/aws/username-ssh-key.rsa root@address

  • Currently we do not support loading or saving to/from Amazon S3 storage service.

  • If you encounter a problem with rendering on the cloud, include the contents of the $TEMP/cloudsubmit.log file when you submit a support ticket to Side Effects Software.

Rendering

Mantra user guide

Basics

Lighting

Next steps

Guru-level

Other renderers