Flash :: Textures Distortion In 3D To Render A Model
Nov 1, 2011
I am using Papervision3D Flash 3D engine to render a model. Also I am noob in 3D =D Model is simple, it's a parallelepiped with different textures on its sides. All works just fine except one thing: whenever I change my visual angle to a model from 90° textures on the sides are distorted. I notices that it is common effect in 3D graphics, I saw that effect in games and other 3D renderers (i.e. away3D, three.js) even wth different 3D models. Distorted texture on object (different view angle): Normal texture on object (same object and texture) (view angle == 90°): What is the reason of this effect?
View 1 Replies
Similar Posts:
Apr 10, 2011
As it is said here: [URL] "If you do a Google search today for "MVVM and Flex", the first post is by somebody who claims that MVVM is not a good fit for Flex. I couldn't disagree more. Out of the box, the Flex framework makes it much easier to implement a Presentation Model than similar MVVM implementations in Silverlight. That is not to say that there aren't good third-party libraries that make it easier in Silverlight, but without any help, it is easier to do in Flex." So MVVM as LOGICAL CONCEPT can be implemented in both but the way it is implemented in Silverlight requires more Plumbing than Flex.
What prevents Silverlight MVVM to be implemented like Flex ? Doesn't Silverlight have same capability in event system to do the same? If yes why does Silverlight do things more complicated what's the advantages then ? Is it about using Class Interfaces which are more strongly typed? What are the disadvantages also ? For example as for implementing MULTIPLE VIEWS for 1 View-Model does Flex implementation make it also more obvious?
View 2 Replies
Sep 12, 2009
I would like to ask if there is a way to distrort a video in flash cs4. Particularly i want to create a custom player to display flv videos and in the background, around the player area, play a distorted video probably blured or faded , short of like ambient light?
View 2 Replies
Jul 10, 2009
I have been struggling in Flash to find out if advanced bitmap distortion is possible in flash. I am talking about the same distortion effects that Photoshop generates by going to Filter > distort menu. Especially the spherize, Wave and Twirl effects. The displacement map filter introduced in Flash 8 or 9 has this capability. But I don't think it can actually distort the bitmap in Flash. All they do is create a false image and don't actually convert the image.So I want to imitate Photoshop in Flash so that when I have an image in Flash the user would feel like he's using Photoshop filters and twirling or spherizing the image.
View 1 Replies
Jul 19, 2011
Every time I package an android application and run it from my phone it really distorts images/movieclips.I can see slight transparancies around movieclips that shouldnt be there, images look pixelated, when played on the computer it shows no issues with any of it.Are there any tips or tricks to solving this?Also the performance just is spotty on the devices. Was using flash cs5 and just DL the trial of 5.5.Also is there a place to look at best practices for optimizing adobe air applicatiosn for mobile devices?
View 1 Replies
Mar 6, 2011
I'm making simple 3D transformations in Flash to rotate stuff, but I get distortions. I can rotation left, right, up, down, but not diagonally since it completely distorts my faces (the ones I draw).I think I fail to move the camera somehow, but I'm not experienced enough to understand my error.Here's the file: http:[url]....
Example: when a face is rotated at about 45° around the y axis (vertical to screen) and then rotated around the x axis the perspective doesn't feel right... the faces are too narrow.What I do is multiply the rotation matrices between themselves (the mouse position providing the angles) get the transformed points, project them to screen and draw boxes with them.
View 1 Replies
Mar 9, 2009
I used the Photo Gallery using xml and Flash tutorial and created a nice gallery with thumbnails I increased the size to accommodate a 800x533px size picture however when the images are imported they are distorted to a size that looks to be around 900x400px I am using flash 8.
View 1 Replies
Jul 13, 2007
I have been trying to convert [URL] into as3. I am am very unfamiliar with flex. I have set the buttons for transform and loading the image but its just not working at all.
Here is the image distortion class
Code:
package {
import flash.display.Shape;
import flash.display.MovieClip;
import flash.display.Sprite;
import flash.display.Bitmap;
[Code] .....
View 2 Replies
Jun 14, 2011
i have the following problem: when i publish my site (all in flash) with stage.scalemode=exactfit parameter, the page is stretched; while when i use the scalemode=noborder parameter, the page is cropped below;
what i want is the site adapting itself to the width of the screen (with no borders on the sides),maintaining proportions and so allowing down scrolling; I haven't found any answer around the web to this apparently simple issue
View 0 Replies
Jun 7, 2011
I am developing some Text effects in AS3. I did complete curve text effect but are getting problem with bulge text. Because bulge text distort each characters so i have to convert the text to bitmap format to distort. The problem is the quality is not good enough, especially when we resize the object. I see in some websites they solved this issue and it works pretty good, like as [URL].
View 1 Replies
May 24, 2011
I have a .png file with 16x16 tiles that I want to make into their own variables. I've tried using BitmapData like this[code]...
View 3 Replies
May 25, 2011
I have a .3ds file for the model and a .dds file for the texture. I am able to load .3ds model by using the code:
Code:
var model:Max3DS = new Max3DS("model");
model.load("assets/model.3ds");
How should I load the texture from .dds file and apply it to .3ds model?
View 0 Replies
Jan 28, 2010
I must say I'm a little puzzled by the mipmap functionality in the newer flash players.URL...Tinic describes the way that mipmaps work in flash player if the images are specific sizes (e.g. powers of 2 like 256x256 etc). The demo here URL... shows this working quite clearly and I have myself demonstrated that when using a simple bitmap object with smoothing set to true then scaling has a much better result when the images are the correct dimensions for mipmap capabilities.However I have not seen mipmaps work in 3D when using bitmapFill and drawTriangles. The bitmap quality seems to look crappy regardless of the bitmap size. Do mipmaps ever work in 3D with bitmap fill etc? This topic direct from Adobe seems to imply that it does URL...with the comment "Use bitmap sizes that are divisible by 4 or 8 for two-dimensional images (such as 640 x 128, which can be reduced as follows: 320 x 64 > 160 x 32 > 80 x 16 > 40 x 8 > 20 x 4 > 10 x 2 > 5 x 1) and 2^n for three-dimensional textures".However a few other sources such as this one implies that it doesnthttp:URL...with the comment "Mipmapping was introduced in Flash Player 9 but it doesn't work with 3D drawing and requires textures to be even in resolution. That is why we developed our own method of filtering."
View 1 Replies
Apr 11, 2012
This question was posted in response to the following article: [URL]
View 2 Replies
Mar 27, 2012
is anybody here who have and would be willing to send me png2atf tool for compressing textures? It was part of the prerelease of Adobe about a year ago.
View 0 Replies
Apr 28, 2010
I'm trying to create multiple objects in Papervision using Flash Builder, each one with it's own texture that I'm getting from an imported SWC.My code works perfectly if I apply one texture to all shapes, but when I try to put it into a loop I can't seem to get it to work. I think this is more of a syntax problem, I'm just not sure how to tell Flex what I want.Here's a chunk of the code that works fine, applying an "img1" texture to everything: [code]Does that make sense? I want each iteration of the loop to add a number to the end of "img" and apply that to the shape.
View 8 Replies
Sep 14, 2011
So basically I want to make a quiz where the user identifies textures in images. The first image is of a shell. So I want the user to be able to type in their answer into a input text field, then press a "check answer" button. Then if they typed in shell "Correct" will appear in a dynamic text field or "incorrect" if they had typed in any other answer.
with the action script required for this button, I am using action script 2 in flash cs4.
I found this code on the internet but it didn't work.
on (release) {
if (input_instance_name=="correct answer"){
display_instance_name.text="Correct!";
}
[Code].....
View 1 Replies
Aug 31, 2011
I've been asked to create a model of an airport. Very basic. No textures and only simple shapes to represent check in zones, stairs, restaurants etc. It needs to be able to animate from floor to floor in birds eye view and to the outside of the building at an eye level view. It will be an annotated clip that plays following a persons movements. It needs to be incorporated into an adobe air application. I'm not sure even what software i should use for this. bear in mind i don't have any experience with 3D packages like 3DS Max. I suppose its possible in Flash Professional but can imagine drawing it all being a bit of a pain, is there something out there more suited?
View 7 Replies
Jul 16, 2011
Background info: I am using ActionScript 2.0 and Flash CS5I was working on a game and I used photoshop to save a little gif image. I imported it into flash, "broke it apart", turned it into a movie clip, and put this bit of code on it. It rotates the image when the mouse is moved around it.
Code:
onClipEvent (enterFrame) {
// find x and y differences
[code]........
View 11 Replies
Oct 31, 2011
I would like to make some kind of interactive 3D model in flash.
In the image below you see a 3D model. It's just an example to explain what I have in mind. You see a red disc 1, a blue disc 2 and a pushbutton. The idea is that the blue disc rotates (for example 45 degrees) compared to the red disc when you push the button. Is that possible in a 3D model that you also can turn around with your mouse?
I can make the models in Rhinoceros 4.0, that's no problem. Importing the model into flash is also no problem (papervision). But how can I add some interactives to the 3D model like a pushbutton and a slidecard?
View 1 Replies
Feb 1, 2010
There are some open SDK for Flash, that could be done. Rotating photos with physics? Examples of such programs BumTop, ePic, Coloris (no physics). The photo on the plane, it can be moved to the real physics?
View 1 Replies
Mar 25, 2010
I have a Collada (.dae) file that I found on Google's 3d Warehouse. Using Away3d, I'm able to load the file and display it on my view using the following code:
var object3d = Collada.parse(FooXML, { material:"white", x:0, y:0, z:0 });
view.scene.addChild(object3d);
The problem is that it's just floating out in space and no matter how I adjust the position via .x, .y, or .z, it never moves from its spot. I'm using Flash cs4 and the latest stable release from Away3d.
View 1 Replies
May 18, 2010
I want to show a box in 3d on my website, and I was thinking to do it in Flash. How I can show a 3d model?I need something very simple, it's a textured cube, no interaction required, just let the user pan and zoom.There is a 3ds viewer in flash or something like that?
View 2 Replies
Jun 29, 2011
In CSS, we have a box model to define how border, margin, padding, and fill contribute to the total width and height of a rectangle. I'm porting some of my HTML/CSS design into Flash and can't quite figure out what Flash's box model is. In Flash, I've created a rectangle with gradient fill and a non-scaling 1 pixel stroke. I'm trying to get pixel-perfect positioning and sizing, but the experience has been unpredictable. I'm not really seeing a pattern to the following questions. The answer really changes depending on the exact circumstances.
When you set x and y both to be 0, where does the border lay? Is it off the screen? Is it being cut in half by the origin? Or is it completely visible?When you set width to 100, is the fill 98 wide or 100 wide?What happens to the 1px thick border when the rectangle is not positioned at whole number coordinates?
Example:
var sh:Shape = new Shape();
sh.graphics.lineStyle(1.0, 0x00FF00, 1.0, false, LineScaleMode.NONE);
sh.graphics.beginFill(0xFF0000, 1.0);
sh.graphics.drawRect(0, 0, 100, 100);
[code]....
I tried to create a 100x100 square at x:10, y:10. When I measured the total width and height in Photoshop, it came out to be 101x101.One would either expect the final dimensions to be 100x100 (border on inside) or 102x102 (border on outside).
View 2 Replies
Feb 12, 2010
I am trying to achieve the resizing effect as seen on [URL]There is no distortion no matter what direction the browser window is resized.
View 1 Replies
Dec 10, 2010
I want to tween a movieclip so it changes from squared to trapezoid. Just imagine a text paragraph distorted like the scrolling text in the beginning of Star Wars movies.It would be easy to make the shape and then distort it, but what I want is to tween from undistorted to distorted and it seems that normal tweening only allows skewing, rotation and resizing.Since a picture is worth a thousand words, this is what I want to do (the dog is not the movieclip I want to distort, just an example):This is easy in Photoshop (CTRL+T and then pick a corner with SHIFT+CTRL+ALT) and also in edition time in Flash, but I want the distortion to happen in execution time so it looks like the movieclip is standing up and then falls back.
View 2 Replies
Feb 24, 2010
Using a common flash 3d library such as Papervision3d or away3d & as3dmod or better create a Flash 3d object manipulator that:[code]Finally Allows a user to capture & download a picture of said object after manipulation
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
Jan 14, 2011
I need to convert a CAD drawing of a product into a form that is usable by Papervision3D (or an equivalent 3D engine) in the Flash Player.
Are there any tools that do this? I understand that the Collada DAE format is supported in Papervision3D, but I don't know what steps/tools are involved (export directly from AutoCAD?).
View 2 Replies