Jump to content

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!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...