Don’t know if anyone has managed to acheive this ( although BRender looks like it does this ).
I’m just trying to use PHP start blender in command-line mode and render an object on for display on my webserver.
I’ve got the command-line correct ( as in it renders the file exactly as I want when run from a command prompt ) but any variant of PHPs exec() function just fails. The weird thing is that it definitely seems to be executing blender, because if I pass in malformed arguments I get a correct response -eg something like ‘Blender could not open the file blah blah’ then ‘Blender quit’
This is all on Win7, running apache 2.2 and php5.2 BTW. Apologies that its not blender-specific, but its quite closely related i think!
I’ve also added a stackoverflow question here with a bit more detail, if anyone here uses SO and can answer the points could be yours!
any help would be greatly appreciated