Jump to content

hrender command on windows machine ...just a puzzle


Recommended Posts

Please ignore me if it has been discussed previously, I just couldn't find my answer clearly, thanks in advance to help me.

 

Ok I can run hrender command in a linux machine very easily without doing a lot of fancy things,  normally I make a text file with some few texts in it:

 

cd /opt/houdini...

source houdini_setup_bash

hrender -v -r -d ...etc

 

and then open a terminal to say to run this text file as a script

 

ok now I want to do the same on a windows machine (win7 64 in my case)....really it is a puzzle for me how to do the same,

 

please guide me

Edited by avak
Link to comment
Share on other sites

Something along these line: Start the Command Line Tools from the Start menu, type in csh, now you do: hrender -v -r -d ...etc.

Thanks for the tip,

can you please explain what did you mean of "type in csh"

 

Ok I opened the Command Line Tool as you mentioned and typed:

csh

then

I typed:

hrender

the consol answers:

cat: command not found.

rm: command not found.

#

 

what did I wrong here?

 

Thanks,

Edited by avak
Link to comment
Share on other sites

Ah right, hrender uses additional tools normally found on Linux. You might need Cygwin, or better yet use hython. eg. forums.odforce.net/topic/16383-verbose-in-hython-render-command/

 ok let me check the link and will comeback here again

  • Like 1
Link to comment
Share on other sites

  • 4 weeks later...

Hi,

I don't know if you managed it or not,

any way let me answer you in its simplest way which it is :

 

suppose you have a scene on drive D named "shot.hip" and its path is "D:/shot.hip"

and we have a mantra node named "mantra1" and its path is "/out/mantra1" in your scene.

ok

press win button on keyboard type : command line tool and press enter

 

it opens a command shell 

type: hscript d:/shot.hip and press enter . then type:

render -v /out/mantra1

 

that's it 

 

I admit you're right that using hrender command in windows  is not as easy as in linux  . any way by using hscript command you have more option to tweak and can do more .

suppose you have a dop output node in your scene "/out/dop" and by using hscript with the same fashion as explained above you can run simulation without opening houdini and save a lot of ram for simulation this way. 

  • Like 2
  • Thanks 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...