saty Kitajima

saty

About Me

専門知識
Game Artist

Connect

LOCATION
Not Specified
ウェブサイト

Houdini Skills

Availability

Not Specified

Recent Forum Posts

Day 17 | Animals: Bones 2020年7月17日18:42

Day 1 | Elements: Earth 2020年7月1日20:22

Hi everyone, here is my Null Nodes Earth

Move Vertices to Another Coordinate 2017年5月30日23:40

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.