dumb question about mantra -P

   2672   3   1
User Avatar
Member
383 posts
Joined:
Offline
HEllo,

I read some threads about material override and mantra, Especially the threads talking about the command “mantra -P”

I wonder where to put the script called by the command.
It seems so obvious, no one talk about it.

Thanks for your help
http://vimeo.com/vbkstudio [vimeo.com]
User Avatar
Member
1908 posts
Joined: Nov. 2006
Online
http://www.sidefx.com/docs/houdini13.0/render/python#filtering [sidefx.com]

The file can be anywhere, you just pass it along as the argument to -P.
Graham Thompson, Technical Artist @ Rockstar Games
User Avatar
Member
383 posts
Joined:
Offline
with anywhere you mean anywhere on disk ?

Let say I would like to build a tool to override material of all objects in myscene with a materail choosen from a menu ? What should be my options ?

PS : Forget it.
After a good night, I get it to work.
http://vimeo.com/vbkstudio [vimeo.com]
User Avatar
Member
383 posts
Joined:
Offline
Regarding this script I have a new question.

Is it possible with an exernal script, to read node property ?
More specifically, how the script called by the mantra command could be able to read properties of the mantra ROP.
I would like to knowif it is possible to change the script behavior with node parameters.

Thanks
http://vimeo.com/vbkstudio [vimeo.com]
  • Quick Links