Jump to content

Recommended Posts

In the docs for the procedural texture filter there are lines like this:

mapcui(T v, T edge0, T edge1)

perlin(S x, I octaves, S persistence)

What do the S and T and V's mean. I'm guessing V is for vector. What are the others?

Share this post


Link to post
Share on other sites

Hi Belmont,

The below info should answer your questions,

T = Type: so can be either a Scalar or Vector (but not integer).
V = vector (non-scalar, 2 to 6 components)
S = scalar (non-vector)
I = single integer (not scalar, or fractional) - internally, the input could be fractional, but the value will be rounded/truncated to an integer

Where functions take T or V arguments - the vector size must be the same for all arguments, they are not interchangeable.

Thanks
C

Share this post


Link to post
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...

Important Information

Please note the Annual Company Closure section in the Terms of Use. These are the Terms of Use you will be asked to agree to if you join the forum. | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.