Skip to main content
GameDev.net gamedev.net
🔒 Locked

Point sprite capabilities...

Started by mrmrcoleman Jan 4, 2005 at 6:28 AM 2 replies 500+ views
Original Post
mrmrcoleman
mrmrcoleman
Just a quicky, what is the call to check for hardware support of point sprites? Oh, actually another quick one well I am here. Is using point sprites a good way to create a particle system? Big thanks in advance. Kind regards. Mark Coleman
Muhammad Haggag
Muhammad Haggag
Well, point-sprites are supported if D3DCAPS9::MaxPointSize is > 1. Check the docs for D3DCAPS9::MaxPointSize and "Point Sprites" (Type it in the index)

jollyjeffers
jollyjeffers
Quote:
what is the call to check for hardware support of point sprites?


According to this page if the D3DCAPS9.MaxPointSize is equal to 1.0f then you DONT have hardware support.


Quote:
Is using point sprites a good way to create a particle system?

Yes, I believe that PSprites were primarily included in the API for this exact purpose (they do have other uses as well). Look up the Point Sprites sample if it's still in the SDK - its quite pretty and probably exactly what you want [grin].

hth
Jack

[Edit]Coder got my reply in while I was typing. oh well [headshake][/edit]
<hr align="left" width="25%" />
Jack Hoxley <small>[</small><small> Forum FAQ | Revised FAQ |

Topic Locked

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

Sign in to reply to this topic.