Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

iliak

Point Sprite

This topic is 5493 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello in the current featured article, it says : "Point sprites were introduced in DirectX 8.0. They offer a nice advantage over the normal method of rendering particles. Normally you would create a rectangle using four view-aligned vertices set to the appropriate texture coordinates. With point sprites you can simply use one vertex for every particle! Therefore they require less bandwidth, so you can render more particles using point sprites instead of using the old method, and you don''t have to manually adjust the vertices to be aligned with the view vector." Is it possible to do the same in OpenGL (send one vertex for a particle) ? - Iliak -

Share this post


Link to post
Share on other sites
Advertisement
I don''t think so, not if you want textured particles. It has been a while since I''ve done any OpenGL though.

Share this post


Link to post
Share on other sites
ARB_point_sprite

Do you check the OpenGL Extension Registry at all ?

-* So many things to do, so little time to spend. *-

Share this post


Link to post
Share on other sites
ATI doesn''t support ARB_point_sprite yet, though they do have hardware support for point sprites under DirectX, so it''s only a matter of time.

Share this post


Link to post
Share on other sites
Ok, thx for the reponses.

Anyway, i''ll check if the extension is supported or not in my code.

What i want to do is to make a particle engine, so does any one have a good source or tutorial ?

Share this post


Link to post
Share on other sites
In that case, I assume that not all ATI cards support point sprites in DX8 and up (old cards like the Rage128 and stuff).

Could you tell me the oldest ATI card that supports DX8+ point sprites? I''m guessing that *when* ARB_point_sprites are added, these will be implemented for the same cards.

Sander Maréchal
[Lone Wolves Game Development][RoboBlast][Articles][GD Emporium][Webdesign][E-mail]

Share this post


Link to post
Share on other sites
AFAIK, the Radeon 8500 and better support point sprites in hardware.

EDIT: Previous ATI cards were conceived before the DX8 specs arrived, which is when point sprites appeared.

[edited by - Ostsol on October 7, 2003 8:35:08 PM]

Share this post


Link to post
Share on other sites
Hmmm.... Just looked at Nvidia''s site. My GeForce2 MX comes from the early DirectX 7.0 era. It still does point sprites though. Any chance that pre 8500 raedons also support point sprites? Like the Raedon 7200?

The reason i''m asking is because I''d like to convert my particle engine to point sprites, but I don''t want to cut out the older cards too much. GeForce2 minimum is okay for Nvidia cards, but a lot of people are owning older ATI cards as well. If it really is Raedon 8500 minimum then I''ll loose too much potential users if I go for pure point_sprite based systems.

Sander Maréchal
[Lone Wolves Game Development][RoboBlast][Articles][GD Emporium][Webdesign][E-mail]

Share this post


Link to post
Share on other sites
*shrugs* If they do, it''s probably in software. . .

On ATI''s site there''s a PDF with a list of extensions and the Radeons that support those extensions. There''s an experimental extension called ATIX_point_sprite and it is listed as only being supported by the Radeon 8500 and better.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!