Posts Tagged ‘3D’

New Component: 3dCube

Monday, July 16th, 2012

This SWiSH Max4 component displays 6 images in a rotating cube. The cube rotates towards the current mouse position. Parameter options exist to change the size, alter the speed, border color / width and to load different images.

 

(more…)

New Component: LayerSpin

Tuesday, November 29th, 2011

This new component ‘LayerSpin’ allows you to add a layered 3D effect to your page. The effect can be applied so that the items Appear, Disappear or rotate continuously on the page.

(more…)

Component Spotlight: 3DSlide

Friday, October 15th, 2010

The 3DSlide component is included in the 2009.11.30 versions of Max3 and miniMax3. The example movie below demonstrates some of the effects that can be easily created with this often overlooked component.

(more…)

3D Cylinder Component

Monday, March 8th, 2010

A 3D looking cylinder can be drawn reasonably easily using two ellipses joined with a rectangle. Shading is then applied to give a 3D look. Although easy, it becomes tedious if a number of cylinders need to be drawn. To make the task easier, we have created a new SWiSH Max3 / miniMax3 cylinder component.

The component allows the size of the cylinder to be specified, as well as the 3 colors. This greatly speeds up the drawing process if multiple cylinders of different shapes and colors need to be drawn. The height measurement is the height of the rectangular middle section. The overall height of the cylinder will be greater. (more…)

Block-Buster text scroller

Wednesday, November 18th, 2009

Many users have asked how to do a 3-D scroll into the distance text effect as seen in some very popular science fiction movies. Although scrolling text is reasonably easy to achieve, it is far more difficult to give it the 3-D look as seen in the movies. We have done all the work for you and produced a component that you can simply drag onto the stage.

This component will work with Max3 and MiniMax3 with build dates of 20090904 or later, and although the component is not included with the 20090904 build’s installer, it can be download here.

(more…)

Case Study: Rotating a point in 3D – SphericalPoint class

Monday, June 2nd, 2008

Following on from our case studies on the WordPress tag cloud using the Wordsphere menu this little discussion on rotating points in 3D with script might interest you. A sample SWI is attached to get you going.

3D Point representation

Points are typically represented in 3D using the co-ordinates x,y,z. This representation is known as the Cartesian coordinate system. This form of representation works well when the points are to be mapped into a 2D space as x->x, z->y and y is represented via a combination of scale and alpha to represent distance from the observer.

2D representation of a 3D point

A 3D point specified in terms of x,y,z can be represented on a flash 2D stage as follows:

._x = x
._y = -z (z is assumed to be the vertical axis in the 3D space, positive z = up.)
._alpha = fa(y)
._xscale = fs(y)
._yscale = fs(y)

assuming

-100 < y < 100
fa(y) = y/4+75; (_alpha goes from 50 to 100 as y goes from -100 to 100)
fs(y) = (y+100)/2+50; (scale goes from 50 to 150)

(more…)


Switch to our mobile site