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


Similar Posts:


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

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 :: 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

Flex :: Presentation Model Pattern Can View Specific Logic Reside In View?

Aug 15, 2011

I'm currently using RobotLegs with the Presentation Model pattern to develop a Flex 4 project. I understand that all business logic related to a View resides in the Presentation Model associated with that view, however, I am confused when it comes to View specific logic.For example, I have an indicator that needs to be positioned relatively to list items depending on which list item is selected. Is it acceptable in the Presentation pattern to put the logic that will position the indicator in the View and simply have that logic run in reaction to a selectedIndex property changing in the presentation model?The reason I am considering this is that since the Presentation Model does not have a reference to the view it is difficult to come up with an ideal solution for manipulating view components.

View 1 Replies

Actionscript 3 :: Model View Controller - Where To Keep Simple Logic

Mar 18, 2011

I often see very different implementations of the Model View Controller Pattern, and completely understand that you should adapt and use what fits your needs the best, but I was wondering what would be the advantages/disadvantages/best practice of keeping simple game logic in ether the controller or model? In essence which is the correct way I should be doing this? for this simple example the player receives damage and I have listed three possible ways of dealing with it:

[Code]...

View 1 Replies

ActionScript 3.0 :: Model View Controller Simple Image Load

Jul 25, 2011

Here I want to load an image. The arrangement produces no errors and no results. I'm really trying to get my head around this design pattern.

[Code]...

View 4 Replies

Java :: Hibernate And Servlets With Adobe Flex + Model View Controller Pattern?

Aug 30, 2010

I am preparing a document for a project. The project's backend is developed in Java, frontend is adobe flex.
I am not sure about the correct way of describe the project in Model-View-Controller way.

For Model layer: Using Hibernate Java beans to implement all the business logic and persistence? For View Layer: Using Adobe flex send post or get request to Controller layer, and get respond in XML format. For Controller Layer: Using Java servlet to handle requests from Flex client?

View 2 Replies

Flash :: Silverlight - MVVM - Presentation Model In Flex Vs Presentation Model In Silverlight: Advantages And Disadvantages?

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

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

Java :: View Part Of A Web Application - What Technology For A Pretty Intensive Grid View

Aug 3, 2010

I'm about to have to write a web page/app that will serve the agenda for circa 100 people on a page. One line per person, one column per day with 3 clickable zones in each cell. In HTML, the page is way complex for the browser to load quick and there is no possibility to click on a border between 2 cells to for example split an event that spreads among several cells. So I search an not too overkilling technology to render this kind of view. I begun with a PHP generated HTML page but the number of elements in the page make the mouse move jerky.

Moving to JAVA would give me better performances regarding the reuse of the generator of the view but it will still be an HTML page. So, here is my question: do you think that going forward with JAVA and its graphical capability is the simple solution or is Flash a better option for this part of a Web App? I'm afraid of the code I'll have to write in JAVA to handle the GUI presentation as well as the events generated by the 1000's cells plus borders of the page. In Flash, the graphical part seems simpler even if the actions handling is still huge.

View 2 Replies

Actionscript 3.0 :: Make A 360º View Bubble Like Google Street View

Mar 18, 2010

I am wondering how to make a 360º view bubble, like they use for Google Street View, but have no idea how to go at accomplishing this task... i have the string of photos that i attached in photoshop(so that if you connected the left to the right it would be a full 360º view).

View 1 Replies

Flash 10 :: 3D Model/Map Of Buildings

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

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 :: Interactive 3D Model In Flash?

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

Physics SDK For Flash With Realistic Model

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

Java :: 3d Model Viewer In Flash?

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

Actionscript 3 - What Is The Box Model For Flash Rectangles

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

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 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 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

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

Actionscript 3 :: Manipulate A 3d Model In Flash With Mouse?

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

Flash - Putting A MovieMaterial Behind A DAE Model In Papervision3D?

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

Flash :: Load A VRML Model On PaperVision3d?

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

Actionscript 3 :: Convert CAD Model For Use In Flash / Papervision?

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

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







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