banner ad
Tuesday, January 17, 2006
3D Zoom menu

I was looking at the latest bbdo worldwide and matthew mahon site; noticed its a the latest trend; creating 3D navigations and using them as menu to watch the content.  Also notice that the guys at wefail.com used it alot.

Since a monitor screen can show you only two dimensions - width and height.  To show depth, we have to resort to various tricks, the most obvious being that as things go further away, they get smaller.  I already created this effect in my 3D perspective experiment.

On your screen, height is represented by Y (_y,_yscale,_height) and width by X (_x,_xscale,_width). Depth will be represented by Z.  Since flash is a 2D program, it does not have _z properties, but we will create one.

The menu is created by randomly placing elements on the XY axis and placing all Z to the same depth.  Thus creating a plane, our 3D camera renderer will render x,y,z coordinates and scale the items appropriately.


»comments

Tom said...

Hey, your work is trully nice!
I often refer to your code. I have a little problem with the back button, can you give the source of your? I want to make a background button so when you don't click on an element you rewind to begin.

Thanks a lot!

Tom


Dan Schmidt said...

Paul,

I've combined some of your code to TRY tocreate a WEFAIL type nav. If I didn't want to randomly place ojects with your above code but rather attaching specific clips on the stage, how would you suggest doing it?


Paul+Ortchanian said...

hi Dan,

I suggest you creat a 2D array in which you place all the clips x,y positions as such
myXYarray = new Array([0,0],[10,15],[x,y],[x,y],...);

and refer to them as such
clip.x = myXYarray[i][0];
clip.y = myXYarray[i][1];


Dan+Schmidt said...

Thanks Paul...

Thanks for all the info on your site. Great stuff.


dan said...

do you get into anywhere on your site centering these examples in a browser, not just in the Flash file. I know your site is not a forum for questions but there really isn't much similar anywhere else. this is a fun site to poke around in

ds


Mac Gunu said...

That was exactly what I was looking for... thanks for sharing these... good luck.. good work..


Name
URL
Email
*email address is not published
Remember Me
Comments

CAPTCHA






banner ad