3. Creating a Papervision Base Template


The first thing that you should do when creating a Papervision 3D project is to create a "Base Class" which will serve as a template to speed up the start of each papervision project you attempt.

1) Create a new FlashDevelop Project

Open up FlashDevelop. On the start page, click on the New: Project... Under the Recent Projects Window.

New Project....

The New Project dialog box will appear. Under Actionscript 3, click Empty Project. Type a name into the Name textbox, and tick the box labelled "Create Directory for Project".

New Project Dialog
(Click To Enlarge)

Click OK to close the dialog box. You will now see your project under the Project window. We need to add a source file to the project.

The first thing you need to do to your project is to import the papervision source so that your program can use it. From the menu at the top, choose Project, then Settings.

The Project settings dialog box will appear. Click on the Classpaths tab and click Add Classpath.

You now need to browse to the folder in which you downloaded the GreatWhite source code in tutorial number 2. Select the greatwhite folder (It should contain directories called org, fl and com) and click OK.

You should now have an icon which looks like a Lego Brick containing the GreatWhite source code under your project.

Project Tree

You now need to make a script to be executed when your program runs. Right click on your project in the project tree and goto Add > New Class.

Add New Class

Name the new class PaperBase.as and click OK. You will now have the Main.as file open in your editor. The code will look like this:

Actionscript:
  1. /**
  2. * ...
  3. * @author Default
  4. * @version 0.1
  5. */
  6.  
  7. package {
  8.     
  9.     public class PaperBase {
  10.       
  11.        public function PaperBase() {
  12.          
  13.        }
  14.       
  15.     }
  16.     
  17. }

This is a blank class. Firstly, we need to make this class compile when we run the project. To do this, right click on Main.as under the project tree and select "Always Compile".

We also need to specify the output SWF location. To do this, from the Project menu, select Properties.

On the Output tab under General, you'll see an input box labeled "Output File". Click Browse and choose where to place the output file.

Now, change the source code so that it looks this (Comments in the code explain each step of the way):

Actionscript:
  1. package  {
  2.     // These lines make differant 'pieces' available in your code.
  3.     import flash.display.Sprite; // To extend this class
  4.     import flash.events.Event; // To work out when a frame is entered.
  5.     
  6.     import org.papervision3d.view.Viewport3D; // We need a viewport
  7.     import org.papervision3d.cameras.*; // Import all types of camera
  8.     import org.papervision3d.scenes.Scene3D; // We'll need at least one scene
  9.     import org.papervision3d.render.BasicRenderEngine; // And we need a renderer
  10.     
  11.     public class PaperBase extends Sprite { //Must be "extends Sprite"
  12.       
  13.        public var viewport:Viewport3D; // The Viewport
  14.        public var renderer:BasicRenderEngine; // Rendering engine
  15.        // -- Scenes -- //
  16.        public var default_scene:Scene3D; // A Scene
  17.        // -- Cameras --//
  18.        public var default_camera:Camera3D; // A Camera
  19.       
  20.        public function init(vpWidth:Number = 800, vpHeight:Number = 600):void {
  21.          initPapervision(vpWidth, vpHeight); // Initialise papervision
  22.          init3d(); // Initialise the 3d stuff..
  23.          init2d(); // Initialise the interface..
  24.          initEvents(); // Set up any event listeners..
  25.        }
  26.       
  27.        protected function initPapervision(vpWidth:Number, vpHeight:Number):void {
  28.          // Here is where we initialise everything we need to
  29.          // render a papervision scene.
  30.          viewport = new Viewport3D(vpWidth, vpHeight);
  31.          // The viewport is the object added to the flash scene.
  32.          // You 'look at' the papervision scene through the viewport
  33.          // window, which is placed on the flash stage.
  34.          addChild(viewport); // Add the viewport to the stage.
  35.          // Initialise the rendering engine.
  36.          renderer = new BasicRenderEngine();
  37.          // -- Initialise the Scenes -- //
  38.          default_scene = new Scene3D();
  39.          // -- Initialise the Cameras -- //
  40.          default_camera = new Camera3D(); // The argument passed to the camera
  41.          // is the object that it should look at. I've passed the scene object
  42.          // so that the camera is always pointing at the centre of the scene.
  43.        }
  44.       
  45.        protected function init3d():void {
  46.          // This function should hold all of the stages needed
  47.          // to initialise everything used for papervision.
  48.          // Models, materials, cameras etc.
  49.        }
  50.       
  51.        protected function init2d():void {
  52.          // This function should create all of the 2d items
  53.          // that will be overlayed on your papervision project.
  54.          // User interfaces, Heads up displays etc.
  55.        }
  56.       
  57.        protected function initEvents():void {
  58.          // This function makes the onFrame function get called for
  59.          // every frame.
  60.          addEventListener(Event.ENTER_FRAME, onEnterFrame);
  61.          // This line of code makes the onEnterFrame function get
  62.          // called when every frame is entered.
  63.        }
  64.       
  65.        protected function processFrame():void {
  66.          // Process any movement or animation here.
  67.        }
  68.       
  69.        protected function onEnterFrame( ThisEvent:Event ):void {
  70.          //We need to render the scene and update anything here.
  71.          processFrame();
  72.          renderer.renderScene(default_scene, default_camera, viewport);
  73.        }
  74.       
  75.     }
  76.     
  77. }

This is heavily commented, so it should explain everything that's happening.

When you run the project, you'll just see a blank screen, this is expected because you haven't added anything to the scene yet.

You can download the source file with the code comments or without using the links below:

Download Now

This file will now be used as the basis of any papervision projects that you do, and with very few lines added to that code, you can get really good results.

 *EDIT*

Updated 20th August 2008, now works with the GreatWhite codebase changes

If you enjoyed this post, feel free to Buy Me a Beer!

47 Comments

  1. Comment by Pimm on February 17, 2008 10:27 pm

    "Without Comments" version still has one line of comment in it.
    Nice tutorials by the way.

  2. Comment by David on February 18, 2008 1:47 am

    I did everything exaclty as above and i get this:

    Running process: C:\Users\Administrator\AppData\Local\FlashDevelop\Tools\fdbuild\fdbuild.exe "C:\Users\Administrator\Documents\PaperBase\PaperBase.as3proj" -ipc 642d8fdc-bd5c-469a-8cb8-a0ada52fb3cc -compiler "C:\FlexSDK" -library "C:\Users\Administrator\AppData\Local\FlashDevelop\Library" -cp "C:\Program Files\Adobe\Adobe Flash CS3\en\Configuration\ActionScript 3.0\Classes" -cp "C:\Program Files\Adobe\Adobe Flash CS3\en\Configuration\Component Source\ActionScript 3.0\User Interface"
    HINT: Improve your build speed when compiling in FlashDevelop3 by placing the Adobe Flex Compiler Shell in your Flex2 bin path.
    Building PaperBase
    mxmlc -load-config+=obj\PaperBaseConfig.xml -debug=true -benchmark=false -o obj\PaperBase633388734994054445
    Error loading: C:\Program Files\Java\jre1.6.0_04\bin\client\jvm.dll
    Build halted with errors (mxmlc).
    Done (1)

  3. Comment by Luke on February 18, 2008 9:45 am

    @Pimm,
    Thanks but that comment has been left in intentionally. It's just there because it would be an empty function if it wasn't, just looks neater that's all :)

    @David,
    Looks like you've got a problem with your Java Runtime Environment. Try reinstalling or updating it. You can download the version of the JRE that I use here: http://filehippo.com/download_java_runtime/

    Hope this helps!

  4. Comment by David on February 18, 2008 5:30 pm

    It works Thanks!!!

  5. Comment by Alan on February 23, 2008 8:43 pm

    Great Idea. Thanks, I'll use this now.

  6. Comment by lnoel on March 5, 2008 2:52 pm

    I am looking for this same information but for Flex Development (mac based)... took a look at FlashDevelop, snazzy. Any suggestions?

  7. Comment by I have problems with compiling :( on March 5, 2008 10:47 pm

    Running process: C:\Documents and Settings\ratm\Local Settings\Data aplikací\FlashDevelop\Tools\fdbuild\fdbuild.exe "E:\--{ FLASH 3 }--\frenchtouch\PaperBase.as3proj" -ipc 70700430-2d73-4b63-8e4c-7ae80713fe4b -compiler "E:\--{ FLASH 3 }--\flexsdk" -library "C:\Documents and Settings\ratm\Local Settings\Data aplikací\FlashDevelop\Library"
    HINT: Improve your build speed when compiling in FlashDevelop3 by placing the Adobe Flex Compiler Shell in your Flex2 bin path.
    Building PaperBase
    mxmlc -load-config+=obj\PaperBaseConfig.xml -debug=true -benchmark=false -o obj\PaperBase633403583922343750
    defaults: Error: unable to open 'E:\----\flexsdk\frameworks/flex-config.xml'

    Build halted with errors (mxmlc).
    Done (1)

  8. Comment by lauren on March 7, 2008 3:57 pm

    C:\Papervision\Base\PaperBase\PaperBase.as(15): col: 31 Error: Type was not found or was not a compile-time constant: Camera3D.
    also
    C:\Papervision\Base\PaperBase\PaperBase.as(35): col: 25 Error: Call to a possibly undefined method Camera3D.

    I just copied your final code.... And went through the set up once again... any suggestions?

  9. Comment by Joxe on March 10, 2008 1:24 pm

    Running process: "lots of text that isn't necessary to write"
    Building New-Project
    mxmlc -load-config+=obj\New-ProjectConfig.xml -debug=true -benchmark=false -o obj\New-Project633407533560000000
    Error loading: C:\Program\Java\jre1.6.0_05\bin\client\jvm.dll
    Build halted with errors (mxmlc).
    Done (1)

    Getting the same error as David did, I've reinstalled Java three times to make it work but nothing helps (yes, I used the version that you linked). Any suggestions?

    Thanks in advance
    -Joxe

  10. Comment by Ralph Hauwert on March 18, 2008 1:54 am

    You are aware that BasicView in the papervision3D repository has exactly this function ?

  11. Comment by mojito on March 18, 2008 3:39 pm

    protected var log :XrayLog = new XrayLog();

    its in org/papervision3d/utils/InteractiveSceneManager.as

    that line is causing an error, its not imported seemingly anywhere, do I have an up to date set of libraries ?

  12. Comment by Luke on March 18, 2008 7:29 pm

    Hi Ralph,

    Yeah I'm aware of the BasicView class, but it doesn't allow as much flexibility and it would require things like the event listeners to be added for every project. I decided to use this for a couple of reasons, 1 - It's a bit confusing having only half of the basic stuff already done for you, and 2 - Creating my own base class will help people understand the inner workings of the engine.

    @ mojito, You can safely remove all occurences of the XrayLog thing from your project. You'll most likely never use it, it was just used by the developers to help with debugging.

    -Luke

  13. Comment by John White on March 18, 2008 10:05 pm

    Hello. I am new to this but getting the following error. FlashDevelop worked fine the first time I ran it but now I get the error. I reinstalled another time and still the same. Help

    jwhite@mediatechinc.com

    ould not find file 'C:\Documents and Settings\ALX\Local Settings\Application Data\FlashDevelop\Settings\MainMenu.xml'.

    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
    at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
    at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials)
    at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)
    at System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver)
    at System.Threading.CompressedStack.runTryCode(Object userData)
    at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
    at System.Threading.CompressedStack.Run(CompressedStack compressedStack, ContextCallback callback, Object state)
    at System.Xml.XmlTextReaderImpl.OpenUrl()
    at System.Xml.XmlTextReaderImpl.Read()
    at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
    at System.Xml.XmlDocument.Load(XmlReader reader)
    at System.Xml.XmlDocument.Load(String filename)
    at PluginCore.Helpers.XmlHelper.LoadXmlDocument(String file)

  14. Comment by Marcio on March 20, 2008 6:25 pm

    This error ocurred when i try to build project

    "...
    Loading configuration file E:\paper\ExtrudeImage\obj\extrudeConfig.xml
    E:\paper\ExtrudeImage\obj\extrudeConfig.xml(13): Error: unable to open 'C:\Documents and Settings\Marcio\Local Settings\Application Data\FlashDevelop\Library\AS3\classes'

    Build halted with errors (mxmlc).
    Done (1)"

    Why this? And how can fix this?

  15. Comment by John White on March 24, 2008 4:17 pm

    Still getting the following error. I reinstalled a few times. It just appear the xml file is missing from the folder. Windows XP is my OS. Any help would be great.

    could not find file 'C:\Documents and Settings\ALX\Local Settings\Application Data\FlashDevelop\Settings\MainMenu.xml'.

    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
    at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
    at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials)
    at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)
    at System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver)
    at System.Threading.CompressedStack.runTryCode(Object userData)
    at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
    at System.Threading.CompressedStack.Run(CompressedStack compressedStack, ContextCallback callback, Object state)
    at System.Xml.XmlTextReaderImpl.OpenUrl()
    at System.Xml.XmlTextReaderImpl.Read()
    at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
    at System.Xml.XmlDocument.Load(XmlReader reader)
    at System.Xml.XmlDocument.Load(String filename)
    at PluginCore.Helpers.XmlHelper.LoadXmlDocument(String file)

  16. Comment by Scott on April 3, 2008 2:26 am

    Just FYI, Figured out the Viewport3D error.

    My suspicion is that folks are downloading Papervision from papervision.org and aren't getting the GreatWhite build.

    The papervision archive does not include some of the classes within GreatWhite so you will see the Viewport errors.

    Cheers,

    -S

  17. Comment by sm0o0v on April 8, 2008 7:10 pm

    I am totally new to all of this and can't seem to figure out why these import statements are failing. I have followed the instructions above for downloading the GreatWhite files and pointing the ClassPath to this folder on my computer but the following errors are showing:

    MxmlcShell command: -o;C:\Documents and Settings\mark\Desktop\actionscript_pv3d\my_project\PaperBase\PaperBase.swf;--;C:\Documents and Settings\mark\Desktop\actionscript_pv3d\my_project\PaperBase\PaperBase.as
    Loading configuration file C:\Documents and Settings\mark\Desktop\actionscript_pv3d\flex2_sdk_hf1\frameworks\flex-config.xml

    C:\Documents and Settings\mark\Desktop\actionscript_pv3d\my_project\PaperBase\PaperBase.as(5): col: 32 Error: Definition org.papervision3d.view:Viewport3D could not be found.
    Done(4)

    import org.papervision3d.view.Viewport3D; // We need a viewport
    ^

    C:\Documents and Settings\mark\Desktop\actionscript_pv3d\my_project\PaperBase\PaperBase.as(6): col: 35 Error: Definition org.papervision3d.cameras could not be found.

    import org.papervision3d.cameras.*; // Import all types of camera
    ^

    C:\Documents and Settings\mark\Desktop\actionscript_pv3d\my_project\PaperBase\PaperBase.as(7): col: 34 Error: Definition org.papervision3d.scenes:Scene3D could not be found.

    import org.papervision3d.scenes.Scene3D; // We'll need at least one scene
    ^

    C:\Documents and Settings\mark\Desktop\actionscript_pv3d\my_project\PaperBase\PaperBase.as(8): col: 34 Error: Definition org.papervision3d.render:BasicRenderEngine could not be found.

    import org.papervision3d.render.BasicRenderEngine; // And we need a renderer
    ^

  18. Comment by Claudia on April 12, 2008 10:25 am

    Genial! Me ha servido de gran ayuda.
    Great! It was a big help!
    : )
    You are been read by southamericans, in this case from Uruguay.

  19. Comment by koeky on April 15, 2008 10:28 pm

    smoov as far as i know...

    your import classes arent at the right folder for flash.

    so check them :)

    hope this fix your prob.

    cheers

  20. Comment by AdrianLMS on April 18, 2008 3:27 am

    I'm getting compilation error even with non-strict compile mode:
    Location:
    FreeCamera3D.as, Line 91
    Description:
    1023: Incompatible override.

  21. Comment by Frank on April 30, 2008 2:38 am

    I am having the same issue as sm0o0v.

    C:\ppv3d\3dtest\PaperBase.as(19): col: 23 Error: Type was not found or was not a compile-time constant: Viewport3D.
    C:\ppv3d\3dtest\PaperBase.as(20): col: 23 Error: Type was not found or was not a compile-time constant: BasicRenderEngine.
    C:\ppv3d\3dtest\PaperBase.as(22): col: 28 Error: Type was not found or was not a compile-time constant: Scene3D.
    C:\ppv3d\3dtest\PaperBase.as(24): col: 29 Error: Type was not found or was not a compile-time constant: Camera3D.
    C:\ppv3d\3dtest\PaperBase.as(36): col: 19 Error: Call to a possibly undefined method Viewport3D.
    C:\ppv3d\3dtest\PaperBase.as(42): col: 19 Error: Call to a possibly undefined method BasicRenderEngine.
    C:\ppv3d\3dtest\PaperBase.as(44): col: 24 Error: Call to a possibly undefined method Scene3D.
    C:\ppv3d\3dtest\PaperBase.as(46): col: 25 Error: Call to a possibly undefined method Camera3D.
    C:\ppv3d\3dtest\PaperBase.as(12): col: 32 Error: Definition org.papervision3d.view:Viewport3D could not be found.
    C:\ppv3d\3dtest\PaperBase.as(13): col: 35 Error: Definition org.papervision3d.cameras could not be found.
    C:\ppv3d\3dtest\PaperBase.as(14): col: 34 Error: Definition org.papervision3d.scenes:Scene3D could not be found.
    C:\ppv3d\3dtest\PaperBase.as(15): col: 34 Error: Definition org.papervision3d.render:BasicRenderEngine could not be found.

    I originally had the GreatWhite folder on another hard drive so I moved it back locally and put it on the C:\Flash Repository\GreatWhite

    Any ideas on where I should be putting it or what I may be doing wrong?

  22. Comment by Frank on May 1, 2008 9:43 pm

    Alright. Figured out I wasn't calling the class in my FLA.

  23. Comment by xcorrect on May 29, 2008 5:44 am

    Hey i dont have a main.as here :(

  24. Comment by xcorrect on May 29, 2008 7:25 am

    i'm glad..., it's working properly :) Even though it's a blank one i feel really happy

  25. Comment by Mikeumus on June 11, 2008 3:41 pm

    So how does this work exactly? I do the steps above and then I can just open up Flash CS3 and make a new actionscript file and the base class will already be recognized?

    Do I have to have the PaperBase.as file in my Actionscript 3.0 settings?

    Is Flash Develop a actionscript editor?

    I came to find this page after hitting this error message within Flash CS3:
    Papervision error Type was not found or was not a compile-time constant: Viewport3D, while doing the "PV3D Intro - Hello World (I)" tutorial over at madverticies.com which was a recommended tutorial site by papervision.

    Pardom my ignorance and thanks for your time and consideration.

    Peace and Love,
    Mikeumus.

  26. Comment by clinton on June 12, 2008 4:19 pm

    I had the same problem as smoov. Fixed it by removing "" from project classpath which was first in the list. Using the Global Classpath also worked.

  27. Comment by Majadero on June 18, 2008 10:06 am

    Hi guys, I'm having trouble to run the blank example. I think it might have to do with languages. When I run the project, I have this error:

    C:\proyectos\scm-medialab\test\as3_projects\PaperBaseOk\obj\PaperBaseOkConfig.xml(13): Error: unable to open 'C:\Documents and Settings\Jesús\Configuración local\Datos de programa\FlashDevelop\Library\AS3\classes'

    As you can see, there are some odd characters there (they correspond to the words "Jesús" and "Configuración"). Is there a way to configure FlashDevelop, so that I can put those libraries in another directory?

    Thanks a lot.

  28. Comment by Ashley on June 19, 2008 12:50 pm

    Hi, I just made your base template and I am getting these errors...

    Any idea...

    Running process: C:\Documents and Settings\ASHLEY\Local Settings\Application Data\FlashDevelop\Tools\fdbuild\fdbuild.exe "F:\Ashley\Projects\Islandape 2008\is2008\islandape\islandape.as2proj" -ipc 380b940d-c898-4f49-a1c4-f650da409432 -compiler "C:\Documents and Settings\ASHLEY\Local Settings\Application Data\FlashDevelop\tools\mtasc" -library "C:\Documents and Settings\ASHLEY\Local Settings\Application Data\FlashDevelop\Library" -cp "C:\Documents and Settings\ASHLEY\Local Settings\Application Data\Adobe\Flash CS3\en\Configuration\Classes"
    Building islandape
    Main entry point not found
    Build halted with errors (mtasc).
    Done (1)

    Ashley

  29. Comment by naisui on July 4, 2008 5:09 pm

    Para majadero:

    http://blog.sergioalvarez.net/flashdevelop-30-beta/

    Allì està la respuesta al problema

  30. Comment by Peter on July 5, 2008 4:29 am

    I could be stupid here, but I am getting this error when I compile. What could be wrong? Its getting stuck right on the first line

    C:\Documents and Settings\user\My Documents\PaperBase/PaperBase.as:1: characters 0-7 : parse error Unexpected package

  31. Comment by Peter on July 5, 2008 4:30 am

    Hmm... got it. I created an AS2 project I guess. There you go :)

  32. Comment by Leon on July 8, 2008 9:12 am

    When i run the project i get this at my output box:

    AscShell command: C:\Documents and Settings\kkkklk\Bureaublad\Nieuwe map (5)\Project interactive\PaperBase.as
    Done(0)

  33. Comment by suBi on July 12, 2008 4:23 am

    I am trying to run this on a mac with Flash CS3.
    I get these two compiler errors.
    I did download the current base class.

    Warning: 1090: Migration issue: The onPress event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'mouseDown', callback_handler).

  34. Comment by Scott on July 15, 2008 3:44 am

    Sorry mate, could you tell us which version of Papervision3D your PaperBase is designed to work with? It doesnt seem to work with PaperVision 1.5.

    Thanks mate

  35. Pingback by Pathfinder Development » Papervision3d 2.0 (Great White) in Flex 3 (Part I) on July 18, 2008 12:03 am

    [...] Extremely helpful base template that sets up all the basic elements that you can easily build [...]

  36. Comment by jesse on July 19, 2008 2:20 pm

    hello get following error : unexected package paperbase.as anyone know how to fix this

  37. Comment by nicolas miari on July 23, 2008 1:23 pm

    I get this error for Viewport3D.as:

  38. Comment by nicolas miari on July 23, 2008 1:25 pm

    Hey, can't post comment

  39. Comment by nicolas miari on July 23, 2008 1:26 pm

    I keep on getting this error for Viewport3D.as:

  40. Comment by nicolas miari on July 23, 2008 1:27 pm

    Hey what's wrong? everything after the first line doesn't get posted

  41. Comment by nicolas miari on July 24, 2008 3:03 am

    Today I got the latest version from scratch, and the errors are gone. Good!

  42. Comment by AV on July 28, 2008 10:29 pm

    @Scott

    some of you guys don't read from the beginning he tells you its not PV 1.5 you use, he has a big download image on the front page telling where to download the 2.0, he gives you tutorials on the very first tutorial on where to get it..

    now i'm no different the average impatient guy, but i'm sure he does get a bit annoyed at people who fail to pay attention.. go from tut 1 and get the resources he mentions.

    btw.. followed the instructions, although i'm using flashDevelop 3 beta 7 it doesn't show a main.as, i ignored creating it, and just continued with paperBase.as, and it worked.. thank you :)

  43. Comment by Ken on August 8, 2008 5:51 pm

    @AdrianLMS

    I am also having problems with FreeCamera3D...

    Error: Type was not found or was not a compile-time constant: FreeCamera3D.
    Error: Call to a possibly undefined method FreeCamera3D.

  44. Comment by Ken on August 8, 2008 5:53 pm

    I did get this to work with the PaperBase.as supplied in this tutorial but not the newest version linked to on the left sidebar.

  45. Comment by Andon on August 15, 2008 6:37 am

    Dood.... you rule. Thank you.

  46. Comment by Felipe on August 20, 2008 2:23 pm

    Hi Luke

    I tried the tutorial, but I´m getting the error when building for the first time and I´m not getting not even the blank screen.

    the error I´m getting is:
    D:\Trabalhos\Tutoriais_PV3D\PaperBase\obj\PaperBaseConfig.xml(12): Error: unable to open 'C:\Documents and Settings\FELIPE\Configurações locais\Dados de aplicativos\FlashDevelop\Library\AS3\classes'

    Don´t know how to fix it. Could you please give some hint?

    Thanks a lot!

  47. Comment by wilson on September 3, 2008 6:42 pm

    hola necesito ayuda...
    hello i need help .....

    when i like to test proyect appert a error :

    "
    C:\Documents and Settings\web\Mis documentos\Prueba 3d\Prueba\obj\PruebaConfig.xml(13): Error: unable to open 'C:\Documents and Settings\web\Configuración local\Datos de programa\FlashDevelop\Library\AS3\classes'
    "

    porfavor ayuda.. gracias d antemano.
    pleas help!!! thanks a lot!...

Comments RSS TrackBack Identifier URI

Leave a comment


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