Papervision3D 2.0: Bump map, Phong, Cell, Gouraud and Flat shading

Well, as you might have guessed, 2.0 is literally right around the corner and we’re now getting to play with the API a bit internally and I have to say – THIS FRIGGIN’ ROCKS \M/

Dynamic lighting, sure that’s nice, but let’s be honest: Shaders is what makes this a real love fest, am I right or what!? Here’s a peak at some of the new objects coming in 2.0:

FlatShader
CellShader
GouraudShader
PhongShader
EnvMapShader

At the NYC classes, we’ll be going over these in detail with the class, but for now, here are some hands on demos. Ralph’s shader’s are very FAST and look outstanding.

The box below is a collada model created in 3D Studio Max. The box is using PreciseBitmapMaterial, PhongShader with a box that only has 2 segments per side. Locally, this runs around 30fps with the latest Beta3 player – oh and btw, they’re all running at high quality.


CellShader – 7 levels

Gouraud Shading

Phong Shading

Phong Shading with Bump map

Small spaceship with phong shading and bump

Moon with phong and bump map

Teapot with phong and bump map

28 Responses to “Papervision3D 2.0: Bump map, Phong, Cell, Gouraud and Flat shading”

  1. Grapefruitlips Says:

    very nice!!!

  2. The Helmsman Says:

    Absolutely amazing!

  3. micha17 Says:

    too. dark.

  4. Shade Says:

    “gimme gimme gimme gimme gimme…”

    Seriously tho’, nice job! Looking forward to playing around with 2.0.

    Cheers!

  5. 3DRulez Says:

    “literally right around the corner”

    Does that hopefully mean this afternoon???

    Waits impatiently

  6. xero / fontvir.us Says:

    this = \m/

    2.0 is gonna’ own!
    great job!

  7. John Grden Says:

    @micha7: I changed ambient light on the phong bump box demo as well as the teapot

    You can really see how easy it is to play with specular, ambient and colors of light

  8. John Grden Says:

    yeah I have to admit, it’s a TON of fun to play with!

  9. John Grden Says:

    @3DRulez: Almost! I had thought this week, but forgot that Ralph’s in Japan speaking at Max and was going to release when he got back.

  10. John Grden Says:

    yeah wow, on a PC monitor, these are really dark. I’ll lighten them up ;)

  11. Daniel Says:

    holy crap!! can’t wait to get 2.0 in my fingers! awesome work guys!

  12. John Grden Says:

    Ok. I lighened up the moon, the phong/bump box and the spaceship

  13. Jim Bachalo Says:

    Eagerly awaiting 2.0! Great work!

  14. NO7HING.COM » Blog Archive » Preview on Papervision3D 2.0 Says:

    [...] November 1st, 2007 John Grden posted previews on some of the new features that are going to be in version 2 and they look fantastic! See for yourself in his post here. [...]

  15. Anton Volkov Says:

    100% CPU without any moving

  16. David Says:

    Hi John,

    When I run the examples I get the “Where is the debugger or host application running?” debug popup.

    Very nice BTW. I am working towards playing with more pv3d sometime soon!
    So much code to write, so little time!

  17. Aaron Says:

    Nice robo box! Reminds me of that wall e!

    http://build.avatarlabs.com/wall-e/pv3d/

    Can’t wait! Thx for the update!

  18. John Grden Says:

    @David: that’s the Flash debug player asking you where your debugger host application is running. Just hit cancel.

  19. OlegFomenko Says:

    Wow!!! I don`t even know that it can be done with Flash. Awsome!

  20. Lewis Evans Says:

    Did you say “a box that only has 2 segments per side”? – Well I know you did.

    Is this a new technique? Where is the distortion? Does it hit the processor?

    Nice work

  21. zupko.info » Blog Archive » Papervision 2.0 Training – New York City! Says:

    [...] For more on what you can expect to learn (and to see some more demos), head over to John’s blog as there is a ton we are going to be covering! [...]

  22. Justin Patrin Says:

    If the debug dialog is popping up it means you deployed the debug swf. Go to “Project/Export Release Version…” to export a non-debug swf. It will probably run better and should be smaller. :-)

    As for 2.0…..where is it? I’ve seen no work in the svn repo for quite a while. Are you using a private svn repo?

  23. Britney Spears Says:

    Man you know what’s fucking amazing?
    a Gouraud shaded 3d box with 2 segments running at 25 fps on the latest bleeding edge beta player.

    Holy smokes!

  24. John Grden Says:

    yeah, and phong shaded bump map box doing the same thing – incredible \m/

  25. John Grden Says:

    @Justin: Ralph has a repo he uses for his own business etc, so it’s not open unfortunately. He has wanted to get it completed first and then release, so it’s not been added to any of the branches as yet. Given the complexity of these additions, I think it makes total sense from the stand point of the amount of help center emails we’ll get on the list concerning shader/material/light use.

    The release, however, should be a matter of days at this point.

  26. BummerHan Says:

    bringing industrial grade shading to Flash
    amazing work on pv3d 2.0

    i’m going to use this on my next project

  27. Preview on Papervision3D 2.0 at Marc Haemmerle’s blog Says:

    [...] Preview on Papervision3D 2.0 Published on November 1, 2007 in Flash. John Grden posted previews on some of the new features that are going to be in version 2 and they look fantastic! See for yourself in his post here. [...]


Leave a Reply