Flex2 Effects with Papervision3D

Tink’s just coming out with his EffectPV3D for Flex2 at the London FPUG meeting tonight and here’s a sample of what he’s going to be showing. Very easy to implement and use in Flex2 apps and he gives 2 choices right now: Flip and Cube.

He’ll be releasing the code sometime this week \m/

Papervision3D: Photo Mosaic

PV3D Mosaic

Check this out – Louie Penaflor has started work on a 3D photo mosaic app and this first little demo \m/’s ! Of course, the only enhancement I might make is to show the Star Wars logo rather than Superman, but hey, it’s not my gig now is it ;)

Nice work Louie! Louie was in the Toronto PV3D workshop – glad to see he got SOMETHING out of it!

Interactive Materials Video Demo

I did a similar demo at the RMI classes in Toronto this last weekend and some of the students asked if I would post notes or a tutorial online about how to do this. So, here’s a quick 5 minute demo on how to make a movie, add some components, and with minimal code, make it interactive on a 3D object.

This demo was done with the new Papervision3D 1.9 and the InteractiveSceneManager, but it would work with 1.5 and the current ISM nearly the same way.

Here’s the code:
[as]
import org.papervision3d.objects.Plane;
import org.papervision3d.materials.MovieMaterial;
import org.papervision3d.scenes.Scene3D;
import org.papervision3d.cameras.FreeCamera3D;

// create Sprite container to draw into, add to stage and center
var container:Sprite = new Sprite();
addChild(container);
container.x = stage.stageWidth * .5;
container.y = stage.stageHeight * .5;

// create Scene3D and Camera – pass ‘true’ as the 2nd argument to make the scene interactive
var scene:Scene3D = new Scene3D(container, true)
var camera:FreeCamera3D = new FreeCamera3D();
camera.zoom = 11;

// create MovieMaterial to use on the Plane object
var material:MovieMaterial = new MovieMaterial(movieSkinContainer, true, true);
// make the material interactive
material.interactive = true ;
material.oneSide = false;
material.smooth = true;

// create the plane to the same dimensions as the movieclip
var plane:Plane = new Plane(material, 250, 250, 10, 10);

// add to the Scene3D
scene.addChild(plane);

// add listener for ENTER_FRAME to render the scene
addEventListener(Event.ENTER_FRAME, handleEnterFrame);

function handleEnterFrame(e:Event):void
{
// rotate the scene on the y axis
plane.yaw(.2);

// render scene
scene.renderCamera(camera);
}
[/as]

Get the FLA and make sure you're sync'd up with the Phunky branch in the google code repository

Mac Book Pro is finally here! Thank you

opening
firingup

I was finally able to get my Mac Book Pro last Wednesday and I was in such a rush to get it up and running AND prepare for the Toronto PV3D classes, that I had to wait until now to post about it!

I FREAKIN’ LOVE IT!!

In 1.5 days I was completely switched over to the mac and up and running with VMWare. I’m about 90% on the mac at this point, but still use XP for 3D studio max and FTP (ok the ftp is just because I’m lazy and I have all of my favorites that I brought over). FlexBuilder 3 rocks on this thing, and I’ve been able to get SVN/Perforce working just fine – which was going to be a huge deal if I couldn’t get that working properly.

I went ahead and grew a backbone and brought it on the trip to Toronto for the PV3D classes and left my dell at home :) that was a bit nervy but it worked out great and I never even realized I was on the mac. WiiFlash server worked fine, 3D Studio Max lit right up and other than those 2 apps, I was fulltime on the mac side of things for the classes.

Anyway, it’s still a mind blow how many people pitched in and helped out – really very humbling and completely cool experience to say the very least. I can’t really thank everyone enough!

LOVE YOU GUYS/GALS!

\m/

Posted in Flash. 7 Comments »

Export that Spline from 3D studio Max and use it in Papervision3D

image


This is a screenshot from Jim Armstrong’s site – it shows a spline he created in 3D Studio Max. He’s written a Max script that exports the spline data to an xml file and then loads that into his 3D Bezier Spline object for use with a 3D engine like Papervision3D.

The result is VERY VERY cool – he’s created a flex demo where by a red sphere follows along the spline. You can choose to attach the camera to the spline and it’ll look back to 0,0 (point of origin). What you get is a very smooth animation along the spline path he created in 3D Studio Max.

This will definitely pave the way for this type of object and camera control

check out the demo – the files are available for download as well

MAX is going to be friggin’ huge this year

max_signups

YIPES – Check out the post over on Ted’s site – apparently the 4 hotels they had lined up are booked solid and sold out – this is going to be a massive conference – I can’t wait! if you haven’t booked your hotel yet, you might want to get on the horn and do that ;)

I’m listed as speaking on the last day from 3pm to 4pm and I’ll be talking about Casual Gaming and Papervision3D…and Star Wars ;) So, if you’re not gone or too tired by that time, come on by and check it out!

New Audi microsite – Papervision3D

Flash team from NEUE DIGITALE GmbH just put out a new Audi Microsite. The intro alone rocks \m/ - the particles swirling around are done very well. Take the virtual drive - this is all done very very well and looks/sounds incredible!