question about error function design
qiankanglai opened this issue · comments
Hey!
not sure I understand. What would you expect to see?
A cosNormalThreshold of -1 is very unusual as it would even interpolate the seams between a front and a backface that share the same edges. May I ask what are you trying to achieve?
Best,
ands
cosNormalThreshold=-1
is not a practical parameter setting but I'm just testing the hardest corner case.
Would you mind provide some details of mathmatics part in so_seam_optimize
? eg. How is the sparse matrix built for optimization so I can try improving it myself. (I tried to figure it out but failed 😢 )
Hey! Sorry I didn't reply for so long. I had lots of other stuff to do and totally forgot about it :(.
Unfortunately, the sparse matrix setup isn't that simple to explain and it changes depending on usage. I'd even need to look into it myself again before attempting an explanation. I should really write up some documentation for this!
Does closing the issue mean you figured it out yourself, or did you give up on this?
Best,
ands
I've figured it out already (In fact a very simple problem occured when converting uv to texcoord of lightmap)
Here is my port of your great work in Unity: https://github.com/qiankanglai/seamoptimizer (Just a side project in part time 😄 )
Readme will be done in one week if I have enough free time.
Thanks!