IDE :: PaperVision3D - Add A Material To A DAE?
Mar 12, 2009
I've successfully loaded a DAE model with its own bitmap texture material. Now I want to layer an environment map over that to give it a shiny look. I'm about ready to go out of my mind---nothing seems to work. I've created my environment map material, and added it to the DAE model, but it fails to appear at all. I've cut some holes in the original bitmap material, so that I'd be able to see if the reflection was covered over, but nothing appears to be hiding underneath
View 1 Replies
Similar Posts:
Apr 11, 2011
trying a simple papervision tutorial and swf stops rendering by mat = new MovieMaterial(rec);
[Code]...
View 2 Replies
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
Feb 6, 2010
I have successfully imported a Lightwave generated Collada file into Flash using Papervision3dA material within the Lightwave file is called "Lambert4SG". How can I assign the "precise" property to eliminate the texture distortion. However, the material needs to be cast to BitmapMaterial in order set a BitmapMaterial specific property.
View 2 Replies
Jun 19, 2009
I have loaded a .obj into away3D with a given material (not using the .mtl file), and through the course of rendering, I want to change the object's material. Here is how I load the .obj:
var object:Object3D;
function loadObject():void
{
[code].....
View 3 Replies
Sep 1, 2011
I have loaded a model using the 3DS parser that is already linked to a material and loads fine. I would like to make this model semi-transparent part of the time but not all of the time. I would like to just set alpha = .5 but when I target the materal that is not an option.
Here is the code and using:
var slingPar:Max3DSParser = new Max3DSParser();
var slingLoader:Loader3D = new Loader3D();
sling = new ObjectContainer3D();
[Code]...
View 1 Replies
Jan 13, 2009
I have a site that is using aspects of papervision within an otherwise 2D environment...
In my papervision 3D room which is a class loaded into a movieclip holder, the walls of the room are taken from movie clips in the library. Some of these clips also have hotspot elements within the clip. For these, I wrote the code for the individual movie materials in their own file so that I can control the mouse events easier. Everything works fine, including the movie material tracing the click event. However, in the click event I am dispatching an event to be heard on the stage. I have my listener for it in my Main file but my stage isn't ever hearing it.
View 9 Replies
Mar 16, 2009
I've searched around the web trying to find out how to set the primitive Plane backside material in papervision. Unfortunately without luck. That is why I'm turning to you,My question is simple (as written above):How do I set the background material of a Plane primitive in Papversion 2.0?
View 1 Replies
May 2, 2009
I'm about to go on a 1000 mile charity cycle ride. I would like to be able to upload my position to the website at the end of each day - and have the site show precisely where I am on a map of the whole route - a sort of rolling image, if you like. I'd also like to be able to upload blog material at the same time. I have ActionScript 3 available.
View 5 Replies
Apr 15, 2011
I don't see how i can make a cube's material double sided. I need this as i am flying thru a cube.
Code:
private function createMaterialList( color:uint ):MaterialsList {
//creates a wireframe
var ml:MaterialsList = new MaterialsList();
[Code].....
View 2 Replies
Nov 14, 2009
I was recently trying to import some collada models from 3d studio max into flash. verything looks fine, but I have some kind of error which rather shouldn't appear: Quote:'MaterialObject3D: transformUV() material.bitmap not found!'I've found some answers by googling it, but I'm not sur
View 0 Replies
Nov 9, 2011
I have added a DAE element to the scene created in 3D Max as I created a MaterialsList for it, the problem is when I use any shade material the element losing its flatness!
View 6 Replies
Oct 21, 2010
I have a cube with a material on the front face. I'm trying to create a magnifying glass in 2D for the 3D cube. Can anyone offer a suggestion for how to achieve this? I was thinking I might try to find the UV under the mouse in an OBJECT_OVER InteractiveScene3DEvent and somehow get the bitmap from the material, mask it, and move it around in relation to the mouse position- mimicking a magnifying effect. How to do that, I have no clue.
View 2 Replies
Feb 16, 2009
I have a cube built in papervision. It has a video on each side. I want the videos to be stopped at the beginning when it appears. I thought I could just use pause on the stream. ncStream2.pause(); no luck. When I do that I just get a black box. There is no black at the beginning of the videos. I do not think the papervision part is really a big deal. It's probably just a straight forward AS3 and video problem.
[Code]....
View 3 Replies
Jan 9, 2011
I'm having some problems with Papervision and Flash CS5. Basically, it doesn't seem to work ... I successfully installed Papervision once before on Flash CS3 using the same technique.. which leaves me asking if Papervision is even compatible with CS5 ? I've searched high and low but I can't seem to find anything concerning CS5 in the FAQs or on the forums.
View 3 Replies
Mar 24, 2011
I am trying to build a portfolio application similar to the used by Whitevoid. I am using Flex 4 and Papervision3D 2. I have everything working except for one issue. When I try to load an external SWF as a material on one of the planes, I can see any native Flex or Flash components in their correct positions, but the papervision objects are not being rendered properly. It looks like the viewport is not being set in the nested swf. I have posted my code for loading the swf below.
private function loadMovie(path:String=""):void
{
loader = new Loader();
request = new URLRequest(path);
[Code]....
Below I have posted two pictures. The first is a shot of the application running by itself. The second is the application as a MovieMaterial on a Plane. You can see how the button created as a spark object in the mxml stays in the correct position, but papervision sphere (which is rotating) is in the wrong location.
View 1 Replies
Jun 28, 2009
This is a theoretical question, and I'm asking it because I don't have to knowledge to articulate it in keywords: I want to know if there is currently a way to load .swf'swith all functionalitynto some sort of 3d dome/vortex/vector(?) that lets you see all the .swfs from the inside. In other words: Imagine yourself inside a huge sphere broadcasting several functional .swf's 'embedded' to its surface, a la Silverligt
View 2 Replies
Jun 26, 2010
I need to develop a cube that contain 10 little cubes and manipulate everyone like an object.
View 1 Replies
Sep 29, 2009
How to find uv coordinates while making custom primitive in papervision3D?
View 0 Replies
Feb 2, 2009
I followed all the tutorials I could find for Papervision3D, both for Flash and Flex, and I always get compilation errors. I followed all the instructions from the very beginning, and nothing ever works.The examples given in as3 runkexamplesFlashCS3 don't publish correctly if I open the SWF and try to compile them either. For example, helloMouse3D gives me:
1046: Type was not found or was not a compile-time constant: InteractiveScene3DEvent.
1046: Type was not found or was not a compile-time constant: InteractiveScene3DEvent.
And I didn't change a single line of code. The as2 examples still compile correctly,
View 5 Replies
Apr 17, 2009
I Want Papervision3D Class and how to use it in ActionScript 2.0
View 4 Replies
Apr 15, 2012
What material did you use to learn Flex/Air itself, and with ColdFusion + BlazeDS/LCDS?
View 7 Replies
May 25, 2011
I have a flash application and I use papervision3d library. I put my objects to the scene, no problem but I also want to show the coordinate axes (x,y and z) to user. Is there any way to show these axes?
View 2 Replies
Nov 28, 2010
The problem I am having is that once I click back button on my scene to go back to home page, the animation of papervision3d kick-starts on top of already existing papervision3d animation. It doubles each time.
Is there a way to remove it? something like removeChild(); or it's nothing similar to that?
View 0 Replies
Sep 16, 2010
i have a big problem and i dont know how to solve this! Normaly i work with the BasicRenderEngine in Papervision3D and the Caurina Class to Tween the alpha property of the Planes. And this works fine when i set the Plane to:plane.useOwnContainer = true;But in my actual project i must use the QuadrantRenderEngine from Papervision3D becouse of the Z Sorting. But when i use the QuadrantRenderEngine the alpha tweens doesent work anymore, even when i just set the alpha property directly to another value it doesent work.
For example:plane.alpha = 0.5;Does also not work. I checked my script and i found no errors or something and when i change back to the BasicRenderEngine again it all works again! So it must be a problem with the QuadrantRenderEngine!what i can do to make the alpha tweens working together with the QuadrantRenderengine!!!
View 1 Replies
Jan 6, 2010
I have a wall of Planes at different angles and positions. I'd like to get the camera to rotate and look straight at the focused plane. I have created a dummy Plane (lookAtMe) that tweens to the Plane I click on as follows:
private function planeClicked(e:InteractiveScene3DEvent):void
{
lookAtTarget.copyTransform(this);
[Code]....
The camera centers on the looAtMe Plane but doesn't rotate so that the selected Plane is straight on.
View 3 Replies
Mar 8, 2010
I'm updating the start and end points of a Line3D object in Papervision3D. The end result works fine but there seems to be a lag from when I move the objects and for the line to redraw in the right position. I'm using the following code:
connectingLine.v0.x = startDisObj.sceneX;
connectingLine.v0.y = startDisObj.sceneY;
connectingLine.v0.z = startDisObj.sceneZ;
[code].....
View 1 Replies
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
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
May 27, 2010
I would like to combine bitmaps to one texture and apply it to a cylindric primitive. The cylinder will be rotating or better: the texture should moving along the cylindric-surface and therefor you should see only one (up to 3 textures at the same time). For better understanding: it's my intention to create somehow a poster-pillow with a undefined number of posters on it. By clicking on the pillow, it should rotate to the next poster but you will see always parts of the previous/next poster.
My question is: How can I load the texture dynamically but also how to combine, load/unload posters on the run ?
View 1 Replies