Jump to content

Question about sidefx video tutorial cop ramp


Recommended Posts

The tutorial can be found here:

http://www.sidefx.com/images/stories/tutor.../4.cop_ramp.mov

In this video tutorial it is stressed quite a lot to add "op://" to the path of the expression, resulting in

pic("op://obj/grid_object1/cop2net1/ramp1,$BBX,$BBZ,r)

but in reality I noticed the expression also works by using

pic("/obj/grid_object1/cop2net1/ramp1,$BBX,$BBZ,r)

or even

pic("../cop2net1/ramp1",$BBX,$BBZ,r)

I was wondering if there is a reason for preferring op://fullpath to ../relativepath

and what is op:// anyway? :)

thanks again

Peppino

p.s.

sorry for flooding the forum with lots of questions :)

Link to comment
Share on other sites

Hi ,

Sorry I cannot answer your qurstion but I wanted to ask you that is this tutorial located in the tutorial section at sidefx wesbite.

or is it located some where else what is the exact path to locate it .

Looking forward to hearding from you.

Link to comment
Share on other sites

(...)

sorry for flooding the forum with lots of questions :)

Don't worry, this is all about questions and answers ;)

I haven't seen this video, but judging from its description on the web page: "COP Ramp "tex" Function"

you are mixing up two expressions here:

pic - refers to an operator in COPs network, whereas

tex - refers to a file on disk.

...the tricky part is a op:/ syntax, which allows you to refer to Houdini's operator as it would be a file on disk, which leads effectively to similar functionality of both expressions.

does it help?

cheers,

sy.

Edited by SYmek
Link to comment
Share on other sites

It is now clear!

so pic can be used with relative/absolute houdini paths, meanwhile tex requires a physical disk path, however we can "fake" a physical path by adding "op://" to an absolute houdini path.

Thanks

P

Don't worry, this is all about questions and answers ;)

I haven't seen this video, but judging from it's description on web page: "COP Ramp "tex" Function"

you are mixing up two expressions here:

pic - refers to operator in COPs network, whereas

tex - refers to a file on disk.

...the tricky part is a op:/ syntax, which allows you to refer to Houdini's operator as it would be a file on disk, which leads effectively to similar functionality of both expressions.

does it help?

cheers,

sy.

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