diff --git a/src/client/distren.c b/src/client/distren.c --- a/src/client/distren.c +++ b/src/client/distren.c @@ -21,28 +21,27 @@ int main(int argc, char *argv[]) { - int command; // changed from str command... what was that for? + //just prove that linking to the shared lib werkz genericfunc(); execlisten(); - struc job; - // job = // gets job structure from server + // blender = // gets blender structure from server - /*-- job structure-- - * int file_name - * int frame_to_render - * + /*-- blender structure-- + * file_name + * frame_to_render + * url to dl .blend file */ int frame_to_render; frame_to_render = 10; // temporary, the number 10 will be replaced with a function call char file_name[25]; // declares a variable to hold the file name - // file_name = job.file_name // retrieves file name from the job structure + // file_name = job.file_name // retrieves file name from the blender structure char string[100]; - sprintf(string, "blender.exe -b (filename).blend -o //tmp/frame -f %d -F JPEG -x 1", name, frame_to_render); + sprintf(string, "blender.exe -b (filename).blend -o //tmp/frame -f %d -F JPEG -x 1", frame_to_render); system(string);