ActionScript 3.0 :: Planes Which Are In Aranged As One At Behind Another?
Feb 11, 2011
i am building a application and new to papervision3d so i am facing a problum a) i have two planes which are in aranged as one at behind another and then these both pnales are in one cube , what happens when i rotate cube these planes intersect and some cuttings show up in the plane which is at ffront.
View 6 Replies
Oct 30, 2009
how to setup Planes with papervision, then retrieve them later?I've set up the 3d scene like this:
PHP Code:
var con:Sprite = new Sprite();
con.x = this.width * 0.5;
con.y = this.height * 0.3;
holder.addChild(con);
[code]....
but none of these methods seem to work,, possibly because you can't do the same things to Planes that you can to movieclips...(?)the scene.numChildren seems to work though.
View 1 Replies
Oct 21, 2009
The effect I would like to achieve is when the plane around the sphere is clicked, the sphere rotates so that the plane is in the middle of the stage. but there always some problems when i clicked the plane the sphere seems like never rotate to it's back.[code]
View 3 Replies
Sep 3, 2010
Following leeBrimlows tutorial using flarmanager, I am wanting to make a plane clickable that is housed in a container using the InteractiveScene3DEvent.
[Code].....
View 1 Replies
Aug 23, 2009
I'm just coming back to toying with 3d in flash. All my previous efforts were made in AS2 so drawTriangles() is liquid-awesome to me... Still, am I right in thinking that the UV mapping of drawTriangles is only really useful for two-triangle planar evaluations? In other words, there isn't any way to pipe in the UV map data required to skin a whole model - even a simple cube - in one call to drawTriangles, is there?
I got my hopes up when I saw I could draw the whole wireframe of an object in one call, but everything I read suggests the UV coordinates are relative to the vertices, not the indices. So I'm thinking that the UV value for a vertex can't be redefined for triangles sharing vertices as described by the index. Is that right? If so, I guess you could draw the whole thing in a single call if you threw away your index and passed all the unconsolidated vertex information. Seems like an awful waste if that's right.
View 1 Replies
Nov 9, 2011
I thought I would create a simple little game involving a skydiver who is supposed to be falling towards the ground, the problem I have got is the scrolling background is hidding the birds, planes and clouds objects which scroll up,
package
{
import flash.display.MovieClip;[code]......
View 2 Replies
Jan 13, 2010
I have added 2 text3D textfields for each plane that gets rendered via xml.Everything works fine, yet as more planes get added via xml the carousel slows down considerably.If I remove the text3D fields the carousel rotates very smooth and at normal speed. Is this just a limitation of text3D in Papervision3D or is there a way to optimize this better? Yes, smooth is set to false and images have been optimized.
View 1 Replies
Feb 23, 2010
I have mxml thingy, for example:
<mx:VBox id="isThisVBoxAwesomeOrWhat" width="500" height="500"
backgroundImage="@Embed('images/500x500.jpg')" verticalAlign="bottom"
includeInLayout="false"[cod
So, I have a Vbox names isThisVBoxAwesomeOrWhat that contains another VBox that containst two text fields.Now, further in the code I make a plane out of it so I can make a 3D object out of it, here is the snippet:[for i in totalPlanes]
...
var material:MovieMaterial = new MovieMaterial(isThisVBoxAwesomeOrWhat, true, true, true);
...
plane = new Plane(material, isThisVBoxAwesomeOrWhat.width, isThisVBoxAwesomeOrWhat.height, 10, 10);[code].....
So now I have my scene filled with planes made out of VBox composite as I wanted. I also have those planes in a linkedList, and what I would like to do now is to "SOMEHOW" access each individual VBox and it's composites for each individual plane.Something like this (obviously doesn't work! Just an example):
linkedList.node.data.VBox.VBox.Text[0]
so I could modify parameters on the fly. Or maybe I'm totally wrong on this and I should have as many Vbox'en as I have planes and id each individually. Whatever the case I can't figure out how to access children of the parent in this mxml example.
View 1 Replies