Hi Bruno,

Bruno Marques wrote:

> Hi,
>
> I was trying to implement a particle system in openSG, but I've 
> stumbled upon a big problem. I can't have every single particle with a 
> different transformation unless I create a node with a transform core, 
> but that would become to heavy, because if I had 10000 particles, I'd 
> have to create 10000 nodes and cores (heavy for memory) and update 
> 10000 transformations in every single frame (heavy for CPU).
> The particle system I've created is indeed a single geometry and I've 
> managed to update the particles' positions by messing with the 
> GeoPositions of the geometry core. So I can update particles' 
> positions, but when it comes to rotating the particles (each particle 
> must be a billboard to face the viewer) I can't find a solution.
> Anyone has further ideas?

Depends on what your particles are. If you really need the usual simple 
quads, try looking at the Particles core, which does all the rotation 
and geometry creation etc.

Hope it helps

    Dirk



_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to