papervision3d

[Flash/Papervision3D] DisplayBoject3D's axis aligned bounding box, and why geometry is null?

I am trying to retreive the 2D bounding box for a 3D plane I have on stage. With some research I figured out I should be looking for: plane.geometry.aabb But the plane, added on stage and such has null for its geometry? - what am I doing wrong here? I am able to calculateScreenCoords and get screen.x, screen.y. But it would save my day...

Papervision 3D with Flex

I am a newbie to Papervision. I want to design a sphere with 8 holes around one of its diameters. How do I do it? How do I draw anything on a sphere in Papervision? ...

BitmapViewport3D + interactivity in Paperivion3D 2

Hello, when i use Viewport3D in the scene i can easily interact with stage object, but when i'm trying to to use instance of BitmapViewport3D class as main viewport, it does not work. ...

Papervision3D books to buy

Can anyone suggest me a good papervision3D book to read? I know as3 pretty well but I'm just starting out with pv3d. ...

Differences between BasicRenderEngine and LazyRenderEngine?

Hello all, Anyone out there who knows what are the differences between BasicRenderEngine and LazyRenderEngine? ...

Mixing different version of the same library in flex

How can I use two version of a library in the same project in Flex (using Eclipse). (in my case the library is papervision3d , and I have written some code using the older version, but due to big changes many of the used function exist no more) thx ...

Having trouble with Interactive Plane

I am having some trouble getting an interactive, animated plane created from a MovieClip in the Library to show any kind of animation or receive any mouse events. Specifically, I am having issues with the different states of Button instances in the MovieClip. Here's the basic code that I am testing with: private function init3D():voi...

How to set alpha on a DAE?

I'm a bit new to Papervision3D, and I'm trying to set the alpha level on a DAE I'm loading from a Collada file. How can this be done? I'm aware that I can set useOwnContainer to true and set the alpha then, but I'm trying to avoid this so that I don't need to deal with the layering issues this creates. ...

ScrollPane in Papervision3D

I am having major issues with a ScrollPane component in Papervision3D. This issue has been brought up at a couple of different forums, but not solved: http://osflash.org/pipermail/papervision3d%5Fosflash.org/2009-March/029503.html http://www.nabble.com/ScrollPane-doesn%27t-size-or-display-properly-td22302394.html I have tried dynamic...

How to anti-alias a collada model in papervision3D?

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

Papervision3D; rotate child objects within camera view

Hi all, It's my first time with Papervision3D and I have created a slide show of images that is skewed on the y-axis. Smallest photos on the left, and they increase in size going to the right. So they zoom from left to right, smallest to biggest. I have a tooltip that pops up when you hovers over the photo, but the tooltip also gets...

Flash Texture Mapped Triangles look horrible

I have a 3D cube made with PaperVision3D. Each "side" is made of 2 triangles. I have a different texture "material" mapped to each side. When I rotate the cube the texture is skewed like '/\' an upside down v between both triangles. When looking at a face straight on it looks ok but start to rotate and it starts to skew the textures....

Planewidth after bending (using pv3d, as3dmod)

Hi there, I got a huge problem. I'm stuck there for two weeks now. It's seems pretty simple. I'm creating a plane, mapping a texture to it. After that I bend it, using the bend modifier from as3dmod. Of course the plane got smaller after the bending process. I've tried to calculate the first and last vertices. var sizeAfterBending:...

Arcball Implementation for Papervision3D

Is there an arcball implementation for Papervision3D? There are many arcball implementations for Flash/ActionScript but none specifically for Papervision3D. Here's an example of an arcball implementation for flash: http://www.unitzeroone.com/blog/2009/09/08/source-better-flash-10-3d-interaction-arcball/ I have taken to writing my own...

error insert text in papervision typography class

hi evryone , i am encounter with a small problem i want to make a 3d rtl text animation with papervision this code generet a problem to this : [Fault] exception, information=TypeError: Error #1009: Cannot access a property or method of a null object reference. but when using a english text this error dont genereta my code : p...

How do I adjust the overall alpha value of a Collada Model in Flash PaperVision3D?

Hi, I want to display a Collada model over top of a video stream and dynamically adjust its alpha value. Right now I have it partially working in PaperVision but I can't seem to set the alpha of the model at all. I have tried a few things from google. For non-Collada models the following works fine: var layer:ViewportLayer = viewpor...

access Spring Camera method

hi how to access spring camera methods and parametr when my class extends from basi view package { import flash.display.DisplayObject; import flash.display.InteractiveObject; import flash.display.Loader; import flash.display.Sprite; import flash.display.StageAlign; import flash.display.StageScaleMode; import flash.events.Event; import f...

3D, AS3, Flex - Convert degrees of rotation to visible height

I need to know what the visible height of a display object will be after I change it's rotationX value. I have an application that allows users to lay out a floor in 3D space. I want the size of the floor to automatically stretch after a 3D rotation so that it always covers a certain area. Anyone know a formula for working this out? E...

Mapping a 2D object to 3D space, maintining 2D size

I have a papervision3d sphere primitive that I am adding to a scene. The sphere is being sized with a radius of 285. However, because of my camera properties (zoom, focus and z) the sphere is rendering at 206px instead of 570px which is what I want (2 * radius). A while back I found a blog post concerning this very issue and it was ...

mapping planes onto primitives

I've looped through the vertices and mapped a plane to each one. I'm having problems orientating the planes correctly. I can get it working with a sphere but when i make any alterations to the the primitive - positions are correct but they don't face/tilt the right way. EDIT: Note - the alternation to the sphere was done before the sphe...