Jens Martensson

jens_martensson

About Me

Expertise
VFX Artist
Location
New Zealand
Website

Connect

Recent Forum Posts

Rotating USD UVs with VEX/VOP ? March 1, 2020, 5:58 p.m.

Hi
The idea here is to move uv's to origin, so its assuming no UDIM's
But this will rotate the uv's by 90 degrees

// move original uv's (st) to origin
vector2 uv = u@primvars:st - 0.5;
matrix UV = ident();

//rotate 90 degrees
rotate(UV,radians(90),{0,0,1});

//rotate the uvs with matrix multi 
uv *= matrix2(UV);

//assign to uv's again
u@primvars:st = uv + 0.5;

Hope that helps
Cheers

How to access a USD stage from SOP's in a wrangler Jan. 26, 2020, 11:37 p.m.

Cool, I will just wait for the update for op path and usd file as an input
Cheers

How to access a USD stage from SOP's in a wrangler Jan. 24, 2020, 9:44 p.m.

Hi
So I am trying to access a USD stage from a SOP wrangler, been trying everything but no luck, the other way around works fine with the “op:/” syntax in a LOP wrangler, is it not possible or do I need to use something as my stage instead of the “op:/” syntax ?

And maybe if its not working in SOP:s, the functions needs be hidden in any SOP wrangler context?

Cheers