Commit bc943e6a authored by Jan Möbius's avatar Jan Möbius

OM 3.0 patch

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free-Staging@17231 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 93a8f4c5
......@@ -161,12 +161,12 @@ void PoissonPlugin::poissonReconstruct(IdList _ids, int _depth)
TriMesh::VertexIter vit = mesh->vertices_begin();
for ( ; vit != mesh->vertices_end(); ++vit )
{
pt_data.push_back( mesh->point( vit )[0] );
pt_data.push_back( mesh->point( vit )[1] );
pt_data.push_back( mesh->point( vit )[2] );
pt_data.push_back( mesh->normal( vit )[0] );
pt_data.push_back( mesh->normal( vit )[1] );
pt_data.push_back( mesh->normal( vit )[2] );
pt_data.push_back( mesh->point( *vit )[0] );
pt_data.push_back( mesh->point( *vit )[1] );
pt_data.push_back( mesh->point( *vit )[2] );
pt_data.push_back( mesh->normal( *vit )[0] );
pt_data.push_back( mesh->normal( *vit )[1] );
pt_data.push_back( mesh->normal( *vit )[2] );
}
}
//Poly mesh
......@@ -180,12 +180,12 @@ void PoissonPlugin::poissonReconstruct(IdList _ids, int _depth)
PolyMesh::VertexIter vit = mesh->vertices_begin();
for ( ; vit != mesh->vertices_end(); ++vit )
{
pt_data.push_back( mesh->point( vit )[0] );
pt_data.push_back( mesh->point( vit )[1] );
pt_data.push_back( mesh->point( vit )[2] );
pt_data.push_back( mesh->normal( vit )[0] );
pt_data.push_back( mesh->normal( vit )[1] );
pt_data.push_back( mesh->normal( vit )[2] );
pt_data.push_back( mesh->point( *vit )[0] );
pt_data.push_back( mesh->point( *vit )[1] );
pt_data.push_back( mesh->point( *vit )[2] );
pt_data.push_back( mesh->normal( *vit )[0] );
pt_data.push_back( mesh->normal( *vit )[1] );
pt_data.push_back( mesh->normal( *vit )[2] );
}
}
//Splat cloud
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment