Jump to content
Alexandre

Attribute copy pscale from a point wrangle

Recommended Posts

Hello everyone !

I can't figure out how to copy the attribute pscale (from a wrangle) onto a sphere... I am sure I am missing something because it should be straightforward

see attached figure

Thanks and sorry for the low level question

Capture1.JPG

Capture.JPG

Share this post


Link to post
Share on other sites

I have written: float @pscale =5; instead of f@pscale =5;

now it appears as so in geometry spreadsheet (instead of 0.0) but there is no impact on sphere scale when changing pscale in the wrangle node...

Capture3.JPG

Share this post


Link to post
Share on other sites

plug sphere to point wrangle and wright f@pscale=5.0;

you no need copy for it

if you want copy attribute from another geo to sphere you should use attribute transfer

Edited by tamagochy

Share this post


Link to post
Share on other sites

you will not see a change in size!

if you want to see a change, create a point (add sop), wrangle a pscale of e.g 5.0 onto that point and use a copyToPoints sop to copy your sphere onto that point

but for all those simple and basic stuff (and later more) you should consult @mestela's amazing wiki http://www.tokeru.com/cgwiki/

Share this post


Link to post
Share on other sites

Thanks it works !

yeah I am currently learning VEX, thanks to cgwiki, entagma, houdini help, google and odforce forum :)

coming from matlab (matrix) for data processing

Capture.JPG

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×