[osflash] Interactive Planes and Axis Problem

adam ray adamray22 at hotmail.co.uk
Wed Mar 19 04:08:22 PDT 2008


Tim,
 
“Thanks,  
Can I use tweener with yaw, pitch, and roll, I'm having some trouble with that. 
Tim G.”
 
I have used tweener with PV3D, it is really simple to use with amazing results there are examples of me using it on my blog (www.allthatflash.co.uk , look at sound examples). However, I have not put the code up (yet) :(
 
Follow Matthias advice and join the PV3D mailing list and it might also be worth joining tweeners list.
 
I have just dug this out should help you out:
 
----- Original Message ----- From: <papervision3d-request at osflash.org>To: <papervision3d at osflash.org>Sent: Wednesday, January 23, 2008 8:00 PMSubject: Papervision3D Digest, Vol 16, Issue 278  > Send Papervision3D mailing list submissions to> papervision3d at osflash.org>> To subscribe or unsubscribe via the World Wide Web, visit> http://osflash.org/mailman/listinfo/papervision3d_osflash.org> or, via email, send a message with subject or body 'help' to> papervision3d-request at osflash.org>> You can reach the person managing the list at> papervision3d-owner at osflash.org>> When replying, please edit your Subject line so it is more specific> than "Re: Contents of Papervision3D digest...">>> Today's Topics:>> 1. Re: Tweening planes (Carlson, Jonathan David)> 2. Re: Audio Visualisation 05 (Tyler E)> 3. Re: Audio Visualisation 05 (xero)>>> ---------------------------------------------------------------------->> Message: 1> Date: Wed, 23 Jan 2008 14:43:09 -0500> From: "Carlson, Jonathan David" <jdcarlson at liberty.edu>> Subject: Re: [Papervision3D] Tweening planes> To: <papervision3d at osflash.org>> Message-ID:> <84A543082108AB4F9EA26B76A935598C0244E50C at LUEMS03VS.University.liberty.edu>>> Content-Type: text/plain; charset="us-ascii">> Worked perfectly! Thanks a lot Zeh :)>> Jonathan Carlson> Creative Web Developer> Liberty University> jdcarlson at liberty.edu> -----Original Message-----> From: papervision3d-bounces at osflash.org> [mailto:papervision3d-bounces at osflash.org] On Behalf Of Zeh Fernando> Sent: Wednesday, January 23, 2008 3:10 PM> To: papervision3d at osflash.org> Subject: Re: [Papervision3D] Tweening planes>> Apparently your plane is very simple, there are not enough triangles for>> a good distortion so you'll see them skewing when you try to rotate it> instead of distorting accurately. Create your plane instance with more> segments (check the parameters of the Plane constructor) and it should> be fine.>> Zeh>> Carlson, Jonathan David wrote:>> Hey guys,>>>> Had a quick question about tweening planes...I'm using tweener to flip> a>> plane to its other side, and when I call the tween it seems to morph> the>> picture as its tweening, instead of a smooth transition. How do I fix> this??>>>> You can see the swf at>> http://www.liberty.edu/media/9930/temp/coverflowTest.html>>>> The code I'm using is...>>>> container = this.createEmptyMovieClip( "container",>> this.getNextHighestDepth());>>>> container._x = Stage.width/2;>>>> container._y = Stage.height/2;>>>> scene = new MovieScene3D( container );>>>> camera = new Camera3D();>>>> camera.z = -1000;>>>> camera.zoom = 1;>>>> camera.focus = 500;>>>> var material :BitmapAssetMaterial = new BitmapAssetMaterial(> "albumcover" );>>>> material.oneSide = false;>>>> var plane:Plane = new Plane(material);>>>> plane.x = (container._width /2);>>>> plane.y = (container._height / 2)-90;>>>> plane.z = 0;>>>> scene.push(plane);>>>> var container:MovieClip = plane.container;>>>> container._alpha = 50;>>>> container.myparent = plane;>>>> container.onRollOver = function()>>>> {>>>> Tweener.addTween(this,{_alpha:100,time:.5});>>>>> Tweener.addTween(this.displayObject3D,{scaleX:1.5,scaleY:1.5,time:.5});>>>> };>>>> container.onRollOut = container.onReleaseOutside = function()>>>> {>>>> Tweener.addTween(this,{_alpha:50,time:.5});>>>> Tweener.addTween(this.displayObject3D,{scaleX:1,scaleY:1,time:.5});>>>> };>>>> container.onRelease = function()>>>> {>>>> if(!Tweener.isTweening(this.myparent)) {>>>> var tempRot = Math.abs(this.myparent.rotationY - 180);>>>> Tweener.addTween(this.myparent,{rotationY:tempRot,time:.5});>>>> }>>>> };>>>> camera.x = container._width / 2;>>>> camera.y = container._height / 2;>>>> scene.renderCamera( camera );>>>> Any ideas?? Thanks a lot, the mailing list, wiki, etc have been a huge>>> help so far, been wanting to get into Papervision for awhile now...>>>> Jonathan Carlson>>>> /Creative Web Developer/>>>> /Liberty University/>>>> /jdcarlson at liberty.edu <mailto:jdcarlson at liberty.edu>/>>>>>>> ------------------------------------------------------------------------>>>> _______________________________________________>> Papervision3D mailing list>> Papervision3D at osflash.org>> http://osflash.org/mailman/listinfo/papervision3d_osflash.org>> _______________________________________________> Papervision3D mailing list> Papervision3D at osflash.org> http://osflash.org/mailman/listinfo/papervision3d_osflash.org>>>> ------------------------------>> Message: 2> Date: Wed, 23 Jan 2008 11:46:57 -0800 (PST)> From: Tyler E <tyleregeto at hotmail.com>> Subject: Re: [Papervision3D] Audio Visualisation 05> To: papervision3D at osflash.org> Message-ID: <15050271.post at talk.nabble.com>> Content-Type: text/plain; charset=us-ascii>>> Very nice!>>>> Mr.doob wrote:>>>> http://mrdoob.com/#/63/ + FFT = http://mrdoob.com/#/67/>>>> Clicking loads another tune.>>>> Hope somebody finds it (or the sources) interesting.>>>> Cheers,>> Mr.doob>>>>> -----> Tyler Egeto> My site is http://tyleregeto.com TylerEgeto.com - Feel free to drop by.> -- > View this message in context: > http://www.nabble.com/Audio-Visualisation-05-tp15048586p15050271.html> Sent from the Papervision3D mailing list archive at Nabble.com.>>>>> ------------------------------>> Message: 3> Date: Wed, 23 Jan 2008 14:48:06 -0500> From: xero <xero.nu at gmail.com>> Subject: Re: [Papervision3D] Audio Visualisation 05> To: papervision3d at osflash.org> Message-ID:> <b0a8f07c0801231148s47de73eal4dbcbd83bf1cf201 at mail.gmail.com>> Content-Type: text/plain; charset="iso-8859-1">> your way beyond rad!> thanx again for the sources!> ____ ___> \ \/ /___________ ____> .\ // __ \_ __ \/ _ \> ./ \ ___/| | \( <_> )> /___/\ \___ >__|---\____/> | \_/ \/ |> | xero harrison |> | x at xero.nu |> | http://xero.nu |> | http://fontvir.us |> | http://xero.owns.us |> `---------------------'>>>> ---------- Forwarded message ---------->> From: "Mr.doob" <info at mrdoob.com>>> To: papervision3D at osflash.org>> Date: Wed, 23 Jan 2008 10:43:31 -0800 (PST)>> Subject: [Papervision3D] Audio Visualisation 05>>>> http://mrdoob.com/#/63/ + FFT = http://mrdoob.com/#/67/>>>> Clicking loads another tune.>>>> Hope somebody finds it (or the sources) interesting.>>>> Cheers,>> Mr.doob>> -->> View this message in context:>> http://www.nabble.com/Audio-Visualisation-05-tp15048586p15048586.html>> Sent from the Papervision3D mailing list archive at >> Nabble.com<http://nabble.com/>>> .> -------------- next part --------------> An HTML attachment was scrubbed...> URL: > http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20080123/fd3bdd01/attachment-0001.html>> ------------------------------>> _______________________________________________> Papervision3D mailing list> Papervision3D at osflash.org> http://osflash.org/mailman/listinfo/papervision3d_osflash.org>>> End of Papervision3D Digest, Vol 16, Issue 278> **********************************************  
_________________________________________________________________
Get Hotmail on your mobile, text MSN to 63463!
http://mobile.uk.msn.com/pc/mail.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/osflash_osflash.org/attachments/20080319/87899d95/attachment-0001.html 


More information about the osflash mailing list