Anyone got a fix for rotating billboards?

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
c_olin3404
Posts: 67
Joined: Fri Jan 23, 2004 5:04 am

Anyone got a fix for rotating billboards?

Post by c_olin3404 »

I've seen a bit of talk about how it is impossible to rotate a billboard... and this kinda sucks for all of us making fps's... all i need to do is rotate the billboard along the z axis... has anyone created a fix for this? i looked into fixing it myself but i only screwed it up more :oops:
thesmileman
Posts: 360
Joined: Tue Feb 10, 2004 2:20 am
Location: Lubbock, TX

Post by thesmileman »

Ummm....doesn't a billboard always face the camera? I am pretty sure that it does. Try it.
Guest

Post by Guest »

:P ... i know.. lol

I mean rotate it along the z axis
calimero

Post by calimero »

unfortunatly I have no answer but I'm interested in the problem.
Will irrlicht support rotating billboard in a next version ?
And what about axial billboard (not sure of the name) (example : to implement object with cylindrical symetry like some trees)
StuCollier
Posts: 52
Joined: Tue Mar 30, 2004 12:16 pm

Post by StuCollier »

Do you mean to create DECALS ? OR do you want the "billboard" to rotate around the Z Axis ?
StuC
Freeware games
www.ovine.net
calimero
Posts: 45
Joined: Sun Aug 08, 2004 4:31 pm
Location: Nice, France

Post by calimero »

I put some code in the "opendiscussion" forum to implement "axial" billboard. please try it to see if it suits your needs.

for rotation along the Z axis you have to set the "orientation" vector to something like vector3df(0,0,length).
Post Reply