Skip to main content
gamedev.net
🔒 Locked

point sprites usage?

Started by billybob 0 replies 250+ views
Original Post
billybob
billybob
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.
mickey
mickey
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.,

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.