Jump to content
Sign in to follow this  

SOHO soho_outputmode 0 not piping to soho_pipecmd as expected

Recommended Posts

Hi Everyone,

I'm having trouble understanding the soho_outputmode 0 soho_pipecmd process.

I have created a script for my custom renderer which works using soho_outputmode 1.  After initializing soho, It will read and translate the scene correctly writing it as scene.xml using sys.stdout to write to the soho_diskfile.  I can then render that scene successfully using my command "render scene.xml" from the terminal.  Everything works as expected.

I run into problems when switching to soho_outputmode 0 and setting the soho_pipecmd value to "render".  When I hit the render to disk button, I see in the terminal that the render command is running but has the error that it hasn't been passed any file.  I would like to know what exactly is being piped to the pipecmd and how to get the render command to see the stdout as a file.  The documentation I've seen stops short of explaining this.

Any help would be greatly appreciated!

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this