Flex - VideoMaterial Appears Pixellated In Away3D?
Aug 11, 2011
I'm working on a spherical movie viewer in Away3D & am having a problem when I apply a VideoMaterial texture to a 3D primitive. The video appears heavily pixellated, like it's being scaled or hugely compressed. When I apply a BitmapMaterial of a single still image from the video it appears fine, so I don't think the resolution of the video is the problem.
I found [this discussion][1] suggesting a solution by specifying the "fixedHeight" & "fixedWidth" when I call the constructor, but those arguements seem to have no effect, and I can't find them in the API either. I do see something called "lockH" & "lockW," [in the API][3], but I they don't seem to have any effect either.
[Code]...
View 2 Replies
Similar Posts:
Apr 8, 2009
I don't know if this would be more appropriate under the 3D forum but it could go either way. I'm having a problem: when I access the 3D rotation properties of a DisplayObject (specifically a MovieClip containing a Loader and some TextFields), it becomes bitmapped and loses its scalability. Is this supposed to happen, and is there a way to regain scalability after rotationX/Y/Z are set to 0.0?
View 1 Replies
Aug 10, 2011
Maybe the title is not self explanatory but in most iphone games eg you click the correct example and you see a +100 points mc appear and rise and alpha out. I did this with a png done in photoshop BUT not all goes well - it doesn't work.
[Code]...
It seens perfct but I can't see it work. The funny thing is that the custom currentBubble - with a dot after you see the code hints but a dot after pb100 - you see no code hints. Well not normal.
View 2 Replies
May 6, 2009
I've noticed if I use initialize="myfunction()". Once "myfunction" has ran it will never be ran again if i use initialize. I need to reset a form basically. Or anything else I can use instead of initialize that will run the function every time.
View 1 Replies
Feb 15, 2011
I have encountered somthing a little strange in flex, possibly somthing im doing wrong but im not sure. In two cases which i have noticed, when there is only 1 item in a s:List or s:DropDownList for some reason when using list.selectedItem it appears as null. Using requireSelection="true"i know this isnt the case.
[code]...
View 1 Replies
Nov 25, 2010
I am using an mx:DataGrid with a dataProvider to display Rows. I have checked the no of rows in my array ( which is 8 ) and the no of rows in the dataGrid. They both match, however I always get an extra blank row at the end of my data grid. How can I remove this row?
View 2 Replies
Jan 26, 2011
Is there a way to reverse the order of the items in a comboBox? I'd like to use index numbers to refer to items in the arrayCollection below. I want the newest content to appear first in the comboBox. But, if I add something above the first item then all of the index numbers will be off by one. If I could add a new item to the end of the arrayCollection, but have it appear first in the comboBox drop down that would solve a lot of problems.
[Code]...
View 1 Replies
Nov 21, 2011
After changing the Flex SDK to 3.6 (from 4.5.1) so as to target Flash player 9.0.124, the project no longer compiles, producing spurious errors such as XML does not have matching begin and end tags leading me to believe that the compilation process is 'borked'.
This is a pure AS project, and so should have no dependency on the Flex SDK, howver, it seeems to be inextricably linked to the Flex 4.x SDK and Flash Player 10+. I have tried swf-version and -target-player-version in the compiler arguments, but there is still something I am missing to get this to compile for Flash player 9.
View 1 Replies
Mar 1, 2010
I am building a website which loads some collada objects for each area. But I couldn't manage to clean the memory. It seems impossible to kill the objects.
I've found some samples implementing destroy() methods for away3d internal classes, but they're not working as well.
View 2 Replies
Aug 10, 2010
I cannot apply a texture to an object, I don't know why.( AS3 blender export script and Collada Import is not working for me either )
var loader:Loader3D = new Loader3D();
loader.addEventListener( Loader3DEvent.LOAD_SUCCESS,
handler_loadSuccess );
var parser:Obj = new Obj();
loader.loadGeometry( "assets/objects/Test.obj", parser );
[Code]...
View 1 Replies
May 16, 2011
i have a small question concerning away3D. I have some cubes with the exact same dimensions that are positioned in the same place. When i click on the stack of cubes, i want to register a click on the cube i added last. Instead of doing this, the click is registered on the cube i added first.
I have found a way to alter the cubes position in the container and have tried putting the element at the end (code below) and start of the childrenArray, but nothing seems to work. I am kinda really stuck here, so if anyone knows how to get the top level element when clicking on the stack, i'd be happy to hear.
[Code]...
View 1 Replies
Aug 11, 2011
when I try to render a cube using Away3D + Molehill, I only get a white default screen, I followed the instructions here: hhe only thing I did not do, was the part that talks about the patch, cuz If I do that I get errors like when I try to import the Sprite class, for example.Im using FB 4.5.!
This is my code:
package
{
[code].....
View 1 Replies
Nov 22, 2011
[URL]..why it's impossible to me to center the pivot of this container? if I do container3D.centerPivot() all my cubes are moved from they're position and still the pivot it's not in the center, but at the center of just ONE cube (the last on the bottom-right corner). How can I center the pivot of the container properly to ITS center?
View 2 Replies
Jun 19, 2009
I have loaded a .obj into away3D with a given material (not using the .mtl file), and through the course of rendering, I want to change the object's material. Here is how I load the .obj:
var object:Object3D;
function loadObject():void
{
[code].....
View 3 Replies
Jun 25, 2010
What are the pros and cons of various Flash 3D engines with regards to performance on mobile devices? Which do you prefer -- which have you tried (examples of apps developed) implementing on mobile devices?
View 1 Replies
May 21, 2010
I want to attach spheres to rotating sphere but I've encountered some rotation problems:
In application u can rotate mainSphere in both x and y axiss'.
If I rotate main sphere in only x axiss or only y axiss, it works correctly. But if I rotate main sphere around both x and y axiss, sphere is attacing the wrong place.
Here is the code:
ActionScript Code:
// these are the spheres containers. Sphere container class extends form object3d
var mainSphere:SphereContainer3D;
var attachingSphere:SphereContainer3D;
[Code].....
View 1 Replies
Nov 18, 2010
I picked up the book on Away3D.It did a great job of explaining the basics but I did not see an example of the above question. What�s the easiest way to put different materials on each side of a cube primitive
View 1 Replies
Jul 22, 2011
I have a question regarding my implementation of a collada 3d file. This is really my first venture into the realm of 3d and I've read some of the basic tutorials so I'm not 100% clueless, but I am a bit confused by what is appearing with the following class (this is a document root class, loaded by the .fla file): the images I loaded to skin the board with are showing up, but just in specific triangles. I want it to skin across the whole board. Is [code]there something special I need to do to achieve this?Also, my final goal with this project is to skin (texture map) one side of the board with a bitmap (drawn from an MC) and the other side with a different bitmap.
View 0 Replies
Sep 17, 2011
Any source code for how to do a ball that can be spun with the mouse exactly as shown on this website: [URL]. I just need the sphere that can be rotated by the mouse in that exact way. More information can be found at this link: [URL].
View 4 Replies
Nov 16, 2011
I'm in a Flash Pro project with my View3D as big as the stage and I'm trying to make a cube of the dimension of the stage which would fit exactly the View. Practically the user shouldn't be aware of the presence of a 3D cube (until I animate it) How can I achieve this?
View 3 Replies
Dec 13, 2011
I've been trying to test out Away3D engine on Flash CS5.5, and I've been getting lots of errors. I have downloaded playerglobal.swc and placed it, edited player xml file and configured it for flash to use FP11. In Flash, I have chosen Flash player 11 to be used. But when I try to create a new View3D object:
var view:View3D=new View3D();
I get an output error (not a compiler error) of:
VerifyError: Error #1014: Class flash.display3D.textures::Texture could not be found.
View 1 Replies
Jul 21, 2011
We have a small flash application that has an text box.
under OSX Lion, with flash < 10.3.. it works fine
with OSX Lion and Flash 10.3.. every character typed to it, appears twice.
View 3 Replies
Jul 25, 2010
How to port Away3d scene with animation into PV3d? Are there any tutorials on how to do that?
View 1 Replies
Dec 14, 2010
So I have some 3d points generator that gives points like
{1,1,1}
{1,2,3}
{1,3,3}
[code].....
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
Jan 12, 2011
I am looking for useful tips for reducing or removing triangle overlapping in Away3D.I already tried to increas segmentsW and segmentsH but it doesn't solve the problem.Here is a snapshot of my problem (The complex cubes are made of Plane objects, Maybe there is a better way to build the complex cubes ?)
View 1 Replies
Feb 26, 2011
I am having a difficult time setting the width of a WireframeMaterial. Things were working well until I upgraded to from 2.5 to 3.6
I am doing: var mat = WireframeMaterial(0xff0000, {width:4, alpha:alphaValue});
but that's not working at all the width is still set to 1
View 1 Replies
May 10, 2011
I am having some problems with the away3D library. I want to apply a bend to a cube using AS3DMod, but i can't seem to get it working. My cubes kind of get mutilated when i want to bend them :p they bend to all directions and i can't seem to find a pattern in the bending.
[Code]...
View 1 Replies
Oct 21, 2011
How do I update my Elevation Object when I change the bimapdata of its height map? I noticed that getHeightAtPosition() updates to the values of the new bitmap, but the Elevation still looks the same..
(I know it is possible to loop through all vertices in the geometry mesh and adjust them based on the bitmap, but the nice thing with Elevation is that you don't have to do that. If it can adjust to the bitmap on creation it should be able to update..)
View 1 Replies
Nov 28, 2011
I have a Plane and I try tweening a MovieClipSprite on it. I run into trouble when I try to tween near the points where both segment triangles meet (I have kept both segments as 1), While moving near these points the Sprite disappears. I can tell it goes beneath the Plane because when it reappears it does so gradually and I can see it's lower half appearing as it moves away from these points. Increasing the segments obviously deteriorates the performance further as this begins to happen at other points as well. I am pasting some relevant code var planeMaterial:BitmapMaterial = new BitmapMaterial(texture.bitmapData, {smooth: true, precision: 4});
[Code]....
View 1 Replies