faculty:slator:onaslant_render
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| faculty:slator:onaslant_render [2017/01/15 12:47] – [Hrothgar Status Information] ghokanso | faculty:slator:onaslant_render [2017/01/15 12:52] (current) – [Where do the images go?] ghokanso | ||
|---|---|---|---|
| Line 11: | Line 11: | ||
| ===== A Rendering Walkthrough ===== | ===== A Rendering Walkthrough ===== | ||
| ---- | ---- | ||
| + | |||
| + | ==== Byobu ==== | ||
| + | First, log into Hrothgar via SSH. If you don't have an account, contact [[support@cs.ndsu.edu]]. | ||
| + | |||
| + | For this project, I've found Byobu to be a useful tool. It's essentially a front-end for GNU Screen, with a couple of nice features. | ||
| + | |||
| + | So first, type Byobu on the command line. You'll see status information near the bottom of the screen, along with a list of shells presently open. Control-a d (type Contol-a at the same time, followed by just typing d) will detach the current session. | ||
| + | |||
| + | To create a second shell with Byobu, type Control-a c. You'll now see two shells at the bottom. | ||
| + | |||
| + | ==== Copying the new files over to the 244 lab. ==== | ||
| + | |||
| + | Once logged into Hrothgar, you should navigate to / | ||
| + | |||
| + | Rendering occurs within the 21 workstations in the 244 Linux Lab. A script exists to copy the necessary Maya files over to the 244 lab. To run this script, type: | ||
| + | |||
| + | < | ||
| + | |||
| + | This' | ||
| + | |||
| + | ==== Setting up a Render Job ==== | ||
| + | |||
| + | The main script that runs render jobs is named ' | ||
| + | |||
| + | < | ||
| + | |||
| + | There' | ||
| + | |||
| + | < | ||
| + | #my $camera = " | ||
| + | #my $camera = " | ||
| + | #my $theMB = " | ||
| + | |||
| + | #my $camera = " | ||
| + | #my $theMB = " | ||
| + | |||
| + | #my $camera = " | ||
| + | #my $theMB = " | ||
| + | |||
| + | my $camera = " | ||
| + | my $theMB = " | ||
| + | |||
| + | #my $theMB = " | ||
| + | #my $camera = " | ||
| + | |||
| + | #my $theMB = " | ||
| + | #my $camera = " | ||
| + | </ | ||
| + | |||
| + | The above configuration will render the World.mb file with the camera being ' | ||
| + | |||
| + | In general, that's all you need to edit in that file. Everything below deals with updating the database and communicating with the nodes. | ||
| + | |||
| + | Now to actually render some frames, you need to specify which frames to render. | ||
| + | |||
| + | < | ||
| + | |||
| + | This will print the numbers between 500 and 1000 (inclusive) into the gap.list file. | ||
| + | |||
| + | Now, finally, let's render. | ||
| + | |||
| + | < | ||
| + | |||
| + | This will begin dispatching frames to the nodes. | ||
| + | |||
| + | < | ||
| + | |||
| + | as I was testing the scripts to make sure they work. Other examples are ' | ||
| + | |||
| + | At this point, frames will be dispatched to each node. Once a node is complete, it will request another frame. | ||
| + | |||
| + | ==== Retriving the Frames ==== | ||
| + | |||
| + | A completely seperate daemon is responsible for retrieiving the frames. | ||
| + | |||
| + | ==== Where do the images go? ==== | ||
| + | |||
| + | The images themself are dumped into /mnt/pngs under their respective job name. There are two directories, | ||
| + | |||
| + | ==== How do I make a video? ==== | ||
| + | |||
| + | Also in / | ||
| + | |||
| + | < | ||
| + | |||
| + | will make a video of the frames I rendered while writing this tutorial. | ||
faculty/slator/onaslant_render.1484484449.txt.gz · Last modified: by ghokanso
