Video tutorial on collada and Papervision3D

I just uploaded a new tutorial showing how you can create 3D models with textures for use in Papervision3D. I use Blender in this example, which is a free, cross-platform 3D tool. I create a basic model and then create a texture file in Photoshop. After applying the texture I export it as a collada file and import it into Papervision3D. If you have a 3D background you will be able to go to town with this stuff.

Lee


Commentary

  1. Basil Al-Dajane says:

    Wow Lee, can’t believe you uploaded 3 tutorials in like 24 hours.
    Thanks a lot, I always find your tutorials helpful, and these are no exception

    Thanks again

    Basil Al-Dajane

  2. Viv says:

    Great!!!!

  3. Devo says:

    Lee,

    Great example! Thanks for opening up a whole world of ideas on what is possible with pv3d. Just out of curiosity, what are your thoughts on Unity3D 2.5? Have you had a chance to play with this engine?

  4. Ed Moore says:

    Nice tutorial.
    I’m impressed how many tutorials you have done in the last day or so days! Have you had any thought of doing a tutorial on Away3D or Sandy?
    I have found that Away3D is actually easier to use then Papervision3D.

  5. mpc says:

    wow, another tutorial! thats great, thanks so muych lee!

  6. Benjamin says:

    hi Lee,

    once again, nice tutorial…

    One question about your eclipse… what’s the plugin you use to make your autocompletion like pf, pv, … ?

  7. gordee says:

    This is great as always Lee. Just one thing… do you not know about BasicView? For those that don’t its a precoded Papervisio3D class that sets up your scene, viewport, camera and renderer for you. It saves about 3-5 mins or more!

    file:///E:/PapervisionSVN/docs/org/papervision3d/view/BasicView.html

    thanks for three quick fire tutorials Lee!

  8. Csomak says:

    Nice going, lee! I love to learn a new thing every day!

  9. tim says:

    wow, lee you’re on fire!

  10. Villmer says:

    These tutorials just keep getting better and better.

  11. vamapaull says:

    Great tutorial!!
    Exactly what I panned to learn this week :D

  12. Wow, ask and you shall receive! Lee, you are a machine! Thanks for the great tutorial, always appreciated.

  13. Nabeel says:

    WoW Lee you are working hard man and you stuff are great as allows

  14. Al says:

    Benjamin,
    Take a look at his tute: Customizing Flex Builder for Flash
    He’s shows the autocomplete and how to set it up.

  15. Hassan says:

    Long time, no video tutorial… and now, suddenly, here’s three new! You rock, man! Thanks!

  16. Kyle says:

    Thanks so much Lee! Definitely needed a push in the right direction for the importing collada objects; this is more than I could have asked for!

    You rock!

  17. Martin says:

    One cool thing isd also that you can load you exported collada file into Photoshop (cs4) and then edit the texture “runtime” by drawing and the same time see the effect in 3d all inside photoshop

  18. hicham says:

    Hi Lee,
    Thanks so much !

  19. Akira says:

    Hi Lee,
    Thanks for your great tutorial!!
    Your tutorials is the best tutorial that I have ever seen.

  20. Paulo Afonso says:

    You are on Fire! Congratulations.

  21. Benjamin says:

    @Al,

    damn, I missed this one…

    Thanks for pointing it

  22. Dan says:

    An FYI, if you download a google sketchup 3D model from their library, then zip it, and un-zip it, you’ll find a Collada file there as well. Great resource for quickly accessible Collada files.

  23. Dustin says:

    Is the path of the DAE file not case sensitive? I noticed your file was named “myCollada.dae” but in AS you had “new Collada(‘MyCollada.dae’)” What’s going on here?

  24. peyman says:

    LEE it would be awesome if you could show us, how to detect 2 patterns at the same time.

  25. martin says:

    Hi Lee Thanks for this great stuff
    what program do you use for screen capture I’m using captivate but I’m not really sure its working for me.

  26. Xavier says:

    Nice tutorial, as always. For all who use the svn Papervision3D 2.0.0 (March 12th, 2009): the collada parser does not find the material when instantiating your model with new Collada”MyCollada.dae”)
    (=> a bug ?, intention ? who knows.)

    Use myModel = new DAE() instead. For instance:
    DAE(myModel).load(“MyCollada.dae”);

  27. Yasu says:

    Hi Lee, Thanks for tutorial of collada.

  28. MCA says:

    @Xavier,

    Thanks for the tip!

    For those new to this, don’t forget to import your DAE class:
    import org.papervision3d.objects.parsers.DAE;

    Also, I set my cam.z = -1. When it was set to -300 you could barely see it on the stage.

  29. Chris says:

    @Xavier, @ MCA

    thanks a lot for hint

  30. Cliff says:

    Good stuff Lee. Blender is a good tool, but another quicker way to create simple textured models is using (also FREE) 3DVIA Shape:
    http://www.3dvia.com/software/shape

    You can download any 3D model from our library into a .dae, see the video:
    http://3dvia.tv/announcing-dae-support/

  31. pradeep says:

    Hello all,

    I am realy interested to learn papervision3d.

    Can anyone tell me how can i start?

    How can i create collada files in 3d max and export it and use in papervision3d?

    thanks in advance.

    Please

  32. Hi Lee,

    thx for the great tutorial but I have a problem in export to collada file with UV textures :-S

    I have create a basic box mesh but when I click export I have this error.

    http://img513.imageshack.us/img513/7182/blenderproblema.jpg

    Bye from italy :-D

  33. Marcos says:

    Hi Lee!
    Thanks for this great tutorial.
    However, it looks like you used a previous version of papervision3d.
    I followed along and used the latest version (2.1.920) and it does not recognize your Collada syntax.
    Here are the problems reported by FlexBuilder:

    For instance, at line:

    collada = new Collada(“mycollada.dae”);

    Flex complains that Collada takes no arguments…

    Thanks!

  34. Martijn says:

    Hey Lee,

    Thanks for all the tutorials you make. But can you tell me how I get this work in my file of your basic AR tutorial? I don’t get it work. What do I have to delete because I have the three cubes in it.

    Thanks a lot,

    Martijn

  35. Lewis says:

    Thank you for a insight full look into getting 3d images into flash

  36. Lindsay says:

    Hi Lee,

    Thanks for this tutorial. I am having a bit of an issue though. Even with your files downloaded and exporting your .as file I am only getting the wireframe in the .swf export with no uv texture map. I have not changed the file arrangement at all and have opened the .dae file with a text editor and checked how the .png is linking and all looks fine. I did the same tutorial myself and an having the same end results – wireframe rotating with no uv map. Is there a particular reason why this is occurring other than what I have attempted.

    Thanks in advance!

  37. yufuz says:

    hi lee, Thanks for this papervision tutorial. i can say that you fixed your placement on heaven by helping other people :)

  38. @Lindsay – or anyone else with the same problem

    I was searching forever for the solution where the UV texture would not show up in Flash! This link has the details on one solution:
    http://www.flashmonkey.co.uk/papervision-3d-and-dae-material-bug/

    Hope that helps someone,
    Andreas

  1. [... I just uploaded a new tutorial showing how you can create 3D models with textures for use in Papervision3D. I use Blender in this example, which is a free, cross-platform ...]

  2. [... I just uploaded a new tutorial showing how you can create 3D models with textures for use in Papervision3D. I use Blender in this example, which is a free, cross-platform ...]

  3. [... I just uploaded a new tutorial showing how you can create 3D models with textures for use in Papervision3D. I use Blender in this example, which is a free, cross-platform ...]

  4. [... I just uploaded a new tutorial showing how you can create 3D models with textures for use in Papervision3D. I use Blender in this example, which is a free, cross-platform ...]

Leave a Comment