Papervision3D CS3 Component Update v1.5

I’m glad I got a chance to get this out before the move to Texas – the performance increase in the engine and the new InteractiveScene3D / materials stuff is a great addition to the component.

I also added a new “tools” panel to the UI where you can generate quick code for either pasting right into the timeline or creating a new class document. The code is copied right to your systems Clipboard. I also made it easier for you to add your own custom templates for use. The only thing you need to do, is add them to the commands/papervision3d/templates folder as “.as” files and the UI will load all files in that directory next time you reopen the panel.

IE:C:\Documents and Settings\[username]\Local Settings\Application Data\Adobe\Flash CS3\en\Configuration\Commands\Papervision3d\templates

I would suggest creating your own versions and not altering the ones that I put in there. Point being that they may be overwritten in future revisions of the component.

Papervision3D Component v1.5 update notes

* . New 1.5 Papervision3D engine – 40%+ faster than previous version
* . InteractiveScene3D is now default scene type
* . Interactive materials are now enabled via a new “interactive” boolean flag
* . Preloader events for collada preload
* . Error handler events for collada load errors
* . Auto-code generation – create new Class or code for timeline use
* . Create your own custom code templates
* . Scene Rotation option added to component – makes for quick mouse rotation of a collada scene
* . DisplayObject3D mouse events with Interactive materials being used

Get it!

NOTE: I’ve updated the MXP with the fix, but if you already downloaded 1.5, you can just grab this update:
Template update

And check out the updated docs

About these ads
  1. Great effort John I will try this right now

    • Joc
    • August 6th, 2007

    John, with a Collada file exported from Blender I get errors in the output window
    COLLADA File: simpleman.dae
    DisplayObject3D: null
    DisplayObject3D: Cube
    ReferenceError: Error #1065: Variable @id is not defined.
    at org.papervision3d.objects::Collada/org.papervision3d.objects:Collada::getTexture()
    at org.papervision3d.objects::Collada/org.papervision3d.objects:Collada::addMaterial()
    at org.papervision3d.objects::Collada/org.papervision3d.objects:Collada::parseGeometry()
    at org.papervision3d.objects::Collada/org.papervision3d.objects:Collada::parseNode()
    at org.papervision3d.objects::Collada/org.papervision3d.objects:Collada::parseScene()
    at org.papervision3d.objects::Collada/org.papervision3d.objects:Collada::buildCollada()
    at org.papervision3d.objects::Collada/org.papervision3d.objects:Collada::onComplete()
    at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/flash.net:URLLoader::onComplete()
    any ideas?

    • reality
    • October 25th, 2007

    You are a loser, and flash sucks. It’s used for annoying ads, and doing any real development in it is a joke because the tools suck ass.

  2. Thanks.

  3. Hi John, I got the following error when using the document class generator: 1120: Access of undefined property scene3d.

    I fixed that by wrapping the listener settings in a constructor function:

    public function Main()
    {
    scene3d.addEventListener(PV3DColladaScene.SCENE_COMPLETE, handleInit);
    scene3d.addEventListener(PV3DColladaScene.SCENE_LOAD_PROGRESS, handleProgress);
    scene3d.addEventListener(PV3DColladaScene.SCENE_LOAD_ERROR, handleLoadError);
    }

    Thanks for the component! Hope this helps.

    • droid9
    • January 7th, 2008

    Hi, love it all. 2 problems that I’m having are:
    1. After I’ve set everything up my 3d object doesn’t go green in design view.
    2. I can’t get the trace events working. I’m currently receiving no trace messages and no errors of any kind. Everything looks right in the script.

    p.s.
    I noticed the cpu shoots to 40-50% (brand new dual core 4gb ram). Is there any tricks to reduce this?

    • Daniel
    • March 19th, 2008

    I’ve been trying to import a COLLADA file from Maya 2008 rather unsuccessfully on a MAC OS X Leopard Client. I’ve installed the plugin for collada on maya and I’ve tried several variations including using the PV Component only and linking to the actionscript classes from google code in one trial and the PV 1.5 folder in a second trial in Flash preferences.

    seems like its not find the classes? I placed them in /Applications/Adobe Flash CS3/Configuration/Actionscript 3.0/Classes
    in that classes dir is where the org, fl, com, and livepreview folders are contained

    This is the output code I get when I select the untitled.dae file I exported from maya

    COLLADA File: untitled.dae
    DisplayObject3D: null
    DisplayObject3D: pCube1
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at org.papervision3d.objects::Collada/org.papervision3d.objects:Collada::buildObject()
    at org.papervision3d.objects::Collada/org.papervision3d.objects:Collada::parseGeometry()
    at org.papervision3d.objects::Collada/org.papervision3d.objects:Collada::parseNode()
    at org.papervision3d.objects::Collada/org.papervision3d.objects:Collada::parseScene()
    at org.papervision3d.objects::Collada/org.papervision3d.objects:Collada::buildCollada()
    at org.papervision3d.objects::Collada/org.papervision3d.objects:Collada::onComplete()
    at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/flash.net:URLLoader::onComplete()

    Any help is appreciated, Thanks so much. :D

  4. @Daniel: I’ve taken a screen shot of my maya settings. After messing with it a TON, these settings caused the collada to *work* :)

    http://screencast.com/t/dguyy3x5

    The last option you don’t see in the screen shot is that Xfov is unchecked, and Yfov is checked

    • Karl
    • October 27th, 2008

    Hi, I’m new to this and I guess I’m not the only one having problems to get started. I can’t get the pv3d component to work in flash cs3. I don’t see any pv3d component window though extension manager says that everythings alright.

    Any helpfull hints?
    Thanks in advance!

  5. @Karl: In the Flash IDE, go to Window > Other Panels > PV3DPanel

    this will load the Papervision3D panel for you to start working with.

    • Karl
    • October 31st, 2008

    @neoriley: Thanks for the tip. I already looked up there and tried several times by erasing the mxp from exchange and reinstalling it, restarting flash, restarting the computer… still doesn’t work.

    Is it possible, that running everything on osx could be a reason?

    Thankfull for help…

    • Claudiu
    • November 9th, 2008

    I have problems making the materials interactive and make some panels clickable.

    Can you help me with this? I can’t find anything about the interactive option.

    Thanks

    • bobby
    • July 12th, 2009

    I’m trying to export from BLENDER 2.49a a COLLADA and as I’m new to the format, I was wondering if it supports, or if there are any plans to support, bones, textures and mesh transformations, or is this part of the Papervision3D API itself.

  1. July 25th, 2007
  2. July 25th, 2007
  3. July 25th, 2007
  4. September 29th, 2007
    Trackback from : Flex Studio» Blog 存档 3D
  5. April 16th, 2008
  6. April 17th, 2008
  7. November 15th, 2009
  8. November 15th, 2009
  9. November 16th, 2009

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 793 other followers