Hello Unreal Dudes and Dudettes,
I love the flexibility (ha, get it?) of the USplineMeshComponent and how it allows me to create roads and paths and the like. However, I do believe there’s one inherent flaw: the meshes aren’t instanced!! Though it seems that the most common use of a spline mesh component is in a repeating chain along a spline, the meshes used in rendering are not instanced (to my knowledge). For the current project I’m working on, I have to render A LOT of roads, and so I could really use a combination of InstancedStaticMesh and SplineMesh.
I took a look at the code for the USplineMeshComponent and discovered that all the fancy deformation is performed within the shader, which means, if I wanted to create my own InstancedSplineMesh class, I would have to journey down the rabbit hole of how to work with UE4 shaders (not something I’m too keen to do). However, if it’s something that the community shows much interest in, and the UE4 developers are not any keener to work on it than I am, then I suppose I could undertake the challenge.
In summation, I would really like to have a UInstancedSplineMeshComponent. Maybe you could get one for me for Christmas?
Love you guys and I appreciate all the hard work that goes into the Engine. Let me know if there was a better place to post this.