/* 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 . */ #include 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(); int frame_to_render; 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 char string[100]; sprintf(string, "blender.exe -b %s.blend -o //tmp/frame -f %d -F JPEG -x 1", name, frame_to_render); system(string); return 0; }