Hello, a few questions.
I intend to use fixed sized arrays to hold different variables for a particular particle. e.g. P_X#(), P_Y#(), etc. Is this a good idea or should I use Banks?
I would just set up enough array space for a maximum of 1024 particles say.
I intend to set up a surface with 1024 quads; one for each particle. If the particle is not 'on' then I set the quad to big Z coord so it is not displayed. i.e. The graphics card will always try to plot 1024 particles. Is this a fair way to do this?
I'm sure i've tested arrays vs banks vs types in the past and found arrays to be the fastest but i'm not 100% sure.
Any advice
Marg
I intend to use fixed sized arrays to hold different variables for a particular particle. e.g. P_X#(), P_Y#(), etc. Is this a good idea or should I use Banks?
I would just set up enough array space for a maximum of 1024 particles say.
I intend to set up a surface with 1024 quads; one for each particle. If the particle is not 'on' then I set the quad to big Z coord so it is not displayed. i.e. The graphics card will always try to plot 1024 particles. Is this a fair way to do this?
I'm sure i've tested arrays vs banks vs types in the past and found arrays to be the fastest but i'm not 100% sure.
Any advice
Marg