Flash :: Papervision3D Coordinate Axes?
May 25, 2011
I have a flash application and I use papervision3d library. I put my objects to the scene, no problem but I also want to show the coordinate axes (x,y and z) to user. Is there any way to show these axes?
View 2 Replies
Similar Posts:
Mar 31, 2010
I have 3 square. smallest square s3 is inside s2. s2 is in side s1. each is 10px larger [code]how can I find the coordinate of child in its parent's coordinate system?
View 1 Replies
Sep 8, 2011
I would like to scroll content in a Movie Clip (size: 10000 x 8000 px) with Flash Scrollpane component (AS3). However, I want to make the content scroll in both X & Y axis instead of along of the scrollbar axis. How can I achieve this?
I'm using Adobe Flash CS5 & AS3.
View 1 Replies
Jun 24, 2010
When I programmatically create a PlotChart starting w/ no series and adding series w/ own scaling and verticalAxes (and Renderers but not necessary for behavior error), the axes and data show, but the default axis controls all scaling and the other axes are erroneous. Thus, the yValue magnitudes do not correspond to their associated axes and mixing series w/ grossly different orders of magnitude squishes all but the largest into indistinguishable floor values. I cannot null out the default vertical axis as it gets an null pointer error. [Click anywhere on the chart to add the next series.]
package
{
/*
* Attempt to dynamically create graph w/ varying series. Having difficulty getting axis to render correctly based
* on sets of series. Having trouble getting more than one series. I can't munge the yValue property because in my
* actual code all of the data elements are instances of the same class with properties akin to series, xValue, and yValue.
[code]...
View 1 Replies
Apr 28, 2009
I have a dynamically created chart and I need to add a horizontal and vertical axis in a script. I can't put the chart into MXML because I'm dynamically changing the chart type, deleting and creating a new chart. Therefore, the variable that I use to create the chart, an instance of chartBase, doesn't have either a horizontalAxis or verticalAxis. How do I assign to them if they don't exist? Should I be using a different type? The graphs I want to use are line, bar, and HLOC and/or candlestick.
View 1 Replies
Apr 28, 2011
I'm trying to make a simple cube menu. The rotation is done by buttons. After finishing my code, im having some troubles with some rotations of the cube.
[Code].....
View 0 Replies
Oct 19, 2011
i have a movie clip calle "A" i want to rotate it around its individual axes....xand y seperately the following script rotates the entire movie clip
_root.A._rotation+=50;
but say i just want to rotate the x axes and not the y..how do i do it?
View 1 Replies
Mar 14, 2005
i'm having a problem with the displaying of the x & z axes coordinates. it seems that when i am in postive x & z the always have negitive coordinates displaying. it seem that the whole x n z axes have a wrong coordinates. is there any way to solve the problem to the following code? or are there ways easier to rewrite the code?
Code:
onClipEvent (load) {
// position of origin
origin_x = 300;
origin_y = 200;
[code]....
View 1 Replies
Mar 14, 2005
i'm having a problem with the displaying of the x & z axes coordinates. it seems that when i am in postive x & z the always have negitive coordinates displaying. it seem that the whole x n z axes have a wrong coordinates. is there any way to solve the problem to the following code? or are there ways easier to rewrite the code?
Code:
onClipEvent (load) {
// position of origin
origin_x = 300;
origin_y = 200;
[code]....
View 1 Replies
Jun 26, 2010
I need to develop a cube that contain 10 little cubes and manipulate everyone like an object.
View 1 Replies
Mar 8, 2010
I'm updating the start and end points of a Line3D object in Papervision3D. The end result works fine but there seems to be a lag from when I move the objects and for the line to redraw in the right position. I'm using the following code:
connectingLine.v0.x = startDisObj.sceneX;
connectingLine.v0.y = startDisObj.sceneY;
connectingLine.v0.z = startDisObj.sceneZ;
[code].....
View 1 Replies
Apr 30, 2010
I'm doing a project using FLARManager augmented reality and the Papervision3D library. Unfortunately, Papervision is giving me a lot of problems.My scene3D contains a DAE model and a plane. The plane has a MovieMaterial and is playing a video through FLVPlayback. The DAE and the plane are both inside the same DisplayObject3D container. FLARManager transforms the container so that everything appears through the angle of the marker.
My DAE model is a TV, the screen of the TV is transparent. I want to have my Plane inside of my DAE model, so that the Movie playing on the plane material appears to be what is playing on the TV.The problem is that, even if the plane has a lower Z index then the TV, it always appears in front of the TV.
How do I have my plane and its MovieMaterial appear behind the TV, so that some of its corners are cut out by the TV and the part of the TV thats transparent let me see the Movie? If its impossible, anyone has an idea of how I could get the desired effect of having a movie play on the screen of my DAE tv model?
View 1 Replies
May 10, 2010
im very new at papervision3d, i know in order to display a .DAE model i use this
[Code]...
But how can i do in order to use VRML models (.WRL).
View 1 Replies
Apr 5, 2011
ive got two template which ive seen online which i would like to make now purchasing them cost quite a lot so im looking to make these templates one or the other here the info on the templates:
template 1: templateaction.com/space-cube-flash-cms-template
template 2: templateaction.com/cube-flash-cms-template
on the website if you click live preview you will know what im looking for. now i researched a bit and notice that the cube in these templates is made in papervision3d and found a tutorial on that:gotoandlearn.com/play.php?id=68 now how can i make one or the other of these templates as their are the exact thing im looking for, for my project can anyone help me out. editing the cube is not a problem i could make it on click go to websites or scenes in flash, but the thing is im not a expert in flash or papervision3d so i need help to get the type of features in the templates on the cube.
View 1 Replies
Sep 3, 2009
How to anti-alias a collada model in papervision3D?I've tried searching everywhere but didn't find any ways to anti-alias models. I've also tried blurring it a little as an anti-alias method but that only f-s it up and makes it look worse.How do I do that properly?
View 1 Replies
Jan 19, 2010
What is the best technique to apply anti-aliased text as texture on cube using papervision3d?
make dynamic textfield, convert it to moviematerial then apply it to the faces of cube. Design a bitmap using any picture editor and make a bitmapFileMaterial to apply on faces of cube.
View 1 Replies
Mar 8, 2010
I'd like to keep an object appear to remain in the same place while moving the camera.I'm using this scriptto orbit an object using a mouse drag. But I have an object in the scene that I would like to keep still. How to I do this?
View 1 Replies
Dec 18, 2010
So I know that PV3d looks quite dead. But it is documented over the internet much better. So I decided to develope my product using old but good PV3d engine. Time goes on so I plan to port it sooner or later to Away3d. So I need a list of things that aere not in Away3d that I have in PV3d. And a list of generall use diffrencies (use of cameras, viewports, etc). So where to get comparing list of papervision3d vs Away3d?
View 1 Replies
Apr 1, 2011
i need to make a loader on flash or a simple label who say "wait, the model is loading". This is the part of my script were i load the model, but how to control the loading process.
Code:
private function _onInit(e:Event):void {
_earth = new DAE();
_earth.load('model/hfarm.DAE');
[code]....
View 2 Replies
Aug 19, 2011
i have an animated collada of envelope module that have an animation of opening itself
now for seeing both sides of the envelope i set the
oneSide = false
i added for tests a ColorMaterial.
but what i want is to have 1 color in the outside faces and another color in the inside faces
View 2 Replies
Oct 24, 2011
I have an object in Papervision3d that the user needs to be able to zoom into a considerable amount. At Flash's maximum bitmap size of 2880x2880 the texture is too blurred at the maximum zoom. Even going beyond this to the sizes available in Flash 10 do not help.Is there any way to build a BitmapMaterial that can pull from a set of tiled 2880x2880 images?Is there any other way to load a larger texture into Papervision3D?
View 1 Replies
Nov 7, 2010
I have a problem when one B.swf file is loaded to another A.swf file.A.swf file size is 400x400.B.swf file size is 100x100.B file has a movie clip (MC) which is animated and position of this movie can be from Y:-100 to Y:200. B file is loaded into the center (X:150, Y:150) of the A file.When B file is loaded, then animation starts. I have a problem: I can see animated movie clip B out of B screen scope (for example: when B.swf file movie clip has _y = -100 I still can see that movie clip in A.swf). I am expecting that movie clip will not be shown if Y position becomes negative
View 1 Replies
Jul 13, 2010
trying to located imbedded movie symbols @ an exact location (relative to the root) and the X & Y values differ depending where the higher lvl movie symbol is located.
View 5 Replies
Jan 16, 2010
I think I did this before but can't find the code. Flash as many other graphical frameworks use the top-left corner as the coordinate origin (0,0) because it's how the underlying memory model is by convention. But it would be really simpler for my calculations if the origin was in the center of the stage, because all the game revolves around the center and uses a lot of trigonometry, angles, etc. Is there some built-in method like Stage::
setOrigin( uint, uint );
or something like that?
View 2 Replies
Nov 15, 2010
PHP Code:
var MapBtnArray:Array = [];
var MapBtnSprite:Sprite;
var i:int;[code].....
I'm using to code above to create several sprite on the stage, but when I click on the sprite, the index of each trace work just fine (output of J is according to the target i click); however MapBtnArray[j].x keep equals to "0".I want the coordinate of the sprite on stage, how come what i get is "0" instead?
View 3 Replies
Dec 12, 2011
I want to create a simple array of points, representing a clockwise set of coordinates at 45 degree increments, such that the array would be (starting from 12 o'clock):
var coordArray : Array = [
new Point(0,-1),
new Point(1,-1),
new Point(1,0),[code]........
I'm looking for the most efficient way of creating this array (ideally with the coordinates themselves generated through some sort of equation). What's the best way to do this? All I want to do with these is create a coordinate on the stage relative to the clips current coordinate in which to move, based on that clips, such that if the move distance for clips was 50px, and the clip had a depth of 0, it would move 50px in the coordArray[0] position, or 0*50 in the x direction, and -50px in the y direction (0,-1).
View 1 Replies
Oct 12, 2011
I am extending the Flash DownloadProgressBar component for use as a preloader with Flex. Is it possible to override the x and y coordinate position of the progress bar? (the default is to center the bar)
View 1 Replies
Jun 1, 2011
There is a serious issue I am facing with flash builder charts.
When I load the chart the first time I get this -
But if I refresh the page immediately in the same browser, I get this -
The second one is the expected one. This issue just repeats if I close the browser window and open it in a new browser window. For explaining properly, I am attaching the source code here -
[Code]...
View 1 Replies
Feb 14, 2012
Alright, so I've been struggling with this one since last night. When I create a new object (a new unit), and draw it to the screen (Flash does all the work there), the point at which it's first placed is considered its origin. That is, getX and getY will return the distance from that point... Why is that? Or how can I stop this?
[Code]...
View 2 Replies
Jan 9, 2011
I'm having some problems with Papervision and Flash CS5. Basically, it doesn't seem to work ... I successfully installed Papervision once before on Flash CS3 using the same technique.. which leaves me asking if Papervision is even compatible with CS5 ? I've searched high and low but I can't seem to find anything concerning CS5 in the FAQs or on the forums.
View 3 Replies