ActionScript 3.0 :: Making A Flat Circular Texture Sphere Like Using Displacementfilter?

Apr 19, 2011

I have a flat circular texture in a bitmap for a project I am working on. Its a texture generated with the perlin noise functions. I wish to extrude the centre of the image using displacementmapfilter so the circle appears to be a 3d sphere. There will be no animation on the sphere. I'm not getting anywhere with it though, My code is below with my broken implementation of the displacement filter.

[Code]..

View 7 Replies


Similar Posts:


ActionScript 2.0 :: Flat Texture Perspective - 2D Manipulations

Aug 7, 2009

Is there such a thing as taking a screen, copying it to bitmapData and then angling it as if in 3D perspective... in AS2 ? I know AS3 in CS4 can do this, but I am stuck working in AS2. I've used Bitmapdata before, but only for 2D manipulations.

View 2 Replies

ActionScript 3.0 :: 3D Rotating Sphere Texture?

Dec 29, 2010

i'm trying to achieve the effect of a rotating sphere given a regular 2D texture. the best thing i've seen is a tutorial on emanueleferonato.com which gives this result: emanueleferonato dot com /downloads/mapping09.swf as you can see, it works pretty well when you're moving left/right OR up/down. it fails to simulate realistic rolling when going in any diagonals (since it's a very simplistic illusion). how to render such a sphere given any point on a mercator projection and then have the sphere rotate in an arbitrary (but fixed) direction? this is a bit advanced math stuff.

btw, if anyone's interested, i figured a better displacement map than what is used in the link i showed

i started my search again and immediately bumped into this: [URL] it's library called BitmapSphere and it does exactly what i need it to! also, could admin edit this and put together the link or something? i find it highly annoying that i need 50 posts before being able to post a link

View 7 Replies

ActionScript 2.0 :: Making A Circular Timer?

Dec 14, 2004

point me in the right track for making a circular timer?i have no idea were to start or how i would go about doing this(id rate myself as medium in AS scripting so dont go to fast) i want it so that if you feed it 75% it shows up as the 1st image the second one might be 40% and the last one like 20%(these are just values i choose to clarify what i want to do.

View 5 Replies

Adobe Flash CS4 - Making A Circular Arrow Spin Clockwise?

Aug 25, 2009

Adobe Flash CS4 - making a circular arrow spin clockwise

View 6 Replies

Actionscript 3 :: Get The Flat Xmllist Out Of A Xml?

Nov 17, 2011

The aim is to get the flat xmllist out of a xml: each item of the xmllist would be a descendant (not just child) of the xml. This way I have all the nodes of an xml inside the xmllist.

For example:

XML=
<a >
<b >
<b1/>

[code]....

View 2 Replies

IDE :: Flash CS4/CS5 PNG Export Looks Flat?

Sep 19, 2010

Not sure why, but when I export my movie as a PNG sequence (using Flash CS4 or CS5), the colors in the resulting PNGs are very washed out and flat. I have imported some graphics with alpha channels from Fireworks.I have tweaked all the export settings that I can find. The filter type is set to "none," smoothing is off, and the color mode is 24-bit with alpha channels. No dithering or interlacing. Always looks muddy and flat, and gradients have banding that isn't present in the original. I've got CS4 on my PC and CS5 on my Mac, they both give the same bad result.

I'm doing this as a workaround for CS4/CS5's compromised QuickTime export (export framerate is not maintained), so this quality issue is pretty disappointing. Anyone have a workaround for this workaround? Here's a comparison of the Flash workspace (left) and exported PNG (right) from CS5:

View 4 Replies

ActionScript 3.0 :: TweenMax: From Flat Line To Multiple Points?

Jan 11, 2012

I think it would be cool if the line started out as flat (i.e., y=_height/2 for all points) and then the y points of the line animate into place.I don't even know where to start with doing this in TweenMax/Lite... I've seen several code snippets that draw a line from left to right, but that's not what I want.

View 6 Replies

ActionScript 3.0 :: No Errors But Can't See Sphere

Nov 22, 2009

Code:
package {
import flash.display.Sprite;
import org.papervision3d.cameras.Camera3D;

[Code].....

I've imported the correct folder in my Edit->Prefences->ActionScript 3.0 settings. I've instantiated an object and it compiles, and I'm not getting any errors but, nothing shows up on the screen.

View 1 Replies

ActionScript 3.0 :: Possible To Clear 3d Sphere?

Aug 27, 2010

I'm doing 3d gallery in AS3 and i have run in to huge problem. After ActionScript creates 3d sphere it doesnt go away no mater if i go forward or backwards in timeline.

View 0 Replies

Professional :: Put Flat Designs And Dynamically Slap Them On These Fabric Displays

Feb 25, 2010

I maintain a website for a company that creates popUp displays for trade shows. Here is a link [URL]. I am pretty advanced in Flash and AS3, so I'm planning to make a utility for visitors to the website where they can take their picture(logo) and choose a few options and this will generate a render of what their display could look like.

I'm not sure even where to begin with distorting an image to fit a wave style display. We make renders often with maya, but we don't need flash to look THAT good, just an idea so people don't keep making basic mistakes like making their text unreadable. I just want to put flat designs and dynamically slap them on these fabric displays!

View 1 Replies

Flex :: Create A Flat Marker In Google Maps 3d Flash Api?

Oct 5, 2009

When using map3d, the default marker creation is always perpendicular to the viewport. How can I create a marker that lays down flat against the map? I can't use GroundOverlay because it becomes overly tiny when the map is zoomed out. How can I create a matrix3d object that will rotate/scale/skew my Marker's foreground DisplayObject so it remains flat against the map when in perspective mode?

View 1 Replies

Flex :: Group Flat Data In Advanced Datagrid Won't Work

May 17, 2010

i've got an ArrayCollection which is properly displayed in this Advanced Datagrid:

[Code]...

View 2 Replies

Make My Sphere Constantly Spin?

Apr 9, 2010

I am making a splash screen for a program and I have a picture in my head of a spinning sphere with pictures on it.I've already made my sphere and mapped my design onto the sphere in illustrator, although it is not as clear as I wanted.How do i get the sphere into flash and animate it to spin continuously?

View 1 Replies

ActionScript 3.0 :: Render Sphere From Inside?

Jan 28, 2009

How would you do it? Or, else, how would you create a world? I.e. what I need is to place the sphere in the way the distance form the camera to it's center is less then the sphere's radius.

View 2 Replies

ActionScript 3.0 :: Skew Image With Matrix, Top Angle Good, Bottom Flat?

Jun 15, 2011

I am trying to skew an spark Image object using a matrix. The problem I am having is that it only effects the top angle. I think it may be related to the position of the image (x and y). The top angle is prefect but the bottom is flat!
 
Here is a bit of code:
 
//imgA = pixles down from top left coord, I used arctan with oposite over adjacent to get a radian angle
//size  
openImage.width = imgW; //say 200
openImage.height = imgH; //say like 300

[code]....

View 7 Replies

ActionScript 3.0 :: Overlaying 1 Bitmap Image On Another On A 3d Sphere?

May 24, 2009

The basic concept: I want to at runtime overlay (or paste or whatever) one bitmap image asset onto another. The original image asset is a texture on a 3d sphere.Example:3D Sphere with earth texture applied to it. Put a cloud on the earth texture and have cloud move along the earth.

Caveats:Can't use any composite materials because I take a serious perf hit. Want to try working only with bitmaps to see if it is faster.I've gotten this far but don't know how to fill rectangle with jpeg file and certainly have no idea where to go from here..earthBitmap= new BitmapData( 256, 256, true); fillRect will only do a color ... I need what fills a rect with jpeg image and how to edit a bitmap on the fly.

View 2 Replies

ActionScript 3.0 :: Rotate A Sphere With The Mouse On The X And Y Axis?

Nov 6, 2009

I am trying to rotate a sphere with the mouse on the x and y axis but the sphere keeps 'roll'ing and flipping it all around.

package {
import flash.display.Sprite;
import flash.events.Event;
import flash.events.MouseEvent;

[code]....

View 1 Replies

ActionScript 3.0 :: Equation For Animating A Point Around A Sphere?

Jul 25, 2011

if anyone has any info on animating a point around a "sphere" with actionscript. If anyone has an actionscript equation defining this motion

View 4 Replies

Flex :: Mapping Pictures To A Sphere Or Cylinder?

May 14, 2010

i am developing an application where client can add his photos to appear on a sphere or ball or coffee cup and able to save them and give it for printing using flex. like itasveer.com site. i tried to use away3D but if the image is small it is stretched and added to sphere. i dont want it to strech instead the original image shud appear on the sphere. if it is added to cup it shud cover only the circular part it shud not add this to top and bottom.

View 1 Replies

Actionscript 3 :: Position Plane In Sphere Papervision3d?

Dec 30, 2011

How position plane in sphere papervision3d as3 ?

I have a problem , how position a plane in surface of sphere.

View 1 Replies

ActionScript 3.0 :: Sphere Planes Rotation In PV3D

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

ActionScript 3.0 :: Away3D: Attach To A Rotating Sphere

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

ActionScript 2.0 :: Create A 2d/flat Site Wich Is Larger Than The Normal Screen Size?

Feb 16, 2002

What I want is to create a 2d/flat site wich is larger than the normal screen size... for easy viewing I want the site to move related to the mouse movement so that when you drag your mouse left the entire site kinda moves to the right, and by that permits the viewer to browse the site without using the scroll bars. It should work like the example in this link, but not only horizontal, but also vertical...

[Code]...

View 4 Replies

Flex :: Papervision3d - Design A Sphere With 8 Holes Around One Of Its Diameters?

Jun 22, 2009

I am a newbie to Papervision. I want to design a sphere with 8 holes around one of its diameters. How do I do it? How do I draw anything on a sphere in Papervision?

View 1 Replies

Flash - Creating Animating Sphere Representing Earth?

Feb 9, 2010

I want to create an animating sphere representing the earth but here is the catch I want the users to be able to spin it round in real time, what tools will do the trick?

View 3 Replies

Actionscript 3.0 :: Flash - Sphere To Rectangle Collision Detection?

Apr 19, 2010

for the past two weeks I've been working on coming up with a collision detection system for my game in flash CS4. No matter what I try for some reason I just can't seem to do it, and I don't know how to fix it. This has never been an issue for me, I would even settle for basic rectangle to rectangle collision if I could, but no matter what I do I end up screwing it at all up. Somehow the collision detection either doesn't work at all, works for one side and jumps the guy through the wall on any other side or I think at one point it worked for two sides as long as I didn't hold down more than one movement key.

I've constantly scrapped what I've done over and over, right now I have no source code to present. I'm totally lost and confused, and my deadline for getting this done is today in a few hours. I really wanted to figure this out on my own but honestly I just don't see what I can do, I've got sphere to sphere collision detection working perfectly for my player and other spheres, but the walls are squares lined up to form long rectangles, and I just can't seem to get it to work. I'm dynamically loading the square-wall blocks as tiles to form a dynamically loaded map, and then I'm iterating through each individual block to determine if collision has occurred with the player. I think somehow I'm not managing the results right, or maybe I somehow need to be able to determine which direction the player hit the wall from, but I just don't know how to do it.

I've been staring at the screen for the past 3 hours trying to work something out but nothing is coming to me, example from a flash-type game or something similar I would be very grateful! (I've done this countless times in C++, C#, and java. I don't get what is going on in flash :-(((( )

View 2 Replies

Actionscript 3 :: Create 3D Cylinder - Sphere And Cone Using Flash 10?

Dec 6, 2010

I want to create a 3D cylinder, sphere, cone using Actionscript for Flash Player 10. Is there any available class? I also want to know how to paint gradient, wrap text and texture around them. It would be nice if these class have these functions. I can't use non DisplayObject in this project so PV3D is not an option

View 2 Replies

Actionscript 3 :: Better Pack Rectangles Tangent To A Sphere For A 3d Gallery?

Mar 16, 2011

I am creating a 3D sphere gallery with ActionScript 3 and the Flash 10 3D (2.5D) APIs. I have found a method that works but is not ideal. I would like to see if there is a better method.

[Code]...

To see this in action, click here. alternate link. Notice that with the default settings, the number of items actually in the sphere are less by 13. I believe is the error introduced by my approximation in the first step.

I am not able to figure out a method for determining what the exact radius of such a sphere should be. I'm hoping to learn either a better method, the correct method, or that what I am trying to do is hard or very hard (in which case I will be happy with what I have).

View 2 Replies

ActionScript 3.0 :: Sphere Made Up Of Dynamically Loaded Images

Nov 6, 2009

I am currently building a sphere of images that I'm trying to load from a remote location using XML. I managed to find the source for the sphere and was able to figure out how load the XML into an array of image details.

My problem is that the sphere is made up of images that were loaded into the library and I'm trying to load them in dynamically, i got all the information from XML but i don't understand how to make these dynamic images the same as the ones in the library so i can instantiate the image object.

thumbsArray[0]=[new Bitmap(new Small1(thumbWidth,thumbHeight))];

Small1 = the name of one of the image in the library that makes up the sphere. if i go to the properties of this Small1 image i noticed that its class is called Small1 too. I don't understand this as iv never seen this in actionscript 2.0.

The code below is my attempt at making a image loader object to a bitmap object, that doesnt seem to work my bitmap object becomes null, and throws an error.

SYNTAX / CODE:

function getLoader(url) {
var loader:Loader = new Loader();
loader.contentLoaderInfo.addEventListener(Event.CO MPLETE, completeHandler);

[Code]......

View 0 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved