Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Shape Extrusion Scale
#4
Hi Again,

After digging through the source code once more (which is an excellent code base by the way and it makes you feel that it was written by very smart people) I was able to figure it out. The issue is related to the LibTessDotNet library, more specifically it happens when creating the contour for the end cap. Since the segment index was set to 0, the vertices get welded with the first cap vertices causing the scaling to be dependent on the first cap. Whereas the contour should be created for last segment index.

Also, I think the same kind of behaviour will happen when creating volume holes for the caps (Just a guess, I haven't tested it out yet).

Here's a screenshot that demonstrates the fix: https://pasteboard.co/IFkHkgA.png

And here's the expected result: https://pasteboard.co/IFkIRbO.png

Hope this would be helpful for someone else Smile

Best,
Maabed
Reply


Messages In This Thread
Shape Extrusion Scale - by maabed - 11-05-2019, 09:19 AM
RE: Shape Extrusion Scale - by _Aka_ - 11-05-2019, 05:45 PM
RE: Shape Extrusion Scale - by maabed - 11-05-2019, 06:05 PM
RE: Shape Extrusion Scale - by maabed - 11-05-2019, 09:18 PM
RE: Shape Extrusion Scale - by _Aka_ - 11-06-2019, 04:14 PM
RE: Shape Extrusion Scale - by _Aka_ - 11-06-2019, 04:14 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Incorrect mesh alignment after extrusion on curved path Thinkurvy 10 21 04-17-2024, 10:57 AM
Last Post: _Aka_
  Fading in/out extrusion mesh of a spline? _RicO 3 5 07-25-2023, 09:40 PM
Last Post: _Aka_
  Animating a shape on along a spline will not playback in scene or game views sam_bond 3 9 05-03-2023, 11:41 AM
Last Post: _Aka_
  Manually controlling scale of each CP Maldruzard 1 5 03-27-2023, 10:58 AM
Last Post: _Aka_

Forum Jump: