Curvature using hitpoint info
Forum rules
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
- Egert_Kanep
- Posts: 239
- Joined: Tue Mar 13, 2018 10:34 am
Re: Curvature using hitpoint info
I used subdivision modifier and applied it at 2 levels of subdivision
Re: Curvature using hitpoint info
You mean they are duplicate in LuxCore?Dade wrote: Wed Oct 09, 2019 3:57 pm@B.Y.O.B. I receive a mesh with 6531 duplicated vertices out of 36494 but if I do a "mesh => clena up => merge vertices by distance", Blender tells me there are no duplicates. What is going on ? Is it the result of some applied modifierDade wrote: Wed Oct 09, 2019 3:39 pm I may have found the problem: this suzanne model has apparently a LOT of duplicate vertices.![]()
Maybe the Blender -> LuxCore conversion function is screwing something up (I rewrote it for Blender 2.80)?
Re: Curvature using hitpoint info
May be, I'm not sure but if I look for duplicated vertices in the Suzanne, I found thousands of them.B.Y.O.B. wrote: Wed Oct 09, 2019 6:13 pmYou mean they are duplicate in LuxCore?Dade wrote: Wed Oct 09, 2019 3:57 pm@B.Y.O.B. I receive a mesh with 6531 duplicated vertices out of 36494 but if I do a "mesh => clena up => merge vertices by distance", Blender tells me there are no duplicates. What is going on ? Is it the result of some applied modifierDade wrote: Wed Oct 09, 2019 3:39 pm I may have found the problem: this suzanne model has apparently a LOT of duplicate vertices.![]()
Maybe the Blender -> LuxCore conversion function is screwing something up (I rewrote it for Blender 2.80)?
- Egert_Kanep
- Posts: 239
- Joined: Tue Mar 13, 2018 10:34 am
Re: Curvature using hitpoint info
Dade/B.Y.O.B , could you try this scene? I used different method to subdivide the object and it seems to give better results. Instead of applying subdivision modifer I subdivided object in edit mode
- Attachments
-
- suzanne_pointiness_02.blend
- (2.69 MiB) Downloaded 148 times
Re: Curvature using hitpoint info
Yes, the "wrong" Suzanne has 3357 duplicate vertices over 10496 while the "right" has only 355 over 8076. Pointiness, to work well, needs a uniform surface, duplicate vertices cause "seams".Egert_Kanep wrote: Thu Oct 10, 2019 10:58 am Dade/B.Y.O.B , could you try this scene? I used different method to subdivide the object and it seems to give better results. Instead of applying subdivision modifer I subdivided object in edit mode
- Egert_Kanep
- Posts: 239
- Joined: Tue Mar 13, 2018 10:34 am
Re: Curvature using hitpoint info
Maybe this is a bug in blender, exporting object as obj and then importing back seemed to fix this as well.
Re: Curvature using hitpoint info
Pointiness shape is now able to handle duplicate/similar vertices like if they were the same. This a rendering with old Pointiness:
and this with the new one:
and this with the new one:
- Egert_Kanep
- Posts: 239
- Joined: Tue Mar 13, 2018 10:34 am
Re: Curvature using hitpoint info
Awesome, so now it doesn't matter if mesh is a bit wonky
Re: Curvature using hitpoint info
Yup.Egert_Kanep wrote: Sun Oct 13, 2019 9:29 am Awesome, so now it doesn't matter if mesh is a bit wonky
Re: Curvature using hitpoint info
Great, thanks. 
