Jump to content
  • Advertisement

Archived

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

risingdragon3

'Lasers'?

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

Advertisement
I don`t know what you just said.
But...if you need a quad to face toward a line, you are simply taking a normal and finding a quad that fits its parameters.
Might that help ?

Bugle4d

Share this post


Link to post
Share on other sites
Yeah, you''re looking for billboarding. There are probably tutorials hanging around that explain it pretty well - just search for billboarding tutorial opengl or the like. Basically, you''re going to be getting the modelview matrix and drawing your quad based on the up and right vectors which you can derive from it.

Later,
ZE.

//email me.//zealouselixir software.//msdn.//n00biez.//
miscellaneous links

[if you have a link proposal, email me.]

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!