Konstantin Magnus

Konstantin Magnus

About Me

Expertise
Generalist
Location
Germany

Connect

Recent Forum Posts

How to manage the unwrap direction based on geometry position in 3d space? June 2, 2019, 10:16 a.m.

I made another variant that keeps the surface geometry intact at all times (no faceting and fusing needed), and also makes the tiles match.

How to manage the unwrap direction based on geometry position in 3d space? June 2, 2019, 4:27 a.m.

In case of randomly shifted vertex orders or if you want to keep it more generic you could also build rotation matrices based on the primitive normals:

vector nml = prim_normal(0, @primnum, vector(0.0));
vector up = set(0, 1, 0);
vector x = cross(nml, up);
vector z = cross(nml, x);

3@r = set(x, nml, z);

Which gives a visually similar result:

How to manage the unwrap direction based on geometry position in 3d space? June 2, 2019, 4:08 a.m.

You can orient the polygons by the direction from vertex 0 to vertex 1.