Jump to content

STREE_feathery.h


sine

Recommended Posts

for any shader do i need a library STREE_feathery.h, where it can be found?

It was probably a shader written using ShadeTree [wayback machine] -- kind'a like VOPs but for RenderMan/MentalRay (which is no longer available). I'm afraid that unless you happen to own an old cut of ShadeTree, you won't have access to "STREE_feathery.h".

Link to comment
Share on other sites

Guest xionmark
for any shader do i need a library STREE_feathery.h, where it can be found?

Here ya go:

float STREE_feathery(vector p; float freq, it;)
{
	float sum = 0.0;
	float size = 1.0;
	float i;
	for (i = 0.0; i < it; i += 1.0 )
	{
		 sum += (float) STREE_snoise((size*p) + (STREE_snoiseV(size*p)*freq))/size;
		 size *= 2.0;
	}
	return(sum*1.4);
}

Mark

Link to comment
Share on other sites

Guest xionmark
for any shader do i need a library STREE_feathery.h, where it can be found?

I've attached all the old ShadeTree include files ... hope Reid doesn't object ....

Mark

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