I’ll be talking Text Effects at FITC Amsterdam 2009

Thursday, October 30th, 2008

I got an email earlier this week from Shawn Pucknell Confirming that I’d been accepted as a speaker for FITC Amsterdam this year, but I didn’t really believe it until I saw my pretty face on the website.

I spoke about Text Effects with AS3 at MultiMania when AS3 was still relatively new. This time around, I will be taking my Text Effects arsenal further with the possibilities provided by flashplayer10. I’ve got a TON of ideas, I guess the challenge will be to fit it all into one cohesive presentation. I can guarantee that it’s gonna be cool though, I’ve been planning V2 of the Text Effects presentation for a long time now :)

More info : Speaker profile and Presentation Write up

Can’t wait! See you there!

The Flash Bar!

Thursday, October 30th, 2008

I must have walked past this a few hundred times without noticing it. Indeed, ’tis not an exuberant establishment, but all the same, this morning I was astonished to find myself face to face, with :pirate: THE FLASH BAR :pirate: :

picture of the facade of flash bar in brussels

I’m sure the old geezer at the door wrote parts of the core flashplayer, and is asking the hesitant youth to recite some obscure low level code in exchange for admission into the bar…

Screw the Old Ship, The Flash bar :buttrock: IS HOTT :buttrock:

This epicenter of awesomeness is yours to experience just off Place Stephanie in Brussels :

View Larger Map

Since there is no “flash scene” to speak of in Brussels, I propose a monthly “Flash Geek Drinkers Club” meeting. Who’s in? I’ll even bring along my Flash Strips for the first meeting!!! Shit, maybe we could go ahead and bring a projector rotating Gay Bar for the entire duration of our meeting!

:ooh:

Trying out fp10 3d features partII : Z sorting, truly simple shader, nested perspective

Wednesday, October 22nd, 2008

Continuing on with the basics, heres a few more tests. Just to clarify from last time, all of this is achieved using only the x,y,z, rotationX, rotationY and rotationZ properties of plain old Sprites. This is what I find so awesome about the new flashplayer10 as3 features.

Sure, the performance and rendering capabilites are no match for what developers have at their hands in games consoles etc. (this is nothing new or surprising). What I’m really digging is that anyone with a basic understanding of display object programming in as3 can jump into doing fairly cool 3d. Just grab your bag of flash tricks and take them to another dimension (har har ;) ). Seriously, everything works more or less exactly as I wanted / expected, and is a real pleasure to code. Reminds me of of the enthusiasm when I was learning to program with flash5 and 6. :thumbsup:

Anyway. Moving on, z-Sorting :.

screenshot of cube with simple z sorting

There is this ROCKING little method:

[Sprite].transform.getRelativeMatrix3D(parent).position.z;

Here’s what it does:

  • In the case of the cube. I created a parent Sprite, called “cube”.
  • In it, I created 6 nested Sprites with a square graphic. I moved, and rotated these into positions which constitute a cube.
  • Rotating the parent “cube” (with rotationX,Y and Z) results in what you see in “3) CubeTest”.
  • To sort these sides, all I need to do is run the afore mentioned function, which returns the current z position of the nested clips.
  • With this knowledge, it just takes a simple loop to sort the display list. See an example here.

Simple shading:


screenshot of cube with simple z sorting and simple shading

Using that same Z value which I used to sort out the sides of the square, I just added a dark layer on top of each “side button”. On every render, I set its trasparency equal to a proportionate value of Z and the maximum and minimum z (possible for the sides of the rotated cube). It’s not phong or gouraud shading, but it’ll fool the novice :) Again, a real “flash” feeling.

Same thing but with a bitmap material (read simple sprite).


screenshot of cube with simple z sorting, simple shading using bitmap materials

Nested Perspective:

No rocket science here either, just curious how changing the z of a nested clip would act out…


screenshot of nested perspective menu test

With a little more work, I think something like the Vaio10 menu could be achieved. Same goes for the cube menu above and the Pioneer Kuro Project menu.

As a matter of fact, I can think of several popular papervision menus which can be reproduced using very basic flashplayer 10 AS3 features. I’m guessing this is more than welcome news to the more “designer flashers” as opposed to the “programmer flashers” (who also get their share of new FP10 features, which I’ll be exploring in upcoming posts). All good :)

As promised, here are the sources. This is a Flex project, in order to work with it (at the time of writing), just follow these simple steps:

  1. Download a nightly build of the Flex3 sdk (or gumbo) dating later than May. (more details)
  2. Copy the sdk into your flexbuilder sdks folder and create a Flexbuilder project, adjusting the preferences so that the compiler targets flashplayer10 and the new sdk. It’s dead easy, see details here.

Again, here is the link to the test app

I would love to hear/see of anyone that decides to use this “test set up”. Enjoy!

Trying out flash player 10 3d features

Thursday, October 16th, 2008

Nascom was kind enough to let me spend some work hours investigating the new features of flash player 10. Naturally the first step was to check out the 3d features. I built a quick “testing” environment. Each test is pretty self explanatory, but if that’s not enough, I included some notes attached to each experiment in the flex app. Behold the first 3 tests (but install player 10 first)…

Be sure to drag the vanishing point…

basic flash player 10 3d behaviour

The frame rate is not bad, even with a ton of shapes:

basic flash player 10 3d performance test

Creating a cube… lookout papervision ;)

flash player 10 3d cube test with color materia

Ok, so the cube was not so impressive due to the “layered” nature of flash player10 3d. I’m convinced that through the “hackish” nature of the flash community, there will soon be enough “clever” implementations that will be small in filesize, but will fool the eye. Remember, these cubes can be created and tweened on the timeline… Here’s a slightly more convincing “wireframe” version :


flash player 10 3d cube test with wireframe material

try out the flash player 10 3d test runner

More tests coming soon. I’ll be posting the code as well.

Vaio10 site is live!

Tuesday, July 15th, 2008

:bubbly: Woot! :bubbly:


Actually, it’s been live since last week, but it was deployed with a couple of glaringly obvious bugs, so I waited a bit with the announcement ;)


http://club.vaio.sony.co.uk/clubvaio/gb/en/vaio10/

screenshot of vaio10 website



I’m really happy with how this project turned out. Enough time and budget to keep the code clean, Even enough to spend on the design details :) I actually had dinner with the wife and kids a few times during the week :eek: . The only regret I have is not going for fullscreen, performance is fine (on my machine anyways ;) ). Maybe we’ll do an update when papervision3d rolls out with a flashplayer 10 release. :D


For the full story, read my entry from the nascom blog :

http://blog.nascom.be/59/vaios-10th-birthday-with-a-papervision-site

:buttrock: . :buttrock: . :buttrock: