papervision/ AS3
- Started
- Last post
- 13 Responses
- ukit
This stuff, along with BlueOne's post, blows me away...
http://temp.roxik.com/datas/perf…
Anyone know of more good Papervision/AS3 links?
- zaq0
- Naygon0
wow.. that's amazing!!!
Check this blog for some video tutes
http://www.madvertices.com/
- zaq0
- designbot0
I was just about to post this:
"Where the hell do you get papervision? I looked at some other posts on qbn and all over the web and couldn't find jack. Is it open source?"
Then I found this (for anyone else looking)
http://code.google.com/p/papervi…
- ukit0
- mimeartist0
I'm trying to make the transition from doing code on the timeline to as3 and papervision... any clues to the best way to start... is that madvertices good? or should i learn as3 first?
- maybe a book on design patterns and oop would be a good place to startstupidresponse
- design patterns?mimeartist
- http://en.wikipedia.…)stupidresponse
- dammit, qbn cuts off the closing paren on the link, add a ) at the end for the right linkstupidresponse
- http://www.learninga… This is hands down the best book I've seenWarland
- stupidresponse0
i would suggest using version 2 "great white" instead of 1.5, it's a bit easier. you can only download it with an svn client though
- ukit0
mimeartist, I'm in the same place, was at the bookstore the other day and noticed that this book looked pretty good...
http://www.amazon.co.uk/Foundati…
It runs through AS3 from a beginner's perspective and covers physics and a little bit of 3D...I'd be interested to hear anyone else who has advice on learning this stuff though.
- visualplane_0
Ok, maybe someone knows here. I've tried posting on other forums without any answers so i'll try here. Basically I'd like to have let's say 2 interactive planes set with the MovieMaterial. Depending on the movement of the viewers mouse, i'd like the entire group to rotate like this:
http://www.dehash.com/?page_id=1…
I'm not sure if I would have to use the displayObject3d, but here's the code (if the codes get cut off, here's a clearer link http://board.flashkit.com/board/…
import org.papervision3d.scenes.*;
import org.papervision3d.cameras.*;
import org.papervision3d.objects.*;
import org.papervision3d.objects.specia...
import org.papervision3d.objects.primit...
import org.papervision3d.materials.*;
import org.papervision3d.materials.spec...
import org.papervision3d.materials.shad...
import org.papervision3d.materials.util...
import org.papervision3d.lights.*;
import org.papervision3d.render.*;
import org.papervision3d.view.*;
import org.papervision3d.events.*;
import org.papervision3d.core.utils.*;
import org.papervision3d.core.utils.vir... ouse;var viewport:Viewport3D = new Viewport3D(0, 0, true, true);
addChild(viewport);
viewport.buttonMode = true;var renderer:BasicRenderEngine = new BasicRenderEngine();
var scene:Scene3D = new Scene3D();
var camera:Camera3D = new Camera3D();
camera.zoom = 11;
camera.focus = 100;var mam:MovieMaterial = new MovieMaterial(face);
mam.interactive = true;
mam.smooth = true;
mam.animated = true;var plane:Plane = new Plane(mam, 300, 300, 6, 6);
scene.addChild(plane);addEventListener(Event.ENTER_FRA... loop);
function loop(e:Event):void
{<~~~~~~~?
renderer.renderScene(scene, camera, viewport);
}face.addEventListener(MouseEvent... faceClick);
function faceClick(e:MouseEvent):void
{
navigateToURL(new URLRequest("http://www.yaho…...
}- Oh yeah, the imports can probably trimmed...visualplane_
- mikotondria30
sure, just create 2 planes and add them to an object as children, rotate one compared to the other, and then in your loop event that you're triggering, simply change the y rotation of the parent object. You might get better performance out of MouseEvent.MOUSE_MOVE, rather than an enter frame....you seem to have the hang of it enough to make it work, I reckon..
- mikotondria30
so 'like':
var plane:Plane = new Plane(mam, 300, 300, 6, 6);
var planeTwo:Plane = new Plane(mam, 300, 300, 6, 6);
planeTwo.rotationY=[whatever angle]
var myNullHolder = new displayObject3D;
myNullHolder.addChild(plane);
myNullHolder.addChild(planeTwo);scene.addChild(myNullHolder);