Jump to content

How to use command line to render dop I/O and file cache nodes?


Recommended Posts

Hi all,

 

I tried to use commandline to render dop I/O and file cache nodes, but it didn`t work.

 

I typed as following:

 

/-> mread D:/test/g.hip

/-> cd /obj/fluidtank_fluid

/obj/fluidtank_fluid-> render a -f 1 100 _V -s

 

but it showed me the message:

 

Couldn`t find renderer a

 

Did I do something wrong?

g.hip

post-9912-0-84866000-1432573430_thumb.jp

Link to comment
Share on other sites

no idea what mread does, I use hbatch then I navigate to the file I want to render

 

hbatch myFile_001.hip

cd /out

ls (to list the nodes)

render myRopNetwork or w/e the node name is

 

you can also type ' help render ' to get a list of flags

Link to comment
Share on other sites

no idea what mread does

 

 

'mread' is used to read .hip file in shell. It's old command from PRISMS. All commands start with 'm' are inherited from PRISMS. To write from shell there is 'mwrite'.

If didn't give file to 'hbatch' to open then you can use 'mread' to read .hip in current hbatch session.

 

In Terminal type:

 

hbatch

// It will load installed version of Houdini and prompt to enter commands

hbatch Version 13.0.376 (Compiled on 04/08/14) // or whatever version you are on
 
/ -> mread /path/to/hip/file
/ -> cd /path/to/renderer
/ -> render -V ropdriver
 
 
or hbatch /path/to/hip/file
it just same. Only mread is useful to read file in current hbatch session.
  • 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...