Commit d2336a45 authored by Pierre Kraemer's avatar Pierre Kraemer

suppression modifs viewer

parent 6ab5a4b4
......@@ -24,9 +24,6 @@
#include "viewer.h"
#include "Algo/Filtering/bilateral.h"
#include "Algo/Filtering/average_normals.h"
Viewer::Viewer() :
m_renderStyle(FLAT),
m_drawVertices(false),
......@@ -201,20 +198,6 @@ void Viewer::importMesh(std::string& filename)
Algo::Geometry::computeNormalVertices<PFP>(myMap, position, normal) ;
AttributeHandler<PFP::VEC3> position2 = myMap.addAttribute<PFP::VEC3>(VERTEX, "position2") ;
// for(unsigned int i = 0; i < 3; ++i)
// {
Algo::Filtering::filterVNBA<PFP>(myMap, 0.01f, 0.35f, position, position2, normal) ;
myMap.swapAttributes(position, position2) ;
Algo::Geometry::computeNormalVertices<PFP>(myMap, position, normal) ;
// }
m_positionVBO->updateData(position) ;
m_normalVBO->updateData(normal) ;
......
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