Module VRED_frontEnd :: Class VRED_ViewpointRenderJob
[hide private]
[frames] | no frames]

Class VRED_ViewpointRenderJob

source code


Render a one or more VRED Viewpoints

Instance Methods [hide private]
new empty dictionary

__init__(self, vred_exe, project_path, image_path_template, img_width, img_height, viewpoints='', render_quality='', ssf=0, alpha=False, alphaR=0, alphaB=0, alphaG=0, dpi=100, vred_args='', frame_range='', frame_padding=1, job_name='', job_label='', dev=False)
Function to initialize members of the class
source code
 
_jobSetupCmds(self) source code
list
_buildAgenda(self)
Create an agenda for the job, complete with per-frame python commands.
source code
 
_buildImageName(self, vp_name, frame_number='') source code

Inherited from VRED_PythonJob: loadVrModuleCmds

Inherited from qb.frontend.pythonFrontEnd.PythonChildJob: addJobCmds

Inherited from qb.frontend.QubeJob: setLogParser

Inherited from dict: __cmp__, __contains__, __delitem__, __eq__, __ge__, __getattribute__, __getitem__, __gt__, __iter__, __le__, __len__, __lt__, __ne__, __new__, __repr__, __setitem__, __sizeof__, clear, copy, fromkeys, get, has_key, items, iteritems, iterkeys, itervalues, keys, pop, popitem, setdefault, update, values, viewitems, viewkeys, viewvalues

Inherited from object: __delattr__, __format__, __reduce__, __reduce_ex__, __setattr__, __str__, __subclasshook__

Class Variables [hide private]
  kind = 'VRED Viewpoint Render'

Inherited from VRED_PythonJob: prototype

Inherited from dict: __hash__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, vred_exe, project_path, image_path_template, img_width, img_height, viewpoints='', render_quality='', ssf=0, alpha=False, alphaR=0, alphaB=0, alphaG=0, dpi=100, vred_args='', frame_range='', frame_padding=1, job_name='', job_label='', dev=False)
(Constructor)

source code 

Function to initialize members of the class

Parameters:
  • vred_exe (str) - Path to the VRED executable on the worker
  • project_path (str) - The full disk path to a VRED scenefile
  • image_path_template - full path to rendered images, with '#' as a placeholder for the frame number
  • viewpoints (list) - A list of VRED viewpoints to render
  • render_quality - VRED render quality
  • ssf (str) - VRED Supersampling factor
  • alpha (bool) - Render an alpha channel
  • alphaR (float) - Alpha channel red component, between 0.0 and 1.0
  • alphaG (float) - Alpha channel blue component, between 0.0 and 1.0
  • alphaB (float) - Alpha channel green component, between 0.0 and 1.0
  • dpi - Dots per inch for image printing
  • vred_args (str) - Optional arguments to use when starting the VRED python session.
  • frame_range (str) - A frame range string. 1-3,6-10x2 expands to [1,2,3,6,8,10]
  • job_name (str) - Optional qube job name
  • job_label (str) - Optional qube job label
  • dev (bool) - Set the 'dev' value for the Qube job, enables debug output on the farm.
Returns:
new empty dictionary

Overrides: object.__init__

_buildAgenda(self)

source code 

Create an agenda for the job, complete with per-frame python commands.

Returns: list
The populated work agenda for the job