Skip to content
Snippets Groups Projects
Commit 29348261 authored by Patrik Huber's avatar Patrik Huber
Browse files

Set BFM script to only convert 99 basis vectors by default

Otherwise, it looked like JSONlab will not write the output file, probably because it's >1GB. See GitHub issue #29.
parent 606da4b8
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,7 @@ bfm = load(bfm_file);
% Leave 'nt' on the default. This is only to produce a small output model
% for testing purposes. It'll result in only part of the mesh.
nt = size(bfm.shapeMU, 1); % num triangles times 3
nb = size(bfm.shapePC, 2);
nb = 99; %size(bfm.shapePC, 2);
model.cereal_class_version = 0;
model.shape_model.mean.data = bfm.shapeMU(1:nt);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment