Jump to content

Verbose in Hython render command?


rurik

Recommended Posts

Hello

I am using the following commands to setup my command line render using Hython


hou.hipfile.load("myhipfile.hip")
mantra=hou.node("mymantradrive")
mantra.render()
[/CODE]

It works fine, but I get no updates in the terminal as to which frame is being rendered. I can't see to find the equivalent of the hrender -v in hython....what would that be?

Thanks

Alex

Link to comment
Share on other sites

Hello

I am using the following commands to setup my command line render using Hython

hou.hipfile.load("myhipfile.hip")
mantra=hou.node("mymantradrive")
mantra.render()
[/CODE]

It works fine, but I get no updates in the terminal as to which frame is being rendered.  I can't see to find the equivalent of the hrender -v in hython....what would that be?
Thanks
Alex

From a terminal: "mantra -h" shows:
	-V val	Set verbose level (i.e. -V 2p)
			0-9  Output varying degrees of rendering statistics
			p	Turn on VEX profiling
			P	Turn on VEX profiling and NAN detection
			a	Turn on Alfred-style progress reporting
Then, if you want to render from hython with verbosity from hython itself (rather than getting mantra to report information about a single frame), from within hython:
[code]
>> out = hou.node('/out')
>> ifd = out.createNode('ifd')
>> help(ifd.render)
render(*args, **kwargs) method of hou.RopNode instance
render(self, frame_range=(), res=(), output_file=None,
output_format=None, to_flipbook=False, quality=2, ignore_inputs=False,
method=RopByRop, ignore_bypass_flags=False, ignore_lock_flags=False,
verbose=False, output_progress=False)
>> r.render(frame_range=(1,240), verbose=True)

  • Like 1
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...