Jump to content

Filterwidth


Mcronin

Recommended Posts

Just a couple of questions.

Is filterwidth a value in pixels? I've looked through all sorts of books and notes and can't find the answer to this. I assume it's pixels, but I want to be sure.

Also, I've seen shaders that let you set filterwidth in S and T individually, however in VOPs in the Texture and Displacement Map VOPs, filterwidth is single a float. How is it possible to do seperate filterwidths in S and T in VOPs?

Link to comment
Share on other sites

without going in to too much detail, filterwidth just calculates the potential changes in the s and t direction using derivatives. Representing a micropolygon or pixel. There is a detailed explanation in Advanced Renderman, and as far as I know it works the same way in VEX/VOP's.

Hope this helps and I understood your question correctly.

Link to comment
Share on other sites

Yes it is posible.

Tools -> Operator Type Manager

Find standart Vop/texture operator

RMB on it -> Copy

Operator Name: mytexture

Operator Label: My Texture

Save To Library: $HOME/houdini 6.1/otls/OPcustom.otl

Accept

Now find just copied "Vop/mytexture" operator

RMB on it -> Edit contents

Replace Dialog script (see atachment)

Click Accept...enjoy...but remember!!! ONLY RAT textures valid for filtering.

DialogScript.zip

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