PDA

View Full Version : Rotations...



mkardesci
04-19-2003, 11:02 AM
Hi,

I am trying to create some sort of space simulation. What I did was I created random number of points on a sphere and then start to rotate this sphere. Which gives you the feeling that you're really in space. I tried to add some glowing stars. For this, I created textures and created quads and map the texture on it with some blending functions. My problem is when I started to rotate the whole scene, my quad is also rotating. Actually it is supposed to rotate but, I want it to show only the one face of it meaning that I want it to rotate it with the rest of the stars, but whenever it rotates it must always show the same face to me. Any idea how to solve this problem?

Thanks

HS
04-19-2003, 12:06 PM
What you want is called "billboarding" do a search on this and the advanced forum and you will get all the info you need.

Edit: fixed a typo...

[This message has been edited by HS (edited 04-19-2003).]