Actionscript 3 :: PaperVision3D And Flash CS4?
Jun 26, 2010I need to develop a cube that contain 10 little cubes and manipulate everyone like an object.
View 1 RepliesI need to develop a cube that contain 10 little cubes and manipulate everyone like an object.
View 1 RepliesI 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 RepliesI'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].....
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?
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).
ive got two template which ive seen online which i would like to make now purchasing them cost quite a lot so im looking to make these templates one or the other here the info on the templates:
template 1: templateaction.com/space-cube-flash-cms-template
template 2: templateaction.com/cube-flash-cms-template
on the website if you click live preview you will know what im looking for. now i researched a bit and notice that the cube in these templates is made in papervision3d and found a tutorial on that:gotoandlearn.com/play.php?id=68 now how can i make one or the other of these templates as their are the exact thing im looking for, for my project can anyone help me out. editing the cube is not a problem i could make it on click go to websites or scenes in flash, but the thing is im not a expert in flash or papervision3d so i need help to get the type of features in the templates on the cube.
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 RepliesWhat is the best technique to apply anti-aliased text as texture on cube using papervision3d?
make dynamic textfield, convert it to moviematerial then apply it to the faces of cube. Design a bitmap using any picture editor and make a bitmapFileMaterial to apply on faces of cube.
I'd like to keep an object appear to remain in the same place while moving the camera.I'm using this scriptto orbit an object using a mouse drag. But I have an object in the scene that I would like to keep still. How to I do this?
View 1 RepliesSo I know that PV3d looks quite dead. But it is documented over the internet much better. So I decided to develope my product using old but good PV3d engine. Time goes on so I plan to port it sooner or later to Away3d. So I need a list of things that aere not in Away3d that I have in PV3d. And a list of generall use diffrencies (use of cameras, viewports, etc). So where to get comparing list of papervision3d vs Away3d?
View 1 Repliesi need to make a loader on flash or a simple label who say "wait, the model is loading". This is the part of my script were i load the model, but how to control the loading process.
Code:
private function _onInit(e:Event):void {
_earth = new DAE();
_earth.load('model/hfarm.DAE');
[code]....
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
I have an object in Papervision3d that the user needs to be able to zoom into a considerable amount. At Flash's maximum bitmap size of 2880x2880 the texture is too blurred at the maximum zoom. Even going beyond this to the sizes available in Flash 10 do not help.Is there any way to build a BitmapMaterial that can pull from a set of tiled 2880x2880 images?Is there any other way to load a larger texture into Papervision3D?
View 1 RepliesI'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 RepliesI'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 RepliesThis 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 RepliesHow to find uv coordinates while making custom primitive in papervision3D?
View 0 RepliesI 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,
I Want Papervision3D Class and how to use it in ActionScript 2.0
View 4 RepliesThe 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?
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!!!
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.
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 ?
I am working on panoramic scene . And I want to move a plane with cursor. When I move mouse, plane must be mouse coordinates. And I want to take plane 3D coordinates (x,y,z) expecially z-coordinate. I try below code. But it doesnt work correctly. Mouse and plane are not be same coordinates on screen. How I can do?
public class RayTracer
{
public static function getIntersection(viewport:Viewport3D, camera:CameraObject3D, normal:Array):Number3D
[Code]....
I have a question about Papervision3D, or perhaps bitmapData, I am unsure where the problem is. I have constructed a program that takes 4 banners and splits them into pieces and then applies those pieces to cubes so that I can make a banner rotator. So after I run my program I have 10 cubes with a piece of a banner on 4 faces(front, top, back, bottom) of each cube. The problem is that some of the faces are oriented incorrectly(spun 180 degrees).
Is there a way in Papervision3D to spin a cube face? The other place I think the problem may be is when I create the bitmapData that will be applied to the cube faces. Is there some way to explicitly define orientation during bitmapData creation?
[Code]...
How position plane in sphere papervision3d as3 ?
I have a problem , how position a plane in surface of sphere.
I'm not sure if this is directly hardware related or not. I've just started playing around with papervision 3d and I threw together this map floor and test sprite to see how it would look. The problem is, whenever I have a large portion or the map in my viewport, it lags. I was just wondering if maybe:
a) My code is horrid
b) My computer is a piece
c) Papervision3D is just bad for 3D
I mean the concept is simple, there's nothing fancy going on and I'm only using planes. Maybe it's because I'm using 25x25 of them? Is there a better path to use 3D than paper3d? Anyways, here's the code.
ActionScript Code:
//import files
import org.papervision3d.scenes.*;
import org.papervision3d.cameras.*;
import org.papervision3d.objects.*;
import org.papervision3d.objects.special.*;
[Code] .....
How do you launch a link website from Papervision3D?
I have a plane with a material on it that I wish to be clickable and that would launch a default browser with the website.
I have following error when using papervision3d, setting "mouse3D.enabled = true;" in Lines3D
typeerror error 1009 cannot access a property or method of a null object reference at org.papervision3d.core.utils::Mouse3D/updatePosition() at org.papervision3d.core.utils::InteractiveSceneMana ger/handleEnterFrame()
I could really need help with that. I'm not sure if it hasto do with the statsView, or if there are really that much more polygons added. This would mean an enormous performance decrease.
[Code]...