Editing Distributed Rendering

From BRL-CAD

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
[[category:tutorials]]
+
=Distributed Rendering=
==Distributed Rendering==
 
  
 
In order to create a distributed render across many machines using BRL-CAD, one first needs a 'host' that will serve as the rally point to where all rendering machines will go to get information needed for the render.
 
In order to create a distributed render across many machines using BRL-CAD, one first needs a 'host' that will serve as the rally point to where all rendering machines will go to get information needed for the render.
Line 37: Line 36:
 
Currently, remrt needs many extra values given to it in order for it to work correctly. This line is an example of the actual information needed in order for a proper server to be set up:
 
Currently, remrt needs many extra values given to it in order for it to work correctly. This line is an example of the actual information needed in order for a proper server to be set up:
  
  $ remrt -M -s4096 -p65 -o Output.pix shape.g object.c 2>> Log.log <<EOF
+
  $ remrt -s4096 -p65 -o Output.pix shape.g object.c  
> viewsize 1.298471982398
 
> orientation 1.1238190283 2.39028130938 3.0129381098309 4.120938019823
 
> eye_pt 2.192310238018 3.120398109283098 4.108312083108
 
> start 0; clean;
 
> end;
 
> EOF
 
  
And the rtsrv has to be run like this:
+
And important thing to remember is the .remtrc file, which holds information on which rendering computers do what and when.
$ rtsrv -d Server 4446
 
And that will connect your current computer to the server to start rendering the picture.
 
 
 
One important thing to remember is the .remtrc file, placed on the server, which holds information on which rendering computers do what and when.
 
  
 
.remtrc
 
.remtrc
  
  host computer1.brlcad.org always cd /tmp
+
  host computer1 always cd /tmp
  host computer2.brlcad.org always cd /geometry
+
  host computer2 always cd /geometry
  host busyserver.brlcad.org night cd /tmp
+
  host busyserver night cd /tmp
  
 
This shows 3 computers that will be used in the render, computer1 and computer2 will render 'always' in their respective directories where the geometry is, and busyserver will only render at 'night' (6pm - 8am), keeping busyserver  from becoming even more busy during normal working hours.
 
This shows 3 computers that will be used in the render, computer1 and computer2 will render 'always' in their respective directories where the geometry is, and busyserver will only render at 'night' (6pm - 8am), keeping busyserver  from becoming even more busy during normal working hours.

Please note that all contributions to BRL-CAD may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see BRL-CAD:Copyrights for details). Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)