[Papervision3D] Newbie: Basic Papervision Questions
azupko at zupko.info
Thu Jan 15 17:32:19 PST 2009
1. Haven't looked at it. Should be fixed. Tell Tim. :P
2. You can use a loader to load the swf, then simply use
loader.content as the MovieMaterial asset. Should work the same as a
normal movie at that point. Make sure you have permissions.
3. Check how far the camera is from the origin, as well as zoom/
focus. to get the plane at exactly 600x600, put camera at -1000 with
zoom =10 and focus = 100. If that doesn't work, send some code that
can recreate the problem.
On Jan 15, 2009, at 6:37 PM, strayhand wrote:
> I'm writing a script that parses an XML file and automatically
> generates the
> 3d components. I've made it as far as creating a basic plane and
> applying a
> BitmapFileMaterial before I started to run into issues.
> 1. BitmapFileMaterial Errors
> Flash throws an error when trying to apply a bitmapfilematerial that
> loaded yet.
> I found these threads that discuss the issue.
> I hacked-up my local instance of papervision to include the
> from the second post (It works) but I don't like having to tweak the
> Is there something else that I can do to avoid these errors? And are
> any plans to add the "create new bitmap" concept to the Papervision
> 2. Loading Movie Materials Dynamically
> The second issue that I'm running into is loading movie materials.
> Since I'm
> not using flash to author my code and because my elements are being
> generated via XML I don't have the luxury of using the
> method and passing along a library id. So what does that leave me for
> How do I dynamically load movie materials.
> I'm guessing that I'll have to write some kind of loader function
> that will
> first load the swf and then pass something to the MovieMaterial
> method? Does
> anyone have some examples of this?
> 3. Primitives getting scaled?
> My sample plane has been scaled down from the dimensions that I
> For example my flash stage dimensions are 820x440, and my viewport
> has the
> same dimensions but my plane is 600x600 and has been set to the
> origin. Why
> then is it so small when it gets rendered onto the stage
> I apologize for lumping all these into one message, but I thought
> that you'd
> prefer that over three messages from me.
> I'm coding in Flex 3 and compiling in Flash CS3. You can download the
> current state of my project here:
> View this message in context: http://www.nabble.com/Newbie%3A-Basic-Papervision-Questions-tp21490257p21490257.html
> Sent from the Papervision3D mailing list archive at Nabble.com.
> Papervision3D mailing list
> Papervision3D at osflash.org
More information about the Papervision3D