Jump to content
  • Advertisement
Sign in to follow this  
cnagle150

Billboarding particle system quads.

This topic is 5402 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

I've read in books that they normally use the camera's right, up, and forward vectors to create the billboarded quads for particle systems. This works for quads that are far from the camera. But it doesn't look right for quads that are really close to the camera. Another technique would be to basically create the look at (right, up, and forward) vectors from the particle center to the camera's position. Although this method is more expensive, it looks perfect all the time. I was wondering whether game engines use both techniques? Perhaps using the first method for quads that are greater than a certain distance to the camera and method 2 for quads that are really close to the camera.

Share this post


Link to post
Share on other sites
Advertisement
When you use a ray from the camera to the particle position, your billboards will appear to turn as you walk through a cloud of them. You get a "parting of the Red Sea" effect which is often quite disconcerting. You also have to do more calculation per particle, so it runs slower.

But, try it. It might work for you.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!