Welcome to tutorial number 2. This will walk you through the steps to get the Papervision 2.0a Source code.
** EDIT 10th September 2008 **
The SVN has changed recently, for now you can download the source by clicking here: http://papervision3d.googlecode.com/files/Papervision3D_2.0_beta_1_src.zip
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.



where do I get the PaperBase.as file? help!!
@pixelvoodoo: you will get it in the 3rd tutorial on this site :D
Alek
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?
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.
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
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
any comments on my questions above?
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
anyone?
have continued discussion of my above question to the forums – titled ‘version query’.
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
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
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!
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
Hmmm, forums don’t seem to be working, is there a link to the ‘version query’ info?
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
How does this differ from simply downloading the files? Why would I need SVN?
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
Solved.
I had PV3D 1.5 in my classpath..
Doh!
Paul
Thanks Luke – sometimes you just cant get SVN going on mac. Nice One!
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.
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.
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?
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.
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.
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.
i can’t find great white any where …it looks like it’s not on google code anymore…can any one help?
When I put http://papervision3d.googlecode.com/svn/trunk/branches/GreatWhite/src then be a error(does not exist that path),what can happen?
I got follow error message
http://papervision3d.googlecode.com/svn/trunk/branches/GreatWhite/src
doesn;t exit.
Anyone know how to fix it
thanks kevin
Use this url:
http://papervision3d.googlecode.com/svn/trunk/as3/trunk/src/
This might be the same?
http://papervision3d.googlecode.com/svn/trunk/branches/cs4/src/
pv3d2 is great, but has a lot of space for improvements, especially project-specific.. like creating altered render pipeline for specific case scenario, to improve performance.
here are some research & dev projects where we’ve added per-object filter effects:
http://www.visionmaxstudio.com/temp/human/
http://www.visionmaxstudio.com/temp/studio/
useful in projects where objects do not intersect, for example create depth-of-field illusion.
nice site, very informative, well designed, easy to use … what can i say ? i love it…
You can still use Tortoise SVN to get the latest PV3D source code.
In Step 3) above, use this as your SVN URL:
http://papervision3d.googlecode.com/svn/trunk/as3/trunk/src
Luke..thanks for your great tutorials!
Congratulations on finally setting up your site. I am sure the website will become a internet legend
I love this site, so thank you
For cs4 version…copy & paste the below url
http://papervision3d.googlecode.com/svn/trunk/branches/cs4/src/
I downloaded thru Tortoise SVN from the folder http://papervision3d.googlecode.com/svn/trunk/as3/trunk
well,it doesn’t have the exact folder structure as shown in the image ???? I am getting a updated one???
Hey guys i could not load the provided URL got a 404 so i figured i woukd post the one that worked for me.
http://papervision3d.googlecode.com/svn/
Hi i created a folder in different drive named as Greatwhite and when i checkout for svn its showing the below error.plz help me in this.
Checkout from http://papervision3d.googlecode.com/svn/trunk/branches/GreatWhite/src, revision HEAD, Fully recursive, Externals included
URL ‘http://papervision3d.googlecode.com/svn/trunk/branches/GreatWhite/src’
doesn’t exist