ActionScript 3.0 :: Using Collada DAE 3d File In Away3d Project

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


Similar Posts:


ActionScript 3.0 :: PV3D ShadedMaterial On A Collada File

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

Actionscript :: Papervision 3D - Force Dimensions On A Collada File?

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

ActionScript 3.0 :: How To Make Animated Collada File To Loop Through Animation

Mar 22, 2010

I have created a few cool little animations with FLAR toolkit and it all works fine I am super happy with how collada files work in the AR apps that Ive made. I would like to make an animated collada file just simply loop through an animation. I am pretty sure its possible but I don't know whether the examples Ive seen use code or whether the animation is imported.

View 1 Replies

Actionscript 3 :: Import And Play An Animated 3D File With Away3D 4.0 Broomstick?

Jun 8, 2011

What's the best 3D format to use with away3D for animations ? And how use it ?

View 2 Replies

ActionScript 2.0 :: MXML Project In Flex 2 - Make SWF File As Main Executable File?

Nov 26, 2006

I have to make a project for school. It will be like a tutorial, but into an application. I already made a part of it in MXML and a bit of action script but I encountered a few problems that are over my newbie limits. So the Flex Builder 2 makes a SFW file, in the main folder of the "project". I want to make that SWF file my main executable file. I have a folder with some pics, and another folder with Action Script Files. The code lvl that I know atm is ABSOLUTE BEGINER... I don know how to make my SWF file have a specific name when I run it.Here is a picture of a training exercices that should make thing more clear:Some people told me that I should use a HexEditor and stuff. Is it ture(what u think?).

Next problem. I dont know how to make the Stage to be fix. I mean.. I dont want the stage to be resizeble. I tryed to change the stagescalemode but that wasn't it. I toke a look at the help files of Flex from the net, about the Resize action and SystemManegment, but I didn't find out what I wantend.

View 4 Replies

Android :: Make Sure The SWF File From AIR Project Can't Be Opened Like A Regular SWF File?

Jul 7, 2011

I'm making a game with Flash CS5.5 and exporting it to a APK file (AIR for Android).The trouble is that the APK file is really just a ZIP file, so you can extract the content and inside there is my game as a regular SWF file. Anyone can upload this to any website and play the game there.

I don't want the SWF file to work unless opened like it should, inside the APK file through Android.Is there any way to know through ActionScript 3 code if the SWF file has been extracted from the APK file and has been opened as a normal SWF file?

View 3 Replies

Professional :: Use A .ICO File Instead Of A .PNG Or .JPEG File In Flash Project?

Apr 18, 2011

I'm trying to find out if it's possible to use a .ICO file instead of a .PNG or .JPEG file in my Flash project. Is this even possible? The reason I'm asking is that the project I'm putting together uses ActionScript 2.0 code (not sure if that makes a difference or not) and displays a bunch of images for a bunch of different applications. So instead of creating a .PNG file for each application, since I've already got .ICO files on hand, I'd rather use those (saving me a ton of time).

View 4 Replies

Professional :: Move Project To See The Not-project Area Around The Project?

Jun 21, 2010

I cant "center" my project, like you can see its "fixed" (yellow lines) in the left side and I cant see "invisible" part of project... (area around the project). how can I move my project so I can see the not-project area around the project. (picture 2).

At the moment situation... (cant see that area around the project)
http://img19.imageshack.us/img19/1186/68553623.png

View 2 Replies

Flash :: Collada Model After Add It To The View 3d?

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

ActionScript 3.0 :: Map Face On Collada Object?

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

ActionScript 3.0 :: Edit Texture Of Collada?

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

Actionscript 3.0 :: PV3D: Collada Not Visible?

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

ActionScript 3.0 :: Flash Collada Parser?

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

ActionScript 3.0 :: Width And Height Of Collada / Dae Object

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

ActionScript 3.0 :: Import 3ds Max Camera Into Papervision Through Collada?

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

Actionscript 3.0 :: Using Collada Files From Cinema 4D For Papervision?

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

Flash - Anti-alias A Collada Model In Papervision3D?

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

Actionscript 3 :: Control A Collada Model's Animations With Papervision3D?

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

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

Actionscript 3.0 :: Papervision3D Collada Basics Tutorial Isn't Working?

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

Javascript :: Is It The Index.template.html File Per Project Or The HTML File Created Per MXML Application

Sep 26, 2011

I was reading about Flex- JavaScript communication via ExternalInterface.But I had a doubt, it said that the javascript code should be written in the HTML file of the application ? Now which is this HTML file ? Is it the index.template.html file per project or the HTML file created per MXML application ?

View 3 Replies

Flash :: Make Collada Model Double Sided In Papervision3d

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

Actionscript 3.0 :: Place To Download Stock Collada Files Relatively Inexpensively?

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

Flex :: Run .swc File In Project?

Mar 18, 2010

I have a .swc file and I learned how to add that swc file into the library. I will be happy if any one explain how to use this .swc file into my flex project and run that with an example .

View 1 Replies

ActionScript 3.0 :: Calling A Swf File From Within A Different Project?

Jul 29, 2009

I am brand new to flash and action script so am just learning the basics.My question is how do I call a swf file from one screen by clicking on a menu in a different project?

View 3 Replies

ActionScript 2.0 :: Embedding SWF File Into FLA Project

Feb 23, 2009

I'm all very new to Flash! I'm a Designer. I recently out sourced a flash project and now my client needs it updating. My project consists of a music mixing desk. You press a button and video pops up. The buttons are in the stage. When pressed, this triggers a movie clip which loads a FLV player. SIMPLE! ([URL] - to see the site in action!) I have a simple flash gallery [URL]. I have put the SWF, image folder and XML in the root. I have tried embedding the SWF gallery into my Flash Project by importing it into the library and dragging it to where video content usually lives (FLV player). It doesn't work. I've tried other techniques (loadMovie etc). But I'm a bit fuzzy on these methods.

View 0 Replies

Flash :: Away3d Remove From Memory?

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

Flash :: Cannot Apply Material To A *.obj In Away3d?

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

Flash :: How To Get The Top Level Child In Away3D

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







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