Changeset - f9139e24ffa8
[Not reviewed]
default
0 1 0
LordOfWar - 17 years ago 2009-02-16 00:06:25

more code cleaning
1 file changed with 0 insertions and 21 deletions:
0 comments (0 inline, 0 general)
src/server/distrend.c
Show inline comments
 
@@ -22,52 +22,31 @@
 
  -S <name> Set scene <name>
 
  -f <frame> Render frame <frame> and save it
 
  -s <frame> Set start frame (use before -a argument)
 
  -e <frame> Set end frame (use before -a argument>
 
  -o <path> Set the render path and file name (use // at start of the path to render relative to the blend file, the ### characters are replaced by the frame number)
 
  -t <threads> Use amount of ,threads> for rendering (background mode only)(1-8, 0 for systems processor count)
 
  -x <bool> Set option to add the file extension to the end of the file
 
*/
 

	
 
#include <stdio.h>
 

	
 

	
 

	
 
int main(int argc, char *argv[])
 
{
 

	
 

	
 

	
 
  return 0;
 
}
 

	
 

	
 
void blender()
 
{
 
	int command; /* where does this come from,should it be global? */
 

	
 
	int str = command;
 
	int first_frame;
 
	int last_frame;
 
	int pieces_per_frame; // for use of rendering piece so frames and stitching them together
 
	int current_frame;
 

	
 
	//(get first_fram and last_frame from form)
 

	
 
	current_frame = first_frame;
 

	
 
	/* this errors... What is your intention here? :: str get_task(); */
 
	if (current_frame <= last_frame)
 
	{
 

	
 
		//(tell blender to render frame current_frame)
 

	
 
		command = "blender run etc " + current_frame;
 

	
 
		return command;
 

	
 
		current_frame --;
 
	}
 

	
 
	// generate command to pass to client
 

	
 
}
0 comments (0 inline, 0 general)