Jump to content
larklee

command line rendering

Recommended Posts

You will notice if you look at the parameters for a Mantra Output operator, that there is a "Render Command". Inside, by default it says "mantra". If you click on the plus button, then it gives you various command line options for mantra. Typically, to do command line rendering, you turn on "Generate Script File" which produces an .IFD file which is similar to the renderman .RIB script file. You can then pass this .IFD file to mantra for rendering. However, the option for generating script files seems to be disabled on my Houdini Apprentice.

Share this post


Link to post
Share on other sites

Here's a standard one:

hrender -e -v -f 1 1 -i 1 -d mantra1 file.hip

-e (can't remember, but you need it!)

-v (verbose)

-f (frame range)

-i (frame increment)

-d (output driver)

file.hip (filename)

stu

Share this post


Link to post
Share on other sites

i tried that command above: hrender -e .... mantra 1

at the command line tools under windows and it prompted 'hrender' is not a valid command, ...i'd run it at hscript and it prompted 'unknown command'..am i missing something here?

Share this post


Link to post
Share on other sites

greets,

make sure you have sourced houdini_setup within the cshell, otherwise you will get the unknown command error

mantra -h will give you all the render flags and a brief explanation of what they do.

Share this post


Link to post
Share on other sites

Using latest Houdini Apprentice HD on Mac OS 10.6.8,

get as far as "Entered non-commercial session mode"

and then "Can't fine node /out/mantra1"

Anyone any ideas what is going wrong here?

Edited by Andy_Ireland

Share this post


Link to post
Share on other sites

"Can't fine node /out/mantra1"

Hard to say without seeing what's in your scene - do you have a mantra1 node in your /out context?

Share this post


Link to post
Share on other sites

Ryew, I was trying Stew's sample and ran ito the problem,

I was using something like this on Linux last year but don't remember having to type mantra.

I have tried a few different things now and still getting basically the same error: "couldnt find renderer mantra"

Share this post


Link to post
Share on other sites

I was using something like this on Linux last year but don't remember having to type mantra.

I have tried a few different things now and still getting basically the same error: "couldnt find renderer mantra"

It works for me using hbatch and render commands in 12.5.316.22 NC on Ubuntu linux:

> source houdini_setup_bash

> hbatch /var/tmp/renderTest.hipnc

hbatch Version 12.5.316.22 (Compiled on 03/13/13)

WARNING: Entered non-commercial session mode.

/ -> render mantra1

http://www.sidefx.co....5/render/batch lays out all the various stages and command line options

renderTest.hipnc

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

×