point sprites usage?

Started by
0 comments, last by billybob 21 years, 8 months ago
is it more effficient to use lots of small point sprites or fewer but bigger ones. i want to make trails of dust from cars skidding. i know how to control the location of it, and give it some randomness of movement, but can i set things like the scale of the sprite, the opacity, and the color? or maybe even a tiny texture(8x8 or so)? also, are they automatically blilboarded with teh camera? that would save a LOT of calculations with lots of little dust sprites from the cars.
Advertisement
yes you can, try checking out these states

D3DRS_POINTSIZE
D3DRS_POINTSIZE_MIN
D3DRS_POINTSPRITEENABLE
D3DRS_POINTSCALEENABLE
D3DRS_POINTSCALE_A
D3DRS_POINTSCALE_B
D3DRS_POINTSCALE_C

as for the opacity,well, you can change the diffuse color,
http://www.dualforcesolutions.comProfessional website designs and development, customized business systems, etc.,

This topic is closed to new replies.

Advertisement