now the QtViewer App tries to load textures for PLY (and other formats) too, if possible
closes #1077 git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@745 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
@@ -93,6 +93,15 @@ int main(int argc, char **argv)
|
|||||||
usage_and_exit(1);
|
usage_and_exit(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// enable most options for now
|
||||||
|
opt += OpenMesh::IO::Options::VertexColor;
|
||||||
|
opt += OpenMesh::IO::Options::VertexNormal;
|
||||||
|
opt += OpenMesh::IO::Options::VertexTexCoord;
|
||||||
|
opt += OpenMesh::IO::Options::FaceColor;
|
||||||
|
opt += OpenMesh::IO::Options::FaceNormal;
|
||||||
|
opt += OpenMesh::IO::Options::FaceTexCoord;
|
||||||
|
|
||||||
// create widget
|
// create widget
|
||||||
QMainWindow mainWin;
|
QMainWindow mainWin;
|
||||||
MeshViewerWidget w(&mainWin);
|
MeshViewerWidget w(&mainWin);
|
||||||
|
|||||||
Reference in New Issue
Block a user