|
CoverFlow.zip ( 708.65k )
Number of downloads: 8
Hi,
I
am trying to create my own version of CoverFlow which can be seen in
iTunes (iStore). Basically its many textured planes translating on the
X and some rotation. When I started I thought it would be a piece of
cake. Oh how wrong I was. I am not doing this for any commercial use
but more my own personal learning and now it had become a mission.
I
can set the planes to there initial rotation and translation but am
having problems moving them after that. I have a slide bar which when
moved will call a function.
I have the function currently just
trying to move one item to the left a little but when I do it seems to
make the plane disappear.
Im not sure if its my method, if there is an easier way or if im just doing something wrong.
I
have attached a zip file of all my files. It would be great if someone
could take a look for me and let me know where im going wrong.
I hope this post helps others.
Many thanks and great work guys.
Use setBackSkin() to set a different skin for the back of the plane and make sure you can see it.
At
least then, you should be able to confirm you've successfully turned
off backface culling and you can tell which side of the plane is facing
the camera.
Of course, other things can make your plane disappear, but this is the most likely.
Oh,
I just re-read your initial post. If they disappear when you try to
move or rotate them using a slider, it is because you are not correctly
remembering their initial positions and setting all three values (x, y,
and z) of the rotation or translation vector.
That is most likely the problem. See Petit's tutorial for a detail explanation of and solution to the problem.
Cheers,
Bruce
I just added this FAQ.
Feedback welcome:
http://www.flashsandy.org/faq/noshow
Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)