ActionScript 2.0 :: Change Geometry To Something Exported From Maya Using Collada
Aug 9, 2009
how to change the geometry to something exported from maya using collada but the problem lies when i rotate the object. the cube rotates just fine but any toher geometry that isnt a perfect square gets all fecked up when you rotate. as you can see from the shape i have currently the top and bottom rotate just fine. im guessing it has to do with the math.cos and math.sin but really not sure.
View 0 Replies
Similar Posts:
May 18, 2009
I am trying to create an interface on flash that sends information over a port into Maya and controls certain things in Maya. I have been able to connect flash and maya to the same port but there is nothing that is telling Maya to listen to flash.
I have a slider ... This slider controls a value 1 to 5 ... I have written the script in flash to make that slider control the radius of a sphere in Maya (using mel scripting) ... so imagine I have two screens one with my flash interface with the slider and the other with maya and my sphere ... I am trying to make it so when I adjust the slider in flash .. the radius of the sphere in maya changes .. I am just missing that middle piece where one listens to the other ...
View 6 Replies
Mar 19, 2010
I created a MovieClip symbol in flash containing a dynamic TextField and a background. I exported it in a SWC(using this method) and I'm trying to use it from flex. When I try to change the default value of the text field the new value is not displayed(indeed the default value I put in flash is cleared on screen, but in the debugger it shows that the new value is set in the text field)
View 1 Replies
May 3, 2011
Is it possible to change the publish settings - specifically, the file path and name of the exported swf - using Actionscript? Or must they always be set in the Publish Settings dialogue box? Nothing I've seen indicates it can be done, but I thought I'd make sure.
View 7 Replies
Apr 30, 2009
import 3D models from either 3Ds max or Maya into flash CS4. If so what file format do you have to export them as??
If not what 3D software can you use to export models into flash cs4? I heard swift 3D can but I'm not sure how to use that software so would it be possible to export models from maya/max into swift and then into flash cs4?
View 5 Replies
May 21, 2009
Could someone tell me what the process is for importing 3D models from Maya into Flash CS4? I heard you could use Swift 3D but I don't have that. Could anyone else shed more light? Also if anyone knows any good video tutorials for working in 3D in flash CS4 please let me know asap.
View 1 Replies
Jul 23, 2010
i want to open a 3d max file and do some rotation of a 3dmax object in flash action script 3.How can i do this?
View 3 Replies
Jan 12, 2009
Goal: To build an Internet Mapping Site (IMS) using FlashScenario: Using Manifold GIS for the backend. It is a full scale GIS software which easily outputs data (geometry and tabular) into xml. It has built in IMS capabilities, but theWould like to build an IMS using Flash as the front end, and Manifold as backend. How would I set up something where the GUI and display were Flash, the user interacts with the Flash (Pan, Zoom, Selection, Query(SQL)), have Flash fetch that from Manifold via xml, and display the new extent, query results, etc.?
So there would need to be geometry data retrieval and display as well as tabular. For example the user should be able to use a "Zoom by Extent" feature where they draw a rectangle on the map, it returns the coordinates of the box to Manifold, Manifold returns it, etc. On the other hand they need to be able to query the datasets (simple sql queries).I hope this makes some sense. I'm a noob in many aspects to backend so I'm just trying to get a handle on whether this is possible, and what backend needs to be implemented in order to make this happen? Would you know of a possilble better method? Silverlight, etc?
View 1 Replies
Oct 25, 2010
I am currently creating a remake of the game Geometry Wars but in Flash using AS2 but the further you get through the game it seems the more lag builds up. And it is down to my computer (which does suck) but it's been tested on multiple pretty good PCs. It lags when a lot of enemies enter the screen but to be fair there isn't a lot. Here is my game which I am currently blogging to get feedback : geowarsbeta.tk <- with http at the start.
Stuff I am doing to prevent lag:
-Enemies are not visible when offscreen.
-Unwanted movieclips (like bullets) are deleted once offscreen.
-Main ships 'onEnterFrame' is split up in to lot of small functions.
View 2 Replies
Apr 18, 2006
I have a need to build many Algebra and Geometry equations in Flash. I am looking for some kind of flash plugin that will typeset these equations so that I don't have to build them by hand. For instance, if I had a fraction 1/2 or 134/489 and I was stacking the numerator over the denominator, the fraction line would adjust to the length of the longest number.
I know that the InMath plugin works like this for InDesign, but the formatting breaks in the few file types that are able to be imported into Flash. Is anyone aware of such a plugin made specifically for flash?
View 3 Replies
Aug 29, 2010
import flash.geom.Point; I am trying to write a game using the new Vector class. Then Vector will be composed of flash.geom.Point (s). However, when I try to use the concat funtion to return another vector with a series of Points added to the end of the vector, I will get: TypeError: Error #1034: Type Coercion failed: cannot convert flash.geom::Point@bce8901 to __AS3__.vec.Vector.<*>. at Vector.<*>$/castToThisType() Action script is saying that I am trying to convert a vector to Point to a vector. I do not see how this is the case. In the example below, I have declared adjoiningPoints to be of:var adjoiningPoints:Vector.<Point>;
When I call path.concat( myNextPoint ); I get the above error. In order to troubleshoot the problem, added the additional lines declaring 'iAPath'. When I work with the arrays everything works fine. The arrays are entirely populated with points and there is no error.
[Code]...
View 4 Replies
Sep 14, 2011
I'm doing an geometry object tranformations for a project. I need to have same rectangle across 4 parts in a screen. So when i change one rectangle others will be transformed like scaling or something.So i was able to do this with image, just giving "source" attribute. How to do with geometry objects?[code]
View 1 Replies
Dec 4, 2006
I think I could build some array that describe the geometry of each state for each piece of the mask, then use the Tween class to change them interactively, but I'd like to do it in a more simple way...
View 10 Replies
Aug 7, 2008
am pretty new to Kirupa and Flash. I have a little problem, concerning a character hitting a wall. What i have: a char that can jump and move around by the arrow keys. What i need: character shall stop movement if he hits a geometry. But being able to start movement again, besides through the geometry. I'd like to reach this with gskinners CheckForCollision class. Have a look here: [URl] But i didnt manage my code to get it work. So maybe you could leak me some information on how to get this done. Heres my code so far:
[Code]...
edit admits: so far i have a character mc called "player" and one called "level". i would apply the code to the player, and it would be cool to have the possibility to check collision of the player with multiple MCs, not only the level.
View 2 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
Jun 18, 2009
I am trying to map an image(webcam image or dynamic image) on an collada object(head). In fact I have a head, and I would like to put my face on it . Something like that[url]..
How to stretch the dynamic picture so it can fit the mapping ? Match the eyes with the eyes, the nose with the (UV map) nose,... and draw the new bitmap
View 1 Replies
Jul 15, 2009
I have a problem: i want to let users edit the texture of a collada object(it is a bottle, a cocacola bottle). After loading collada object, is it possible to let user edit texture of it(upload their own image as texture)?
View 1 Replies
May 19, 2010
having a weird issue with a loaded Collada model. I'm not getting any errors as such, and I can trace out the collada's position etc, I just can't see it! Am I missing something stupid? Or is it a bad collada model, and if so how do I test for it? I thought it might be a texture issue, but I tried other collada models without textures and they show up as wireframes straight away.Here's the code:
Code: Select allpackage
{
import flash.display.Sprite;
[code]......
View 3 Replies
May 15, 2010
I am attempting to create a custom Collada parser. I Think I'm getting something wrong with the uv's. Attached is the class. Also attached is my model class so you can see the exact methods I am using to render.
View 2 Replies
Jan 20, 2009
i'm doing a materialtest with papervision, using some collada-objects that i load with the DAE-class. one thing that i didnt get to work is creating a shadedmaterial, not a shader as a material but combining a shader and my original material (loaded with the collada-file) into a new material. i dont get any errors, and when i look at examples i think i'm doing the right things, although the examples always create a new object from scratch (and add the ShadedMaterial to the fresh materialslist).What i do is load the objects, store their materials in an array (i clone them once they're loaded), and use this object-loop to create the shadedmaterial and replace it with its original.[code]The original materials are actually Bitmap FileMaterials, but since that's a subclass of BitmapMaterial i think that should work just fine. You can see my test here, every material works except for the flatshaded+bitmap, when i use that one my framerate drops dramatically but i dont see any change.URL...
View 1 Replies
Jan 24, 2009
Im trying to access the width and height of a dae/collada object.myDAE.width does not work. If you have any ideas as to which class this info is contained it would be a massive help!
View 1 Replies
Jun 20, 2009
I see that the Collada file contains Camera information. I was wondering could I import the camera as well.
View 0 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
Jan 13, 2009
Anyone using Collada files from Cinema 4D for Papervision?The model loads fine but if there is more than one object in the scene it applies the first material to all of them rather than their respective ones. My output in flash says this:
Code: Select allINFO: BitmapFileMaterial: Loading bitmap from BodySurface_Color.png
INFO: BitmapFileMaterial: Loading bitmap from HeadSurface_Color.png
INFO: BitmapFileMaterial: Loading bitmap from ShaftSurface_Color.png
INFO: BitmapFileMaterial: Loading bitmap from TipSurface_Color.png
[code]....
When I look inside the collada file I see "Material1" used a lot in places where I think there should be proper material names from the 3d program.Ive attached the DAE and the textures if anyone can help, this was all working fine from the same model exported from Maya so I have a feeling its bad exporting from c4d.
View 2 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
Feb 25, 2010
I'm working with Collada files and I need them to be a certain size. When instantiating them in pv3d you set the filename, materials, and scale. Scale works like a percentage, and there's no way to get the width, height, or depth of the DAE once in flash. I want to be able to specify the size of DAE in 3D space relative to other pv3d native geometry.
View 1 Replies
Sep 11, 2011
How can i control a collada model animations with papervision3D? And why everthing i find for papervision3D is 2008 or 2009 dated? is this library death?
View 1 Replies
Apr 11, 2009
I've been trying all day to get the Papervision3D Collada Basics tutorial to work and every time I run the file I end up with an empty black screen. No matter what I've tried i cannot get anything to show up. Finally I had the idea to download the source files from the tutorial and run those 'as is' without changing anything. When I opened the SWF created by Lee, all i saw was the same blank black screen. Has anyone else run into this? All other Flash files seem to be fine,
View 3 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
Apr 10, 2009
I was wondering if anyone knew of a place to download stock collada files relatively inexpensively. I am not looking to create anything to sell, just trying to learn and practice using them with PV3d.
View 1 Replies