Files
@ 281d685d7af6
Branch filter:
Location: DistRen/src/client/distren.c - annotation
281d685d7af6
1.5 KiB
text/plain
destroyed my own crappy server code to start from scratch
updated the client code to recieve a structure, will prepare to code in some server code giving a structure tomorrow.
updated the client code to recieve a structure, will prepare to code in some server code giving a structure tomorrow.
7f09dcee58f4 7fcbed937039 7f09dcee58f4 aaedffb71a83 aaedffb71a83 aaedffb71a83 7f09dcee58f4 7f09dcee58f4 7f09dcee58f4 aaedffb71a83 aaedffb71a83 7f09dcee58f4 7f09dcee58f4 7f09dcee58f4 aaedffb71a83 7f09dcee58f4 aaedffb71a83 7f09dcee58f4 7f09dcee58f4 7df3f36d8160 7df3f36d8160 7f09dcee58f4 7f09dcee58f4 1cd8562c653b 2c72cec363fa 2c72cec363fa 7fcbed937039 2c72cec363fa 281d685d7af6 281d685d7af6 281d685d7af6 281d685d7af6 281d685d7af6 281d685d7af6 281d685d7af6 281d685d7af6 281d685d7af6 2ccb6e87cf77 2ccb6e87cf77 79047c77112d 281d685d7af6 281d685d7af6 2ccb6e87cf77 2ccb6e87cf77 281d685d7af6 2ccb6e87cf77 2ccb6e87cf77 8af1e34f742f 7f09dcee58f4 7f09dcee58f4 | /*
Copyright 2008 Nathan Phillip Brink, Ethan Zonca, Matt Orlando
This file is a part of DistRen.
DistRen is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
DistRen is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with DistRen. If not, see <http://www.gnu.org/licenses/>.
*/
#include <stdio.h>
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
/*-- job structure--
* int file_name
* int frame_to_render
*
*/
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
char string[100];
sprintf(string, "blender.exe -b (filename).blend -o //tmp/frame -f %d -F JPEG -x 1", name, frame_to_render);
system(string);
return 0;
}
|