Jump to content

[Solved] HF Layer to COPs, normalize hight


sant0s81

Recommended Posts

Hello,

I have a HF with different layers/masks.

In COP I want to modify these layers.

The problem is, that when I SOP Import the height, I get a white image only.
In the viewer I can normalize the height - but of course it has no effect on the shader tree.

I tried to add a fitrange to get the height normalized, but somehow nothing is changing in the shader tree.

Is there a correct way, doing that?

Thx alot,

sant0s

Edited by sant0s81
Link to comment
Share on other sites

I think you're on the right track, perhaps create a new attribute from the height and cops will pick it up.

You can leverage the promotion technique to get the minimum and maximum height values and store them as detail attributes.

Then the fit might work.

f@height_NORMALIZED = fit(@height,detail(0,"lowest"),detail(0,"highest"),0,1);
v@Cd =f@height_NORMALIZED;

 

Untitled-1.jpg

  • Like 1
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...