David Harris's Technology Blog

ColdFusion, Flex, and other stuff...   (and 341,536 hours, 33 mins in to my plan for global domination)

Search:

Calendar:

Sun Mon Tue Wed Thu Fri Sat
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31

Subscribe:

Enter your email address to subscribe to this blog.

Archives By Subject:

Tags:

action script adobe air ajax cfug coldfusion flash flex frameworks free software fxug general jpgmetadatareader mac off topic opensource papervision spry

Recent Entries:

No recent entries.

Top Posts:

Recent Comments:

Top Commenters:

My Links:

RSS:


PaperVision3D/Flex2 Carousel v0.2

I've been chatting online to someone who knows more 3D than me (which isn't hard to know more!), and her advice to me was "Maths is your friend".

This is good advice, and I am attempting to learn about the "z" and radians etc...

...but...

in my previous post I put up a version of a Carousel I am working with and the images in the carousel didn't face away from the center correctly.

So I asked on the PV mailing list with the example of the code I was attempting to work this out:

planeArray[i].plane.rotationY = rotationRadians * 180 / Math.PI;

John Grden said:

[Quote]

maybe you could create a dummy object in the middle and tell the planes to look at it?

scene.addChild(new DisplayObject3D("center"));
... then with your planes:
var obj:DisplayObject3D = scene.getChildByName ("center");
plane.lookAt(obj);

...but it's alot easier than doing the math ;)

[/Quote]

And he is right!

He also provided the FPS meter at in the app.

Thankyou John!

this is what it is like now:

My PaperVision Playing requires Adobe Flash Player 9. Get Adobe Flash..

Comments
Hello David.

I have downloaded your carousel and it is very inpressive.

But my question is the following one, is it possible to put several differents images in this carousel.

As for me I would like to be able to load dynamically a array of images and show the result in the carousel

I tried but without result for the moment.

Can you help me please ??

Sincerely

Yann
# Posted By yann | 7/19/07 1:40 AM
Sorry if my english is incorect but I am French.

I hope you will help me.

Bye...
# Posted By yann | 7/19/07 1:51 AM
http://www.citroen.co.uk/home/#/home/

see the above links
how can I create this kind of slider? If there is different sizes images? I have tried carousel method but facing problem to x,yrotation and z axis problem.

Here is my demo link :http://www.demo.talash.net/~demo/design/ria-demo/downloadCenter/pv3d/
Here is my source code:http://www.demo.talash.net/~demo/design/ria-demo/downloadCenter/pv3d/pv3d.zip
# Posted By Arindam | 7/20/10 12:38 AM