bugfix:
add handling for special cases for the uv-calculation: - When 3 vector have same UV, using default UV direction: - When 2 vector have same UV, recalculate tangent/bitangent according to normal and bitangent/tangent. Thanks to Ya ping Jin. Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>
This commit is contained in:
@@ -380,7 +380,7 @@ void ComputeUVMappingProcess::ComputePlaneMapping(aiMesh* mesh,const aiVector3D&
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
void ComputeUVMappingProcess::ComputeBoxMapping(aiMesh* /*mesh*/, aiVector3D* /*out*/)
|
||||
void ComputeUVMappingProcess::ComputeBoxMapping( aiMesh*, aiVector3D* )
|
||||
{
|
||||
DefaultLogger::get()->error("Mapping type currently not implemented");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user