Jump to content

mantra and IFDs


Recommended Posts

correct me if I am wrong:

once you hit render on mantra output node it creates a temporary IFD and then reads that IFD to render.

is there a specific location where that temporary IFD is being saved?

how do i change it?

is there a way to render saved IFD from disk with a mantra node?

Thanks!

Link to comment
Share on other sites

Hi Tomas, you can define your own path if you check the disk file option.

For rendering the ifd files have a look at these links:

http://www.sidefx.com/docs/houdini9.5/rendering/commandline

alternatively you can also render ifds by using the mantra -f command

cheers

Thanks,

I have read that info, but I would like to render IFD with a mantra node. I know that's a little redundant getting IFD from mantra rop and then using mantra rop to render that IFD.

Also I would like to know what is happening under the hood once you hit "render" on mantra node when it set to render image (not IFD).

Does it still generates temporarily IFD to render the image?

If it does, where does it save that IFD by default?

Thanks!

Link to comment
Share on other sites

Thanks,

I have read that info, but I would like to render IFD with a mantra node. I know that's a little redundant getting IFD from mantra rop and then using mantra rop to render that IFD.

Also I would like to know what is happening under the hood once you hit "render" on mantra node when it set to render image (not IFD).

Does it still generates temporarily IFD to render the image?

If it does, where does it save that IFD by default?

Thanks!

I don't think Houdini saves IFD at all, more probably it sends it with stdout. As to general process, you can go through it step by step as it's all written with Python. For a reference see soho.py and IFD.py in $HH/soho/python2.x/ Houdini calls that IFD.py script when an user hits render button on Mantra ROP.

Rendering ifd file with mantra node is trivial. Just execute "mantra -f myifd.ifd" in subprocess.

  • Like 1
Link to comment
Share on other sites

hey SY afaik it does render out ifd's from the mantra rop itself..

I was able to render it out and render the frame frame using the mantra command at

my workplace last year..i have not tried it with apprentice though..

thanks for the info on the python script :) that's a useful insight.

Link to comment
Share on other sites

Sure it does! I do it every day. I've thought the question was about interactive rendering when you render directly from houdini. I think in this case houdini streams ifd directly to mantra via stdin/stdout.

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...