Merge branch 'fixOBJWriterMissingTexCoords' into 'master'
applied fix for bad or missing vertex tex coords See merge request OpenMesh/OpenMesh!145
This commit is contained in:
@@ -53,6 +53,7 @@
|
|||||||
<li>ImporterT: Return a valid FaceHandle when adding non-manifold faces.</li>
|
<li>ImporterT: Return a valid FaceHandle when adding non-manifold faces.</li>
|
||||||
<li>BaseExporter: Added accessor functions for HalfEdgeHandles and faceTexCoords to base exporter and exporter template.</li>
|
<li>BaseExporter: Added accessor functions for HalfEdgeHandles and faceTexCoords to base exporter and exporter template.</li>
|
||||||
<li>OBJ Writer: Added functionality to store FaceTexCoords to objwriter</li>
|
<li>OBJ Writer: Added functionality to store FaceTexCoords to objwriter</li>
|
||||||
|
<li>OBJ Writer: Applied fix for bad or missing vertex tex coords (Thanks to Gero Müller for the patch)</li>>
|
||||||
<li>OBJ Loader: range check for vertex colors and normals in OBJ loader</li>
|
<li>OBJ Loader: range check for vertex colors and normals in OBJ loader</li>
|
||||||
<li>OBJ Loader: fixed handling of negative indices in OBJ loader</li>
|
<li>OBJ Loader: fixed handling of negative indices in OBJ loader</li>
|
||||||
<li>OM Writer: Fixed OMWriter when no faces are available (Thanks to Jamie Kydd for the patch)</li>
|
<li>OM Writer: Fixed OMWriter when no faces are available (Thanks to Jamie Kydd for the patch)</li>
|
||||||
|
|||||||
@@ -363,7 +363,7 @@ write(std::ostream& _out, BaseExporter& _be, Options _opt, std::streamsize _prec
|
|||||||
{
|
{
|
||||||
// write vertex texture coordinate index
|
// write vertex texture coordinate index
|
||||||
if (_opt.check(Options::VertexTexCoord))
|
if (_opt.check(Options::VertexTexCoord))
|
||||||
_out << texMap[_be.texcoord(vh)];
|
_out << texMap[_be.texcoord(vhandles[j])];
|
||||||
}
|
}
|
||||||
|
|
||||||
// write vertex normal index
|
// write vertex normal index
|
||||||
|
|||||||
Reference in New Issue
Block a user