ActionScript 3.0 :: Where To Put The Material Jpg [papervision]

Apr 11, 2011

trying a simple papervision tutorial and swf stops rendering by mat = new MovieMaterial(rec);

[Code]...

View 2 Replies


Similar Posts:


Actionscript 3 :: Load A Papervision/Flex Application (SWF) As A Material On A Papervision Plane?

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

ActionScript 3.0 :: [Papervision] Plane Primitive Backside Material?

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

Actionscript 3.0 :: Magnifying Glass Effect On Cube Material In Papervision?

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

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

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

Actionscript 3.0 :: Cast A Material To BitmapMaterial?

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

ActionScript 3.0 :: Away3D And Dynamic Material Assignment?

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

Flash :: Set The Alpha Of A Material Loaded With A 3DS File?

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

ActionScript 3.0 :: Dispatch Event From Movie Material?

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

Tracker Site To Upload Each Day Position And Blog Material

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

ActionScript 3.0 :: Turn A Cube Material Double Sided?

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

ActionScript 3.0 :: [PV3D] 'MaterialObject3D: TransformUV() Material.bitmap Not Found!?

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

ActionScript 3.0 :: Papervision3D_2.1 : When Use Any Shade Material The Element Losing Its Flatness?

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

ActionScript 3.0 :: Papervison - Video Material - Pause - Videos To Be Stopped At The Beginning When It Appears

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

Flex :: Material Use To Learn Flex/Air, And With ColdFusion + BlazeDS/LCDS?

Apr 15, 2012

What material did you use to learn Flex/Air itself, and with ColdFusion + BlazeDS/LCDS?

View 7 Replies

ActionScript 3.0 :: Car Skidmarks In Papervision

Oct 19, 2009

I asked this question in papervision 3d forums, but nobody replied. So. I am writing a 3D application with actionscript 3 and papervision 3D. But I have stuck on one problem, I can't figure out, how to place skidmarks (decals?) on an object. The only method I can think of is drawing directly to BitmapData (texture). What would you suggest to draw a textured skidmark on ground (plane primitive)?

View 1 Replies

Actionscript 3.0 :: Globe Done In Papervision

Jul 2, 2009

I have done globe in papervision - basically sphere + material (image of political map) over it.Now, I need to make every country on my globe interactive, what means, I need somehow create event listeners for lots (at least 15) of small areas on my globe, and if I click those areas, something will happen (say, additional info windowwill come out)I googled a lot and found a lot of things describing some realted stuff (hotspots?), but since I am quite new in flash/actionscript/papervision, could I, please, get some introductory idea how my problem might be solved?

View 1 Replies

Actionscript 3.0 :: Put Text In Papervision?

Jul 27, 2009

i was trying to put text in papervision but am having touble.

View 4 Replies

Get Papervision Development Tool?

Aug 21, 2009

Is there any development tool that has the papervision3d classes buit-it, so i can get hints when i'm writing th code as i get hints for as3 code?

View 2 Replies

IDE :: Importing 3d Animation With Papervision

Feb 12, 2009

I am new to Papervision, and am experimenting on importing animated 3ds max models into my project.I can export a model (with no animations) into Collada format, and import it using Papervision, with no problems. But when I try to import a model with animations, i get this error:[code]I am using Flash CS 4 / Papervision3D Public Beta 2.0 - Great White / 3D Studio Max 2009 (with the New Collada Plugin).

View 7 Replies

ActionScript 3.0 :: PaperVision 3D .. CPU Performance?

Jan 4, 2011

I am trying to develop a game based on papervision and flash.the very basic idea of the game is that some 3D objects are falling from the sky and you have to catch them .. At a time there can be as many as 20 of such 3D objects on the stage.Now the problem is that these 3D objects are causing too much CPU usage .. I was hoping if there was another way to do the same thing and which causes less of performance issues ...

1.I have two classes suppose A and B

2.the class A calls class B

3.class B initiates a 3D sphere whenever it is called .. the Sphere has a bitmap image material .. and it rotates along the X axis on every enter frame event

4.class A has a timer function which moves the 3D object in the Y direction and also destroys it when the object reaches a specified Y position ..here are the code snippets ...

Class A :Code:
public function onTick(e:TimerEvent)
{
if(Math.random() < spawnrate)[code]......

View 2 Replies

ActionScript 3.0 :: Setup Planes With Papervision?

Oct 30, 2009

how to setup Planes with papervision, then retrieve them later?I've set up the 3d scene like this:

PHP Code:

var con:Sprite = new Sprite();
con.x = this.width * 0.5;
con.y = this.height * 0.3;
holder.addChild(con);

[code]....

but none of these methods seem to work,, possibly because you can't do the same things to Planes that you can to movieclips...(?)the scene.numChildren seems to work though.

View 1 Replies

Flex :: Rendering Glitches With Papervision?

Oct 31, 2009

Has anyone seen rendering glitches with Papervision?

seee the flash movie at [URL].. which demonstrates the problem.

View 2 Replies

Flash :: SWF Loading In An SWF Containing A Papervision Scene

Apr 25, 2010

I have an SWF loading in an SWF containing a papervision scene.I've done it before yet problem is, I get an error - I'm not sure what the issue really is.[code]

View 3 Replies

Flash :: Importing DAE Files To Papervision?

Sep 14, 2010

i created a 3d model using sketchup and exported it as a DAE file.

then i try to import the model into papervision, but the model never appear.

when i use the DAE file provided in the examples, it works. only when i tried to create my own models, it doesn't work. does this have anything to do with sketchup?

View 2 Replies

Flash :: Using Papervision To Create A 3d Game

Oct 22, 2010

now i need to add a health bar and countdown timer on the screen. how am i going to do it? adding a plane in the 3d scene? the health bar is always on the top right corner of the screen. is there anyway of NOT using 3d concept to implement this. i mean i could do it with a plane keep changing it's texture to show the status of the character. is there any cleaner way of doing it?

View 1 Replies

Flash :: Papervision 3d Development Alive?

Dec 18, 2010

So I wonder if papervision 3d development alive? Any google code or ght..?

View 1 Replies

Actionscript 3 :: Create A Carousel With Papervision?

Jan 23, 2011

how to create a carousel like his with papervision. I created one but the planes just go round and round. I was wondering if it's possible for the planes to keep the same angel as the example of the link. I do not want the plane to rotate itself on the y axis but just move on the X/Z axis just going around an object in the middle.

View 1 Replies

Flash :: Having Simple Buttons In Papervision

Jul 22, 2011

there's a simple thing in papervision I can't do , I want to have a simple button on my swf like we have in flash , just a 2d square which is on screen and you can click on it and have some action

View 1 Replies







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