# Problems with Spline Thicken on large mastabas.

**URL:** <https://forums.unrealengine.com/t/problems-with-spline-thicken-on-large-mastabas/1939406>\
**Category:** Character & Animation\
**Tags:** unreal-engine, question\
**Created:** [July 16, 2024, 1:01pm UTC](https://forums.unrealengine.com/t/problems-with-spline-thicken-on-large-mastabas/1939406 "2024-07-16T13:01:04Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![saweliew2w](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@saweliew2w](https://forums.unrealengine.com/u/saweliew2w)\
**Post date:** [July 16, 2024, 1:01pm UTC](https://forums.unrealengine.com/t/problems-with-spline-thicken-on-large-mastabas/1939406/1 "2024-07-16T13:01:04Z")

</div>

Hello. I recently started studying the engine and ran into a problem that I don’t know how to solve. I need to change the thickness of the spline depending on the distance to the camera. Simply mastabing the mesh will not work here. Spline Thincken seems like a good solution (maybe I can achieve the result I need in other ways, please tell me).

I tried using a mesh of a plane and a primitive tetrahedral cylinder, but the results looked terrible. I’m currently using a 12 point cylinder. It looks normal, but when i move the camera away, the splinemeshes begin to flicker, apparently which have an x ​​coordinate close to 0. There is no flickering close to it, and I have no idea why this is happening.

Unfortunately (new users can not upload attachments), only screenshots. My material, and how flickering manifests itself. I note that there is no flickering when the camera is moving.

 ![unreal6](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/6/8/668a9b2ebe9da66f78ddab79810d36f9e1d040c1.jpeg)  
 ![unreal2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/2/f/e2ffc7d6d1d36b544ef01021326b56ecd57f1ed1.jpeg)  
 ![unreal3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/7/1/471d2141e9367ba338145222399eb69b4801fbc9.jpeg)  
 ![unreal4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/e/b/3ebf3ed19f9f3dc27652806bddc643d5abea4f6c.jpeg)  
 ![unreal5](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/2/8/a28e9dec6796151ab30ce01291312dee9e14acd3.jpeg)

---

<div class="post-metadata">

**Author:** ![saweliew2w](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@saweliew2w](https://forums.unrealengine.com/u/saweliew2w)\
**Post date:** [July 16, 2024, 2:12pm UTC](https://forums.unrealengine.com/t/problems-with-spline-thicken-on-large-mastabas/1939406/2 "2024-07-16T14:12:36Z")

</div>

I uploaded a video to yotube, maybe it will help you better understand what the problem is.

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/d/8/2d80cb2e25ff2aa0c7b60ff15c7c710aff7bd737.jpeg "Spline flickering with Spline Thicken function") ](https://www.youtube.com/watch?v=N5GE6xcR0eM)

In discord I was advised to make anti aliased spline renderer. As far as I understand this advice, I tried to change the anti aliased method in the project settings. But this had no effect.

---

<div class="post-metadata">

**Author:** ![L1z4rD89](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/l1z4rd89/32/1194537_2.png) [@L1z4rD89](https://forums.unrealengine.com/u/L1z4rD89)\
**Post date:** [July 16, 2024, 2:32pm UTC](https://forums.unrealengine.com/t/problems-with-spline-thicken-on-large-mastabas/1939406/3 "2024-07-16T14:32:38Z")

</div>

Hey @saweliew2w

maybe this can help you:

> [@Solar System Simulator/Generator](https://forums.unrealengine.com/t/solar-system-simulator-generator/62571/15):
>
> I lifted what was relevant from an old project (opening 4.17 → 4.27 is no fun at all! wink but still pretty stunned it actually opens & works almost out of the box!): Project link: Here’s what this actor can do: Some basic controls for this are exposed but it needs a ton of features to make it useable / more flexible. I’d start with adding controls for how many SMCs are needed for smaller / larger orbits - currently it’s a fixed number. May be fine depending on what this is going to be u…

You could also try a Niagara system where particles rotate on the orbit and create the desired visual effect.

---

<div class="post-metadata">

**Author:** ![saweliew2w](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@saweliew2w](https://forums.unrealengine.com/u/saweliew2w)\
**Post date:** [July 16, 2024, 2:54pm UTC](https://forums.unrealengine.com/t/problems-with-spline-thicken-on-large-mastabas/1939406/4 "2024-07-16T14:54:01Z")

</div>

> [@L1z4rD89](#):
>
> кже можете попробовать систему Ниагара, где частицы вращаются по орбите и создают желаемый визуальный эф

Thanks, I’ll take a look soon. This is very similar to what I have.

---

<div class="post-metadata">

**Author:** ![saweliew2w](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@saweliew2w](https://forums.unrealengine.com/u/saweliew2w)\
**Post date:** [July 16, 2024, 3:42pm UTC](https://forums.unrealengine.com/t/problems-with-spline-thicken-on-large-mastabas/1939406/5 "2024-07-16T15:42:55Z")

</div>

Unfortunately, there is nothing particularly valuable to me in this project. And there is nothing to do with thickening splines. And yet there are a couple of interesting things that I took note of.

---

<div class="post-metadata">

**Author:** ![saweliew2w](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@saweliew2w](https://forums.unrealengine.com/u/saweliew2w)\
**Post date:** [July 17, 2024, 6:26am UTC](https://forums.unrealengine.com/t/problems-with-spline-thicken-on-large-mastabas/1939406/6 "2024-07-17T06:26:27Z")

</div>

> [@Deform mesh with spline](https://forums.unrealengine.com/t/deform-mesh-with-spline/81140):
>
> Hello! I am struggling to find a way to deform a mesh using a spline. There are tons of tutorials about splines, but they are not useful for what I want to do. The effect I want to achieve is a long unique mesh with a spline with the same length and the possibility to deform the mesh with the spline. Is it possible? Thank you

In this topic there is a link to a video, an example of how you can deform a spline mesh, but there is no tutorial on how it works. This would be useful to me.

---

<div class="post-metadata">

**Author:** ![L1z4rD89](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/l1z4rd89/32/1194537_2.png) [@L1z4rD89](https://forums.unrealengine.com/u/L1z4rD89)\
**Post date:** [August 17, 2024, 9:30am UTC](https://forums.unrealengine.com/t/problems-with-spline-thicken-on-large-mastabas/1939406/7 "2024-08-17T09:30:28Z")

</div>

Hey @saweliew2w

that video was made by @Flakky

> [@Spline-based mesh generation](https://forums.unrealengine.com/t/spline-based-mesh-generation/29559):
>
> Hello everyone! 4.8 have been released for couple of days now, and there is this new feature that allows you to draw polygons in the world. I wanted to play a bit with it, but accidently made spline-based generation, that generates objects in real-time. smiley Here is the video demo of what i’ve done. [[UE4 Spline-based mesh generation system] ](https://www.youtube.com/watch?v=972rDDjqOo4) 0:00 - Simple cylinder generation 0:50 - Generation by spline-based shape 4:18 - Generation along spline I’m very sorry for a long vi…

Here is a 4.26 version of this blueprint:

[UE426\_MeshDeform.zip](https://forums.unrealengine.com/uploads/short-url/8W7RGXzEEfxfcMNjilmEYnIrmWA.zip) (1.2 MB)
