Flex :: 3D Object Compression (By Polygon Reduction)

Jun 11, 2010

I wish to develop a software for 3D object compression (by polygon reduction) in flex using papervision 3D.

View 1 Replies


Similar Posts:


Flex :: Develop A Softare For 3D Object Compression (by Polygon Reduction) In Flex Using Papervision 3D

Jun 11, 2010

I wish to develop a softare for 3D object compression (by polygon reduction) in flex using papervision 3D. Could you please suggest me an efficient algorithm for the same?

View 1 Replies

Flex :: Calculating The Area Of A Polygon When The Polygon's Points Are Lat Longs: Which Function Is More Accurate?

Jul 28, 2010

I'm trying to find a way to calculate the area of a polygon using lat long coordinates in a Flex 3 site. Hong007 on Google Maps for Flash group was cool enough to post the following function:

[Code]...

I was also playing around with the area calculator at [URL]. These functions produce slightly different results. I'm trying to figure out which one is more accurate. It seems that hong007's function produces results that are on average slightly larger than freemaptools' function. However, I don't know which one is more accurate.

View 2 Replies

Flex :: Compression Support In AS3 / AIR?

Sep 26, 2010

Is there a way to open RAR / zip / 7z in AS3? Is it easy to use compression library in C with Alchemy?

View 3 Replies

Web Services - NET 3.5 WebService Compression For Flex?

Aug 17, 2009

We have Flex applications that connect to our ASP.NET 3.5 Web Applications and usually download lot of data. Now considering XML as transport, for every item, it transmits meta data twice for example.. instead of transferring int value as <Customer CustomerID=23/> it transmits <Customer><CustomerID>23</CustomerID></Customer> .. now here is where bandwidth conservation becomes an issue.

FLEX Can not read GZip and DEFLATE compressed HTTP Response ( So cant use any of them )I heard of some WSCompression but it requires WSE 3.0 now I am skeptical to introduce too many dependency in my hosting environment which requires too much management and overheads. Is WSE 3.0 only dll library which requires no installation on production server? Does it require rewriting all WebService attribute? Or is it simple one time configuration and more or less, anyone knows does it work with Flex ? Flex dynamically generates web services, and we use lot of its auto generated code, now if we want to support compression then do we need to rewrite lot of code?

Simplest solution I can think of is, reduce unnecessary XML tags and reduce them down to attributes to save bandwidth. Is there an easy way to achieve it, our classes has more then 50-70 properties, I understand it will be nightmare to add attributes to each property but we dont know how to do it in case of SOAP.

[Code]...

View 2 Replies

Flex :: Determine If A Series Of Points (or Polygon) Is Within A Rectangular Region?

May 20, 2011

I have been looking at posts about determining if a point lies within a polygon or not and the answers are either too vague, abstract, or complex for me. So I am going to try to ask my question specific to what I need to do.I have a set of points that describe a non-straight line (sometimes a closed polygon). I have a rectangular "view" region. I need to determine as efficiently as possible whether any of the line segments (or polygon borders) pass through the view region.

I can't simply test each point to see if it lies within the view region. It is possible for a segment to pass through the region without any point actually inside the region (ie the line is drawn across the region).Here is an example of what I want to determine (red means the function should return true for the set of points, blue means it should return false, example uses straight lines and rectangles because I am not an artist).

Another condition I want to be able to account for (though the method/function may be a separate one), is to determine not just whether a polygon's border passes through the rectangular region, but whether the region is entirely encompassed by the polygon. The nuance here is that in the situation first described above, if I am only concerned with drawing borders, the method should return false. But in the situation described here, if I need to fill the polygon region then I need the function to return true. I currently do not need to worry about testing "donut" shaped polygons

Here is an example illustrating the nuance (the red rectangle does not have a single vertex or border segment passing through the on-screen region, but it should still be considered on-screen):For the "does any line segment or polygon border pass through or lie on screen?" problem I know I can come up with a solution (albeit perhaps not an efficient one). Even though it is more verbose, the conditions are clear to me. But the second "is polygon region on screen?"PS I have a function for determining line intersection, but it seems like overkill to use it to compare each segment to each side of the on-screen region because the on-screen region is ALWAYS a plain [0, 0, width, height] rectangle.

View 2 Replies

Flex :: AS3 Video Encoding At Runtime With High Compression

Sep 15, 2010

I need to compress video image data (lets say a display object) in AS3 to a Byte Array with high compression at runtime. Framerate only needs to be around 5 but 1024x768 video needs to go to < 40 Kilobyte per Second without the quality being too bad. I wrote a custom encoder and got it to around 80-100 Kilobyte per Second for 1024*768 which still is too much and I don't see a lot of improvements to be mad to my encoder.

Using JPG or PNG Encoder gives way higher KB/s. Is there any open source way to to decode and encode video in as3 at runtime ? E.g. a H.264 as3 encoder and decoder ? Or other codecs? Or maybe a C# source code of h.264 encoder and decoder ? I think I could port it to as3. Doesnt need to be h.264, just something with good quality when running at 5 Frames/Sec and 40 Kilobyte...

View 2 Replies

Flex :: Enable LZMA Compression In Flash Player 11?

Oct 25, 2011

As mentioned in release notes to Flash Player 11, developers added LZMA compression support.

Question is how can one enable this support? Maybe there's an mxmlc option? Or more steps?

Simply setting -swf-version=13 and switching playerglobal.swc in sdk didn't work for me.

View 2 Replies

IDE :: Unexplained File Size Reduction

Jan 5, 2010

Weird thing: I have a file that seems to be dropping by almost 50% in file size for no apparent reason. I've got a CS3 file (AS2) that I've been editing in CS4, and trading back and forth with a designer who works in CS3. I've been saving using "Save as..." and selecting "Save as Flash CS3 Document" every time, in order to preserve the CS3 format. Someone noticed last week that the file size of all my versions up till recently had been in the 11MB range. But the most recent version (which involved a very minor code tweak that locked in the stage dimensions) was 5.8MB.

So I experimented. Seems if I save an earlier version of the file as a different name -- no changes, just open the file, save as a new name, and close -- the file size drops from 11MB to 5.8MB. If I save the previous version with the same file name (using "Save as..."), it retains the 11MB file size.

View 3 Replies

ActionScript 3.0 :: Noise Reduction Or Denoise An Image?

Jan 26, 2010

anyone know of a way to deniose / Noise Reduction or anyway to do this at runtime on a image in as3. I'm creating a image editor

View 1 Replies

ActionScript 3.0 :: Polygon Drawing App?

Aug 10, 2011

I want to create an app for drawing polygons with a variable number of vertices, with the following requirements (very similar to a vector drawing program such as Adobe Illustrator):

-each click of the mouse on the stage sets a vertice (e.g. draws a small square or circle to mark the spot), which draws a line to (e.g. LineTo) the prior vertice, and so on, until the final click, if close enough to the first vertice, will complete and close the polygon

-each of the vertices of the completed polygon should be draggable with the mouse, so that that completed (or partially completed) polygon maintains its integrity while changing shape, that is, so the user can modify the polygon shape without having to redraw it. it's the second step I'm having the most difficulty with...in general terms, how would I implement this? Perhaps each vertice should be a draggable Sprite containing a small square or circle graphic?

View 8 Replies

Professional :: Getting Points Position From A Polygon?

Jul 1, 2011

if there is a way to get by Actionscript the position of points in a polygon made using Pen Tool?

View 3 Replies

ActionScript 3.0 :: Create Polygon From Array?

Jun 30, 2009

I'm trying to figure out how to draw a polygon from an array. I've found a few examples, one which the author says works, but am not getting anything to appear. I've traced the array (it's registering) and am getting no errors.

Code:
//called from constructor
polygon(thisArray);

[code].....

View 1 Replies

ActionScript 3.0 :: Get Pixels Of Bitmap From Polygon?

Mar 20, 2011

I know that I can collect the pixels of a rectangular area within a Bitmap using getPixels(), but is there a way to collect the pixels of a polygonal area with more than 4 points? Or at least determine whether a particular pixel lies within a polygonal area of a Bitmap?

View 7 Replies

Actionscript :: Fill A Polygon With A Solid Color?

Oct 8, 2009

I'm building a map editor for a project and need to draw a hexagon and fill it with a solid color. I have the shape correct but for the life of me can't figure out how to fill it. I suspect it may be due to whether the thing is a Shape, Sprite or UIComponent. Here is what I have for the polygon itself:

import com.Polygon;
import mx.core.UIComponent;
public class greenFillOne extends UIComponent {

[Code].....

View 2 Replies

Actionscript 3 :: Breaking A Concave Polygon Into Convex Ones

Mar 16, 2010

I'm using a game physics library (Box2D) which only supports convex polygon shapes. However, I'd like the level builder to be able to just specify concave polygons without having to worry about that. So, how can I automatically break apart a concave polygon into convex ones (or even all triangles). Speed would be cool, but ease of implementation is more important. The breaking apart will only be done on game initialization.

View 2 Replies

Add A Polygon As A Marker In Google Maps Flash Api?

May 9, 2011

I am creating a project in Flash using the Google Maps API and docs. I'm trying to add a marker to the map, which is draggable but I don't want it to look like the standard Google Maps bubble-style marker. Is it possible to have a custom polygon or image but still keep the draggability?

View 2 Replies

Actionscript 3 :: Creating A Polygon From A Set Of Coordinate Pairs?

Dec 12, 2011

I'm making an app in Flash, and I want to define some polygons which I can bind hover events to to add annotations to an image.I can create these normally in Flash, but I want to load some external data, a list of coordinates, and create the polygons with ActionScript.

Obviously they're just hotspots, so I want them to be invisible, but searching for my problem only shows results for drawing polygons from coordinates using the graphics property of a movieclip.The data doesn't ever change, so it would be possible to just draw all the polygons manually with the pen tool, but the data is being used elsewhere, so it would be much easier to maintain if I could add new zones just by updating the text file.

View 2 Replies

ActionScript 3.0 :: Line - Polygon Intersetion Detection?

Aug 25, 2011

I'm working on a method to do more accurate path finding for a special project. I haven't yet found any sources on this so i have to write it myself.

The idea was to use a polygon mesh, draw waypoints between all points then discard ways intersecting with a polygon. After that use dijkstra's algorithm to find the closest path.

Detecting whether a line intersects with a polygon mesh is the tricky part. I haven't yet come up with any viable solution that is fast. how i can determine whether a waypoint travels through a polygon?

View 9 Replies

ActionScript 3.0 :: Flash Autofill Polygon In Real Time

May 25, 2011

I am creating a game where I have some red balls on the screen and some blue balls on the screen and I would like to draw a polygon around all balls of the same color and have this polygon automatically fill as soon as the polygon shape is closed. How to achieve this as I haven't really done much with the drawing API before. My current code will allow me to draw a polygon and for it to fill when I release the mouse but what I would like it to do is automatically fill as soon as the shape is closed.

Here is my code so far
Code:
var graphix = new MovieClip();
addChild(graphix);
var points:Array = [];
stage.addEventListener(MouseEvent.MOUSE_DOWN, startDrawing);
[Code] .....

View 2 Replies

FLV Video Compression / Streaming?

May 12, 2009

Got a large file 12 minutes long clip and I compressed it with the adobe optimization program adobe media encoder. I got a 350 megbite file to be 60 megabites as a 320X240. I choose also a medium size video file. How do I keep the video quality and stream it (like hulu would do) or how do I compress it smaller than 60 megabites and keep the same quality. Either or. I am not familiar with web video so I am trying to make the file as small as I can in size with the most amount of quality.

View 3 Replies

IDE :: Flash File Compression?

Jan 9, 2009

is there any flash compression? i 'm creating a full flash and i use video file for my BG and some animtion. but that file's size takes more than 1.4MB. how can i compress that file.

View 1 Replies

Professional :: Can't Close Marquee Performed By Lasso's Polygon Tool?

Mar 18, 2011

When I double click to close the selection, the marquee vanishes instead of closing the selection.  Yes, I double click on the starting point.Here's what the manual proclaims (step 4):
Draw a straight-edged selection area1 Select the Lasso tools Polygon Mode modifier in the options area of the Tools panel.2 Click to set the starting point.3 Position the pointer where you want the first line to end, and click. Continue setting end points for additional line segments.4 To close the selection area, double-click.

View 1 Replies

ActionScript 3.0 :: Function - Drawing The Polygon Based On The Number Of Sides

Dec 29, 2011

I'm trying to create a function that draws a polygon with two parameters that are: number of sides and length of sides. You would input a number for side length and a number for the number of sides. Then it would draw the side length, then turn at a angle based on the number of sides, then draw side length again... until it has finished drawing the polygon based on the number of sides that were put in.

View 1 Replies

ActionScript 3.0 :: Get The Polygon Boundary Points Of A Sprite Or Movie Clip?

Feb 5, 2009

I'm working on a pathfinding algorithim using A* and using irregular polygon shapes as obstacles rather than a grid. I don't fancy plugging in all the points and links by hand and was wondering if there was some way I could just get them from a Sprite or MovieClip?

View 1 Replies

Can Check Compression Settings On Flv File

May 1, 2009

once a video file has been encoded into an flv is there a way to confirm the compression settings?  Say if I wanted to double check that I had the right setting or duplicate setting of a flv I encoded earlier, is there a way to access this info?Like QT you can choose Movie Inspector.In QT I opened a flv file that was encoded with a Max data rate: 50kbps (I know, I know very low but it's the setting I was given). I then selected Movie Inspector thinking it could do the trick but it listed the data rate as 359.68 kbits/s.is if I encoded at a Max data rate: 50kbps how is 359.68 listed as it's data rate in QT?

View 3 Replies

Professional :: How To Get Accurate Red Colour Compression

Oct 25, 2010

Any troubles when compressing red colours to .swf? I always have a kind of blur in edges, like dirty compression.

View 1 Replies

Java :: Is GZip Compression Worthwhile With AMF

Oct 4, 2010

We've got a Flex/Java application using BlazeDS and we're investigating reducing the size of the payloads being passed between our server and the client.Since AMF is a binary format and supposed to be fairly compact, is there any benefit to turning on GZip compression? Has anyone else done this before and did you see any significant gains from using compression?I just performed a simple test to determine what kind of compression ratios we might expect if we were to enable gzipping. I just captured the AMF payloads in some files and just gzipped them using the Linux command line version. I didn't specify the level of compression, just the default i.e. 'normal'. It appears that on average there is a 9% reduction in the payload size, with some payloads getting as much as 61%. Can anyone see a flaw in this method and what level of compression can be used in HTTP gzipping?

View 3 Replies

ActionScript 3.0 :: Better Image Compression Into Flash?

Sep 28, 2009

I have a project where the resulting application needs to download several huge images (4095x4095), which takes a serious amount of bandwidth. Jpeg is not really a good alternative here, as I would need a very low quality to get acceptable file sizes. Does anyone know of existing AS3 code libraries for loading jpeg2000 or any other wavelet or better compressed images into Flash?

View 9 Replies

ActionScript 2.0 :: Loadsound Compression Details?

Apr 28, 2006

was wondering how sound files are compressed when they are retreived using the loadsound command? do they use the original file compression or does flash muck about with it? The reason i ask is that an audio file is coming out sounding very different to the original

View 1 Replies







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