How to render multiple trajectories (over 1M fvector)

Hello Everyone,
I’m currently working on a project where I need to show multiple trajectories.

The calcul for trajectory is done, now I need to “make it visible” on screen.

The problem is :

  • 1 Trajectory is over 1000 FVector
  • I have no idea how many I need, but a 1000 to 10 000 trajectories would be great.
  • How to make them visible ? (without crashing UE / using too much memory etc.)

What’s up Me from the past !

So, I found how to do it.

  1. Cut down the trajectories/number of fvector !
    High probability that a FVector between 2 FVectors are (pratically) a line, delete the one in the middle.

  2. Stop the trajectory when a object is found between 2 fvector (at least for now)

  3. Do not keep in memory all trajectories

  4. Do not put 6000s of Draw Debug point…

  5. Finally, “spread” everything. Using Timer events for calculations, rendering etc.

Hopefully 2024 will be a better year :wink:

PS : Yes, I do know that I’m talking to myself, but the answers could be usefull to someone else.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.