Papervision3D Experiment: 3D Campus Map

June 1, 2007 | Uncategorized | 9 Comments

I've been experimenting with Papervision3D in order to make a 3D version of our campus map. On of our artists has worked up an extremely detailed map in Google Sketchup. I've rebuilt the model in Sketchup using texture maps so that its around 1000 triangles and is to scale in Google Earth. Sketchup allows exporting to Collada files (which it uses in it's own files for Google Earth) and Papervision will parse Collada. Here's the result:


I have not finished texturing the entire model, so there are some plain yellow walls.

UPDATE: I've also added a driving mode! 

9 responses to “Papervision3D Experiment: 3D Campus Map”

  1. saint williams says:

    incredible! I’ve been trying to do something similar but finding it difficult. Can u send me a tutorial or guideline as to how to achieve something similar? PLEASE!

  2. erich says:

    very cool! do you plan to make step-by-step tutorial to make the map?

  3. Jorge says:

    Hi! the result is incredible! i have a question about your rotate navigation: are you rotating the camera or is the group of objects what you move? i’ve tried to get an orbit around an object using camera but the result is not optimal. Please, can you post any code used about this?

    Thanks in advance!

  4. John Dyer says:

    @Jorge, I made a little class to rotate the camera around an object using spherical coordinates. I posted it to the PV3D list, so if search for my name (John Dyer) on the list, you should find it.

  5. Jorge says:

    Hi John! Thanks for answer! i’ve tried to use your class with no success… My scene dissapears when i try to call goToAngle method (no errors from Flashdevelop)

    Could you public your campus demo code to understand how to implement MouseOrbiter class? I’m sure that it must be a stupid detail i’ve forgot…

    Another question 😉 how is possible FlashPlayer (from Flashdevelop, local) runs a movie at 50fps while same movie runs at 20fps under Firefox or IExplorer? Do you know anything about? It’s frustrating…

    Thanks a lot John and sorry for my desesperating english heheheeh

  6. Jorge says:

    ok now it works! thank you very much John and good luck! see you!

  7. Joe says:

    Hey John,

    I am playing around with models from scketchup, however I am having problems with displaying them.

    Are you using any bitmaps, or textures with your model that you are using?

    Did you have to cut anything out of the Collada export from Google’s Scketch up to make this model run more real-a-listicly.

    How much did you blow the model up in the flash Player.

  8. John Dyer says:

    @Joe, you might try using the new Sketchup tools in Papervision 2.0 which can read a native Sketchup file without the need to export to DAE. In the final production map, I actually took out the textures and only used a ground texture in order to maximize the speed. see

    Regarding size, I built my model by importing the ground from Google Earth, so I was building a scale model that could be imported back into Google Earth from Sketchup. This meant my DAE had very large dimensions and I had to move the camera way back to see it. Hope that helps!

  9. Joe says:

    I am playing with these classes, however I am having trouble getting the models to be added to the stage.

    Do you know of anything extra that I need to do aside from load the model and add it to scene3D?

Hi, I'm John Dyer. In my day job, I build websites and create online seminary software for a seminary in Dallas. I also like to release open source tools including a pretty popular HTML5 video player and build tools that help people find best bible commentaries and do bible study. And just for fun, I also wrote a book on the theology of technology and media.

Fork me on GitHub

Social Widgets powered by