# Rendering Simulation Data (Particles)

**URL:** <https://forums.unrealengine.com/t/rendering-simulation-data-particles/402517>\
**Category:** Rendering\
**Tags:** unreal-engine, cache, Rendering, CPP, question\
**Created:** [August 22, 2017, 3:05pm UTC](https://forums.unrealengine.com/t/rendering-simulation-data-particles/402517 "2017-08-22T15:05:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_c15eefcd](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c15eefcd](https://forums.unrealengine.com/u/anonymous_user_c15eefcd)\
**Post date:** [August 22, 2017, 3:05pm UTC](https://forums.unrealengine.com/t/rendering-simulation-data-particles/402517/1 "2017-08-22T15:05:53Z")

</div>

Short version first, what is the best way to render millions of particles from a cache, visualizing individual particle attributes? Is there a particle object in the API I can instance (I can’t seem to find one)?

I am working on a scientific research visualization. The visualization is in the form of particle caches. This has nothing to do with Unreal’s particle system, to be clear. They are just snapshots of particles (millions of them) produced by an outside piece of software. Each particle has varying attributes such as mass, density, metallicity, velocity, etc, that must be visualized on a per particle basis.

I am currently reading the file in an AActor (I will probably change this). This file AActor spawns actors for each particle group it finds in the file. The particle group actors (usually 4-6 per file) read the particle data for their group (millions of particles per group) and then instance my particle object (UInstancedStaticMeshComponent). The particle object is just a plane with a material instance.

The problem I am currently having is that I cannot make these instances face forward. Every method to do this I have seen uses the actor position and what I need to base this on is the particle position on a per particle basis. I can make the particles face forward, but because the methods rely on actor position, the entire cache and all it’s particles will become sheared in the viewport at certain angles. In trying to solve this problem I have discovered that materials on UInstancedStaticMeshComponents may not be dynamic, Is this correct?

---

<div class="post-metadata">

**Author:** ![GrogBeard](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GrogBeard](https://forums.unrealengine.com/u/GrogBeard)\
**Post date:** [November 18, 2018, 6:40am UTC](https://forums.unrealengine.com/t/rendering-simulation-data-particles/402517/2 "2018-11-18T06:40:26Z")

</div>

I am in a very similar boat, but my data set is smaller. Very interested in datavis myself.

---

<div class="post-metadata">

**Author:** ![beginagian](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@beginagian](https://forums.unrealengine.com/u/beginagian)\
**Post date:** [June 15, 2024, 4:47am UTC](https://forums.unrealengine.com/t/rendering-simulation-data-particles/402517/3 "2024-06-15T04:47:09Z")

</div>

Hello! I’ve encountered the same issue. Do you know the solution? Could you provide me with some ideas?
