saty Kitajima

saty

About Me

EXPERTISE
Game Artist

Connect

LOCATION
Not Specified
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

Day 17 | Animals: Bones July 17, 2020, 6:42 p.m.

Day 1 | Elements: Earth July 1, 2020, 8:22 p.m.

Hi everyone, here is my Null Nodes Earth

Move Vertices to Another Coordinate May 30, 2017, 11:40 p.m.

Hello,
I am a beginner of VEX.

I have quad polygons, I want to move vertices to another coordinate.
the Vertex in the lower left is to the lower left, the upper right is to the upper right.

I first got the 0:0 vtxofprim and moved it to the lower left of new coordinate.

vector2 newUVArray= {{0.5,0.0},{1.0,0.0},{1.0,1.0},{0.5,1.0}};
for ( int i=0; i<4; i++ )
setvertexattrib(0, “uv”, 0, i, newUVArray, “set”);

However, depending on how to divide the polygon, I noticed that vtxofprim is not constant.

How can I get each Vertex from the original UV?

For example, define lower or upper, left or right from original Vertex 's coordinates and use it?
Or, does Vertex closest to UV coordinate {0, 0} be defined as “bottom left”? (like “uvdist”)

Thanks.