In poisson_solver.h:
///then copy to faces
for (size_t i=0;i<mesh.face.size();i++)
{
FaceType f=&mesh.face[i];
for (int j=0;j<3;j++)
{
VertexType v=f->V(j);
Point2<scalartype> p=v->T().P();
f->WT(j).P()=p;
}
}
I got an assertion because my FaceType does not have per wedge tex coords.
I only want per-vertex texture coords.
I was able to make it work by wrapping in
if (FaceType::HasWedgeTexCoord())
{
....
}</scalartype>
Anonymous
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
Forgot to add: Poisson solver is also not robust to deleted vertices/faces; I got assertions from indexes out of range inside the solver, but I just compacted the vectors before calling the Poisson solver and it worked. So, not a big problem.