Skip to main content
gamedev.net
🔒 Locked

particle system problems

Started by abuser 2 replies 1k views
Original Post
abuser
abuser
i''m using the snowstorm particle systems code from the book "opengl game programming." however, when i port it to my own program, something strange happens. particles fall in straight vertical strips of approximately 8-10 particles with little or no spacing. this makes it appear as if a long line is falling. i can''t seem to figure out what is wrong since the only parameters i changed were the origin, height, width, and depth of the particle system. the original code from the book can be downloaded at this site: http://www.primagamedev.com/tech/downloads/76153330/ch15.zip any help will be appreciated, thanks.
richardve
richardve
You're seeing 'vertical strips' because the particles are not facing the camera.
Have a look at this document by Nate Miller for more information about this.


Edited by - Richardve on August 4, 2001 3:41:27 AM
khawk
Take a look at the "Note" on page 441:

quote:

If quads are used, you''ll probably want to use billboarding so that they always face the user, as we discussed in the first section of this chapter.



Kevin
Admin for GameDev.net.
abuser8
abuser8
i implemented billboarding, but problem is still not solved. i can send you a screenshot of the problem if you''d like.

Topic Locked

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

Sign in to reply to this topic.