Papervision3D 2.0 Alpha now released

Papervision3D version 2.0 Alpha is now on general release. No doubt the result of months of hard work by the Papervision3D team. The latest build of the library is at the usual Googlecode SVN repository.
There are a significant number of changes with this Alpha release. Notable are the 2 new library folders, GreatWhite and Effects, which replace the old Phunky, Ascollada, Timk_Frustum et al and a new class structure throughout the PV3D library. An example of this structural change is demonstrated by the new package location of the MaterialsList class which, is now in a "utils" folder, a sub-package of the materials package.
The new features include Faster and improved performance, ShadeMaterials, Shaders, ASCollada (animation support), Frustrum Culling, Multiple Viewports, Render to Scene and more. The feature list will increase as more features are added.

The work flow has changed. In order to render you may need to deploy instances of the AnimationEngine, BasicRenderEngine and Viewport3D classes. Visualization is done via the Viewport3D class, and the BasicRenderEngine allows you reference the scene to be rendered and the camera view to be used. Having said that you now have multiple Viewports.

This is the new workflow:

var viewport:Viewport3D = new Viewport3D(0, 0, true, false);


var renderer:BasicRenderEngine = new BasicRenderEngine();

var scene:Scene3D = new Scene3D();

var camera:Camera3D = new Camera3D();

For rendering:

renderer.renderScene(scene, camera, viewport);

***A note of warning, if you do not want to spend the whole day trying to sort out broken class paths with your perfectly working applications DO NOT UPDATE your current PV3D library via SVN. Create a new folder for this version of PV3D and start afresh.

aYo Binitie II

No comments: