Saturday, March 21, 2009

Tutorial Published in Web Designer Magazine

Just would like to let everyone know to pick up the 155th issue of Web Designer Magazine. I have been published AGAIN!! What a great feeling to see your words in a publication. Anyway, I wrote a Papervision 3D tutorial for beginning PV3D users. It is an interactive 3D Menu. By the time you get through the complete tutorial, you will know most of the basic tools for creating 3D scenes in PV3D. This isn't a tutorial on the Great White version of Papervision, This is on the newest release of PV3D which I recommend everyone get.

Here is a link to get your issue.

5 comments:

  1. hi!
    I was waiting the issue 155 of webdesigner with impatience because the documentation that comes with Papervision 3D is a bit hard to follow. BUT I'm really disappointed by your tutorial: Build a dynamic navigation menu header with ActionScript.

    First, for me it's not a dynamic navigation menu because if you want a new item in your menu you have to create the MovieClip and linked it manually in order to use it with Actionscript (maybe it's dynamic because it's move...).

    But the main point is the source code of this application. I downloaded the code from webdesigner website and it's different from the mag !!! So it's hard to follow...

    When you take a look at “a small dive into camera controls” page 53 you tried to explain the camera.orbit function but not in the right way...

    To make it worked I removed orbit=2; and orbit +=1; then I replaced camera.orbit(orbit + 90,90); by camera.orbit(mouseY *.5, mouseX *.5, plane1);

    Can you publish a working expert version with camera.orbit ?

    Thank you.

    ReplyDelete
  2. Hey there Julien, Sorry for the mix up, first I have to say, this tutorial wasn't meant to be dynamic in an way. The publisher's gave it that name, I originally name it 'Introduction to Papervision 3D using Acitonscript 3.0 – 3D Navigation Bar' but I guess that wasn't eye catching...*shrugs*.

    But as for the real problem, I just reviewed the code and it seems to be exactly the same. Not sure if you got an old file or something, try re-downloading maybe. For the camera tools, I wasn't showing how to make the camera move with the mouse, it shows how to just rotate the camera over time.

    Sorry you were confused, but the title is pretty in accurate. Publishers need "eye-catching" titles and changed it without y knowing. What do you have in mind as an "expert" version?

    ReplyDelete
  3. Hi Clemente,

    Thank you for your quick response.

    For me your title is perfect. Papervision3D, 3D Navigation and AS3 !!!! I don't need more, it's really eye catching to compare with previous articles published on Webdesigner...

    I just downloaded again the tutorial file(.zip) from there:

    http://www.webdesignermag.co.uk/tutorials/files/155Papervision3DDynamicNavigationMenuHeader.zip

    I used the pc version from this folder: 050-053_PaperVisionTut, maybe the mac version is different but I can't test it...

    So in the DocClass.as I can't find any references to the camera.orbit function, instead I've got this:

    In public function DocClass():
    centerY = stage.stageHeight / 2;
    centerX = stage.stageWidth / 2;

    In the protected override function onRenderTick:
    var rotY: Number = (mouseY - centerY) / centerY * 200;
    var rotX: Number = (mouseX - centerX) / centerX * 200;

    camera.x += (rotX - camera.x) / 10;
    camera.y -= (rotY + camera.y) / 10;

    With this code the result makes the camera move with the mouse and for a menu I prefer this instead just rotate the camera over time (sorry, I thought it was a bug).

    For the "expert" version I had in mind the same result with camera.orbit.

    But anyway, thank you for your tutorial because I learned a bit more on Papervision3D.

    (I really like your theme layout for Wordpress ;o)
    (sorry if my English is not correct because I'm French)

    ReplyDelete
  4. Thanks Taylor, Be on the look out, I'm going to be popping up in a couple Places.

    ReplyDelete