Archive for the ‘ Papervision3D ’ Category

vizualpv3d

Interesting tool for editing 3d Papervision Models.

Link:vizualpv3d
Download:vizualpv3d.zip

2D to 3D Photo with Delaunay triangulation

Interesting Flex app for modeling your face from 2 photos.

Source: http://www.neuroproductions.be/experiments/fle_delaunay_triangulation/
Flex Project:TrangulateFace.zip

How to get Pixel Precision in PV3D

Surfing the web I found an interesting post in Everyday Flash , it explains how to get Pixel Precision in PV3D ( Getting a textured object show his texture with a 1:1 aspect relation )

To position the object we use this formula:

1
3dobj.z = (camera.zoom * camera.focus) - Math.abs(camera.z)

And to get x,y 2D coordinates of the 3D object this one:

1
2
screenPosX = 3dobj.screen.x + viewport.viewportWidth / 2;
screenPosY = 3dobj.screen.y + viewport.viewportHeight / 2;