Changeset - 1395d646ea88
[Not reviewed]
default
0 2 0
LordOfWar - 17 years ago 2009-02-16 00:49:03

attempting to fix error in distren c, changed the " and " around the string being passed in line 33 to ' and '.

brainstorming layout for server, adding random code for brainstorming.
2 files changed with 25 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/client/distren.c
Show inline comments
 
@@ -30,7 +30,7 @@ int main(int argc, char *argv[])
 
  frame_to_render = 10; // temporary, the number 10 will be replaced with a function call
 

	
 
  char name[25]; // declares a variable to hold the file name
 
  name = "file_name"; // file_name will be replaced with a function call
 
  name = 'file_name'; // file_name will be replaced with a function call
 

	
 
  char string[100];
 
  sprintf(string, "blender.exe -b %s.blend -o //tmp/frame -f %d -F JPEG -x 1", name, frame_to_render);
src/server/distrend.c
Show inline comments
 
@@ -46,7 +46,30 @@ void blender()
 

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

	
 
}
 

	
 
int blender_get_frame()
 
{
 

	
 

	
 
	if(current_frame == (last_frame + 1))
 
	{
 
		//get_job_frame(); // Will retrieve the new start frame from job_master
 
	}
 
	else
 
	{
 
		current_frame++;
 
	}
 

	
 
	return frame_to_render;
 
}
 

	
 
char blender_get_filename()
 
{
 
	char file_name[25];
 

	
 
	return file_name;
 
}
 

	
0 comments (0 inline, 0 general)