Revision 2a5ce10bcc87d1ae648b298a39eec2f368b24b24 authored by HTDerekLiu on 24 May 2021, 13:03:36 UTC, committed by HTDerekLiu on 24 May 2021, 13:03:36 UTC
1 parent 5d998ed
createBadMesh.m
clc; clear all; close all;
[V,F] = readOBJ("hilbert_cube_remesh.obj");
[T,N,B,I] = per_vertex_frames(V,F);
avgE = avgedge(V,F);
nV = size(V,1);
V = V + 0.1 * avgE * (T+B);
writeOBJ('test.obj',V,F)
Computing file changes ...