Home

Archive for the Category » Papervision 3D «

PV3D InteractivePlanesBoard for Flash CS3

Monday, June 15th, 2009 | Author: dehash

cs3 board image

InteractivePlanesBoard from here converted to work in Flash CS3.

view swf here and download .fla and source here

Icon by http://dryicons.com and pop up view of the swf is displayed using shadowbox.

Category: Code Examples, Flash, Papervision 3D | 2 Comments

Flash CS4 Papervision example

Tuesday, April 07th, 2009 | Author: dehash

This post is mainly to cover some of the questions often asked and give a simple download to try out.

The Papervision examples here were compiled using the Flex SDK and FlashDevelop so there are no .fla’s used. But as the examples are AS3 classes the conversion to using in Flash can be made so here is one download with a few usage ideas.

It was made in Flash CS4 and can be viewed here and the source can be downloaded here. It uses the very simple PlaneDemo class without editing it and the recent Papervision classes Papervision3D_2.0.883.zip from here are included in the zip.

Some things to note:
- The first line of the PlaneDemo class is
package com.dehash.pv3d.examples.basic
so the PlaneDemo class is stored in the following location
com/dehash/pv3d/examples/basic/PlaneDemo.as

- PlaneDemo.as is used as the document class and set in the Publish Properties pane which is one of the ways to use the class in Flash because PlaneDemo extends BasicView which extends AbstractView which extends Sprite.

- the Papervision classes are stored in the libs folder and that directory is added to the Source path using the Publish Settings > Flash tab path > Settings dialogue.

PlaneDemo.as includes the following Metadata
[SWF(width="800", height="600", backgroundColor="0xffffff")]
Flash CS4 is able to read this and implement it whereas the CS3 IDE was not. There is an article that covers this here

At some point I shall put up a more interesting example than PlaneDemo but it does cover many of the essentials despite being quite basic. The pop up view of the swf is displayed using shadowbox.

Category: Code Examples, Flash, Papervision 3D | One Comment

More Papervision 3D examples with source code

Sunday, January 04th, 2009 | Author: dehash

Added some more Papervision 3D examples with source code.

There are now over 30 and all examples use current Papervision3D GreatWhite from SVN and so far all use BasicView also

Category: Code Examples, Flash, Papervision 3D | 8 Comments

Papervision AS3DMod – modifier for 3D Flash

Thursday, September 04th, 2008 | Author: dehash

Modified Cube example using AS3DMod Interested to see this appear yesterday at everydayflash.com and made a quick start on a sandbox for it to get ideas on how to use it with Papervision.

A first example of AS3DMod which is a sandbox to experiment with can be found here.

Updates: Some usage tips noted for the initial version of the library using pv3d

* Seems to work fine with current SVN build of PV3D

* in com.as3dmod.modifiers.Noise.as comment out line 9:
import alternativa.types.Matrix3D; (the import is not used but will error if you only have pv3d library)

* Grab com.carlcalderon.arthropod.Debug.as from here and put it in your path as it is used in several of the files.

* Added simplfied usage code to the example here

* Added examples below using svn build.

Noise – sandpaper to mountain range: AS3DModNoise.as


Taper- rip and shrink: AS3DModTaper.as

Fish example
An idea for a Fish


Category: Code Examples, Flash, Papervision 3D | 4 Comments

Papervision 3D Examples Added With Source Code

Wednesday, August 06th, 2008 | Author: dehash

Added some more Papervision 3D examples with source code.
All examples use current Papervision3D GreatWhite from SVN and so far all use BasicView also. **Update:** added four more examples to the top of the list to make 18 in total:
PV3D Examples


Category: Code Examples, Flash, Papervision 3D | 27 Comments

Papervision3D Examples With Code

Wednesday, July 23rd, 2008 | Author: dehash

Here are some Papervision3D SVN GreatWhite examples with source code.

More to be added soon.

Category: Papervision 3D | One Comment

Using Papervision3D with FlashDevelop 3

Sunday, June 24th, 2007 | Author: dehash

[EDIT] For a more up to date post click here http://www.dehash.com/?p=152

PV3D Torus


Below is an example using Papervision3D AS3 engine using Flex2 SDK and FlashDevelop3 Beta 2. Look here for a fantastic Shark Demo
more…

Category: Code Examples, Flash, Papervision 3D | Leave a Comment