You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The displayed model cannot be changed yet by adjusting the individual sliders.
We should probably do that inside the coefficients sliders drawing code. There, we know that we've got valid coefficients, if that code path is executed.
We can map a shape or colour instance to igl like this:
Eigen::Map<Eigen::MatrixXf> shape_reshaped(shape.data(), 3, num_vertices);
// Take 3 at a piece, then transpose below. Works.
viewer.data.set_vertices(shape_reshaped.transpose().cast<double>());
Note: This code will actually fail for gray-level models.
Hi patrikhuber,
Thanks your great code, and it is really cool.
I could build EOS viewer completely from branch, but the viewer only cloud open obj file from EOS without texture. No any face color there. Cloud you show me how to import model just like the readme page's picture? Thank you.
The displayed model cannot be changed yet by adjusting the individual sliders.
We should probably do that inside the coefficients sliders drawing code. There, we know that we've got valid coefficients, if that code path is executed.
We can map a shape or colour instance to igl like this:
Note: This code will actually fail for gray-level models.
Also, maybe this can be improved based on ocornut/imgui#1716.
The text was updated successfully, but these errors were encountered: