My firsts experiments with Papervision3D EspañolPortuguês

2 March 2009

Papervision3D, News

My firsts experiments with Papervision3D

Some months ago I started using Papervision3D. I like Papervision3D, it’s a innovative open source project, and the Core Team of PV3D are challenging the performance of the Flash Player. Who know correctly this 3D rendering engine, you can make a lot of innovatives dynamics back-ends 3D, it can be a way for a very interesting innovation. I’m already begun exploring Papervision3D.

I decided to share my firsts experiments:

  • Construction of a3D triangle.
    trianglepapervision3d
    In this experiment I learned how to create a TriangleMesh3D, the process is simple, every point in space is an instance of the class Vertex3D, and the faces are based on these points. The way of mapping faces I’ll post later.
    View. Source Code.
  • Then I started to experiment to create 3D games,
    papervision3dgame
    I used the Particles class to create particles at each vertex of the plane and it’s rotate around the y axis. The limitation is the very low framerate, it is necessary to optimize the code, but for a first experience was very nice. I was happy :D. To rotate and move the camera position, you can use your mouse and arrow keys
    View. Source Code.
  • My next experiment consisted in the construction of algebraic surfaces instanciating TriangleMesh3D class, and made my first integration with Tween Papervision3D in this experiment.
    algebrapv3dTo rotate and move the camera, you can use your mouse and arrow keys. And press the space key to change the subject.
    View. Source Code.
  • The experiment quoted above simply play with the depth of Vertex3D points, I make a small modification so that the x and y components follow a sine curve, and the z component of the transition point.
    algebra2pv3dSome objects are ugly, some rare, but gives an idea of what can be done with careful mathematical study of surfaces to create.
    View. Source Code.
  • There are many classes to create materials in Papervision3D, the basic tests that I made with Papervision3D materials used for the following types of materials:
    flatShadedMaterial
    gouraundMaterial
    phongMaterial
    cellMaterial
    envMapMaterial
    materialpapervision3d
    To view the types of materials listed above, you must re-compile the source code you must uncoment addChild methods.
    View. Source Code.
  • I was interested to make a small integration of sound materials.
    Source Code.
  • This example of cubes and spheres in Papervision3D was very easy to make, simply because using primitive objects.
    cubeandspherepv3dYou can use de arrows keys to see the 3D objects.
    View. Source Code.

This is my first post about Papervision3D, I’ll post frequently about this.

, , ,

8 Responses to “My firsts experiments with Papervision3D”

  1. Gabriela Fretes Says:

    Hola!!!

    Está demás decirte que tu blog está simplemente G E N I A L!!!!
    Te felicito por tan lindo e interesante emprendimiento. Estuve leyendo algo de tu trabajo…está súper bueno, aunque entienda casi nada al respecto jejeje, pero bueno eso se puede aprender :-)

    Éxitos!!

  2. Pamela Says:

    exelente trabajo, felicidades!

  3. Kenneth Espinal Says:

    Hola, saludos desde México, estan muy interesante tus artículos sobre PaperVision….. algún tutorial que recomiendes y creas que es conveniente para empezar =).

    Saludos!

  4. David Perez Says:

    Hola, muchas gracias!
    Para empezar, podrías leerte este post

    http://www.david5.com/interfaces-tridimensionales-en-los-navegadores-de-internet-papervision3d/

    y también ver los ejemplos de código del sitio http://pv3d.org/ , allí hay muchos ejemplos interesantes.

    Un saludo.

  5. Laura Says:

    Muy bueno esta tu blog David! te felicito por el emprendimiento. Creo que ambos tenemos la misma idea, jajajajaja (vos me entendes):P

  6. Anthony Wilson Says:

    asians like to have rhinoplasty because they want taller and thinner noses.~,-


Trackbacks/Pingbacks

  1. [...] Los objetos geométricos complejos se crean a partir de la combinación de triángulos, que son el ente geométrico básico en el proceso de renderizado. Aqui posteé unos ejemplos de construcción de un triángulo, y de instancias de TriangleMesh3D más complejas. [...]

Leave a Reply