Update – Code snippets will be placed ASAP

After request and feedback from friends I’ll also place code hilights/snippets in the post itself, if you than still like it or have feedback on the code leave a comment and use codexperiments.googlecode.com to get the source files. Cheers Paul for the feedback!

PV3D – Changing Cube Materials at runtime

A little demo illustrating how to change cube materials at runtime. In this demo you can click to go to the next side of the cube. Or just use your left and right arrow keys, _sidesLeftToRight = ["back", "right", "front", "left"]; _currpageID = 0;   private function updateSkin():void {  var faceName:String = _sidesLeftToRight[(_currpageID % _sidesLeftToRight.length)]; […]

Free Carlos Ulloa – Papervision3D – Audio Session

ActionscriptHero.org had a free session with Carlos Ulloa the 20th of Jan. You can download Carlos his session here in audio. Enjoy.

Just fun with dragging 3D Object

With many thanx to Andy Zupko. Next step adding more objects to it and apply some physics (JigLibFlash) to it. [UPDATE] Had to remove ground texture, file became way to big. /**  * with many thanx to: Andy Zupko  */ package {  // FLASH  import flash.filters.BlurFilter;  import flash.display.Sprite;  import flash.ui.Mouse;  import flash.display.Bitmap;  import flash.events.Event;   […]

The Eco Zoo, wins the S.O.T.Y

And yet another great year has passed by called 2008 and the winnen at thefwa is…. The Eco Zoo. Totally agree with the judges in this case, the guy who made it created his own 3D enigne for it called Sharikura 3D (I hope he is still working on it to make it opensource). Check […]

JigLib Flash + Papervision3D Demo

I had to play immediately with the JigLibFlash library. Like always there is a learning curve, but the syntax is at least better written/understandable than Box2DFlash, which doesn’t mean that I don’t like Box2DFlash, cause I do! In this example you use the mouse to move the magenta ball, when you keep your mouse at […]

JigLib Flash – 3D Physics Engine

It’s ported from the c++ open source physics engine JigLib. The current 3D rendering engine used in the examples is Papervision 3D. At the moment they are improving JigLibFlash and adding new features. They say it still in the early stages, but there is allready a really nice example up at jilibflash.googlecode.com. For the repository: […]

Papervision3D + Loading Collada

Playing around with collada (dae) files which use textures. You can get lots of models at google’s 3D warehouse, check it and start playing around with it. Its really easy! package { // import flash import flash.filters.BlurFilter; import flash.display.StageScaleMode; import flash.display.StageAlign; import flash.display.Sprite; import flash.events.Event; //import main papervision assets import org.papervision3d.cameras.Camera3D; import org.papervision3d.lights.PointLight3D; import org.papervision3d.render.QuadrantRenderEngine; […]

Fun with Ribbons3D

Old experiment I found with the ribbon3D class thought might as well post it. With many thanx to Soulwire for writing this class. Based on where your mouse positions it tweens to that location via bezier points. package {  // papervision  import org.papervision3d.core.effects.view.ReflectionView;  import org.papervision3d.lights.PointLight3D;  import org.papervision3d.materials.shadematerials.FlatShadeMaterial;  import org.papervision3d.objects.DisplayObject3D;    // tweenmax  import gs.TweenMax;  import […]

3D World – SimpleDemo

Simple demo showing the world in 3D, using a bitmap as texture combined with a phongshader and a shadedmaterial which combines the bitmap and the phongshader. For sure its not new, but its still fun. Here’s the code: package {  // tweenmax import gs.easing.Back;  import gs.TweenMax;    // papervision  import org.papervision3d.materials.shaders.ShadedMaterial;  import org.papervision3d.materials.shaders.PhongShader;  import org.papervision3d.core.effects.view.ReflectionView; […]

keep looking »