2. Getting the source


Welcome to tutorial number 2. This will walk you through the steps to get the Papervision 2.0a Source code.

Getting TortoiseSVN

Firstly you’ll need to install a Subversion client. The best and fastest that I’ve found is TortoiseSVN. Download it from this downloads page (You’ll probably want the 32 bit msi, you’ll know if you want the 64 bit one):
http://tortoisesvn.net/downloads

Installation is pretty simple, just run the msi file and follow the steps.

Getting GreatWhite using TortoiseSVN

1) Create a new folder, somewhere easy to remember. I created mine at “C:\Greatwhite\“.
2) Navigate into the folder and right-click. From the context menu, click SVN Checkout.

3) In the “URL of Repository” textbox, enter the following URL:

http://papervision3d.googlecode.com/svn/trunk/branches/GreatWhite/src

4) Click Ok. The source files for Papervision 3d 2.0a will be downloaded into the folder that you selected. Depending on your connection speed, this will take on average 1 minute.

You now have the Papervision 3d 2.0a Source code.

26 Comments

  1. Comment by pixelvoodoo on February 15, 2008 4:09 pm

    where do I get the PaperBase.as file? help!!

  2. Comment by Alek on February 20, 2008 6:33 pm

    @pixelvoodoo: you will get it in the 3rd tutorial on this site :D

    Alek

  3. Comment by craiggrummitt on February 27, 2008 1:07 am

    Great tutorials, thankyou.

    a question on versions though - this source doesn’t seem to be the same as the source i initially downloaded at http://code.google.com/p/papervision3d/ or the documentation at http://www.papervision3d.org/docs/as3/. are these tutorials based on an earlier version of papervision classes? if so is there an api reference for this version?

  4. Comment by whodini on February 27, 2008 12:17 pm

    Man does anyone know where I can find a tutorial like this, only for OS X. I’ve downloaded a SVN thingy for mac yet I do not get a right click option like the one above. I feel that I could get further by banging my head against a wall repeatedly.
    Any help would be greatly appreciated.

  5. Comment by lnoel on February 27, 2008 9:23 pm

    whodini- I feel ya! Did you look at the book? I still can’t figure out what version I am supposed to be running of the SVNx. Let me know if you find anything!!!
    Sometimes, being mac based…. sucks.
    laurenperrine@gmail.com

  6. Comment by Luke on February 27, 2008 9:29 pm

    Hi Whodini and Inoel,

    Here, I’ve uploaded the entire src directory from the repo to my site, zipped and rared because I’m not sure if Mac’s can use Zips??

    http://papervision2.com/wp-content/src.zip
    http://papervision2.com/wp-content/src.rar

    I hope this helps you out, at least you’ll have the source now :D

    -Luke

  7. Comment by craiggrummitt on March 2, 2008 10:12 pm

    any comments on my questions above?

  8. Comment by Michael on March 4, 2008 4:55 pm

    TIP FOR MAC SVN:
    Its not easy to find out how to use SVN on mac if you are not into using the command line (like me!) so I thought I would save some of you time with my findings.

    Option 1:

    svnX 09.13 - Free not so slick
    Leopard users (10.5) have already got subversion installed so all the hard work is done.
    Download svnX from its homepage or

    http://www.apple.com/downloads/macosx/development_tools/svnx.html

    Leopard users beware - when you start svnX for the first time you will be warned the path to the svn binary is wrong but dont panic.
    Choose the open preferences button and change the path to

    /usr/bin

    this is the path OS X 10.5 uses. Now you should be able to log on to the papervision svn by adding

    http://papervision3d.googlecode.com/svn/trunk/ as a path in the ‘Repositories’ window.

    Double click the added respoitory and away you go. A new window opens to show you all the folders you can download - just drag and drop to your desktop or a folder.

    Option 2:

    syncroSVNClient - slick and easy but not free

    Download from

    http://www.syncrosvnclient.com

    Follow their instructions and all will be revealed.

    Hope this helps all my fellow mac users who suffer lack of SVN tutorials :-D

    - Micheal

  9. Comment by craiggrummitt on March 12, 2008 10:06 pm

    anyone?

  10. Comment by craiggrummitt on March 19, 2008 12:44 am

    have continued discussion of my above question to the forums - titled ‘version query’.

  11. Comment by Bryce on March 26, 2008 3:48 pm

    Luke,
    I have the same question as craiggrummitt. Which source should I be using? What is great white? Are there two different versions of the pv3d source?

    thanks,
    Bryce

  12. Comment by Bryce on March 26, 2008 3:51 pm

    Mac SVN users:

    Another option not listed by Michael, is that if you are using Flex, you can use the subclipse plugin for the Flex IDE. It has a bit of a learning curve, but I use it and like it.

    installation instructions here: http://subclipse.tigris.org/install.html

    –Bryce

  13. Comment by Bryce on March 26, 2008 3:54 pm

    I’m retarded. I just noticed this:

    Comment by craiggrummitt on March 19, 2008 12:44 am
    have continued discussion of my above question to the forums - titled ‘version query’.

    So I found the answer in the forums. Happy coding!

  14. Comment by Ying on March 27, 2008 3:59 pm

    Have someone encountered the following error:
    Checkout from http://papervision3d.googlecode.com/svn/trunk/branches/GreatWhite/src, revision HEAD, Fully recursive, Externals included

    OPTIONS of
    ‘http://papervision3d.googlecode.com/svn/trunk/branches/GreatWhite/src’: could
    not connect to server (http://papervision3d.googlecode.com)

    I have installed TortoiseSVN-1.5.0.12411-win32-svn-1.5.0-beta1.msi. I don’t know which option I need to set correctly. Please help

    Thanks in advance

    Ying

  15. Comment by Fran on April 29, 2008 1:32 am

    Hmmm, forums don’t seem to be working, is there a link to the ‘version query’ info?

  16. Comment by Wall on May 15, 2008 5:05 pm

    Luke….you save my day!!! \o/
    I simply don´t find Papervision 2.0 to download like this. And i use in the job, so i can´t install these SVC downloader programs.

    Thanks o/

    and sorry for my english! =P

  17. Comment by Beau on May 16, 2008 3:40 pm

    How does this differ from simply downloading the files? Why would I need SVN?

  18. Comment by Paul Andrews on June 8, 2008 11:21 pm

    Hmm. So far every revision of great white I’ve downloaded has failed to compile. I’ve tried taking the zip file made available by luke, but I am getting an error on Vertices3D - line 194 - Error 100 ambiguous reference to Vertex3D. On other attempts I’ve had problems with override function and TriangleMesh.

    I’m using flash CS3. Any ideas why I’m having a problem, but nobody else is?

    Paul

  19. Comment by Paul Andrews on June 9, 2008 1:55 am

    Solved.

    I had PV3D 1.5 in my classpath..

    Doh!

    Paul

  20. Comment by Phil Robertson on June 9, 2008 3:14 pm

    Thanks Luke - sometimes you just cant get SVN going on mac. Nice One!

  21. Comment by Patrick Brock on June 11, 2008 4:04 pm

    I kindof the same problem as Paul Andrews(above)….with a twist.

    I am going through the cube tutorial on http://www.gotoandlearn.com and i am getting that same error. However when I open up and publish the Mouse3d file that comes in examples folder of the download, I dont get that error.

    I have checked out my import statements and they are exactly the same in both files. Do any of you know what I could be doing wrong?

    Any help would be appreciated.

  22. Comment by Patrick Brock on June 11, 2008 5:58 pm

    Well…I think I just learned something. I had the proper classpath setup in the Edit-Preferences-ActionScript-ActionScript3.0 settings box but I had the wrong one set up in the publish settings-Actionscript version-settings box.

    Am i correct in that the publish settings overrides the edit preferences settings?

    Dont know if anyone had the same problem, if so, you may want to check both places.

  23. Comment by Matt McGuire on June 17, 2008 10:39 am

    I downloaded the latest papervision via SVN - but like many other people found that it doesn’t include many classes such as the whole view sub-folder?
    Why not? - did I misunderstand how to get the latest files via SVN

    I’ve since downloaded luke’s zip file; and I’ve now got these missing files, but now I’m also getting the:
    Vertices3D - line 194 - Error 100 ambiguous reference to Vertex3D
    error that a few others have also got.

    Anybody got a solution yet?

  24. Comment by Matt McGuire on June 17, 2008 10:42 am

    Ah - my fault.

    I just noticed that there is a different SVN repository used on this site, not mentioned on the actual papervision site.

    Going to download again, but I suspect it won’t fix the Vertex3D problem.

  25. Comment by Matt McGuire on June 17, 2008 10:49 am

    Final post

    Downloading the source files from the repository at the top of this page [and obviously updating your classpath’s if necessary] fixes all the problems I was experiencing.

  26. Comment by Piet on July 6, 2008 1:29 am

    Thank you very much for placing this tutorial online! i was searching my ass off for 2.0 but only found 1.5 and the whole idea of that svn program was not clear for me since I never heard of something like that. In fact I still cant get it why they cannot just place a download link but need a special program only for downloading.. But well it seem to work so then i’m totally fine with it.

Comments RSS TrackBack Identifier URI

Leave a comment


Papervision 2 is proudly powered by WordPress and themed by Mukka-mu