Jump to content

Attribute reference not working in UV-Project-Node


Chrizzo

Recommended Posts

Hey Guys,

 

I'm trying to control the y-rotation of a UV-Project-Node using an attribute "y-angle", which is a float and stored on point-level.

If I type "@y-angle" in the y-rotation parameter field of the UV-Project-Node, it doesen't do anything. In the spreadsheet window it shows up with the correct value, but the parameter only gets zero as a value. 

So, is it even possible to do such operation ?

 

Greetings,

Chrizzo

Edited by Chrizzo
Link to comment
Share on other sites

Why would you set the rotation on a point-by-point basis? Just run an attribwrangle on detail, which stores one attribute for the whole geometry:

f@uv_rot_y = 24.67;

And access the attribute inside the uvtexture node´s rotation with a detail expression:

detail(0, "uv_rot_y", 0);

 

Edited by konstantin magnus
  • Like 1
Link to comment
Share on other sites

4 hours ago, konstantin magnus said:

Why would you set the rotation on a point-by-point basis? Just run an attribwrangle on detail, which stores one attribute for the whole geometry:


f@uv_rot_y = 24.67;

And access the attribute inside the uvtexture node´s rotation with a detail expression:


detail(0, "uv_rot_y", 0)

 

First of all, thank you very much for your answer. I actually tried, storing the value on detail-level, but not with the expression. This was the missing link, so thank yo again ! :)

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