[Papervision3D] Attaching multiple planes to stage
Thomas Saunders
tasaunders at gmail.com
Fri Jan 4 12:22:23 PST 2008
Hey Mirko,
When you create a viewport with the autoScale set to false like this:
new Viewport3D(0, 0, false, true);
the first 2 parameters you pass then define the size of the viewport. In
this case, you're making a new Viewport, but its width and height are 0 and
0 so you won't see it at all.
try using new Viewport3D(800, 600, false, true)
I noticed that in the 387 revision, the Viewport3D class was flagged, but if
you get the current revision, it has been fixed, so you might want to check
that out.
hope this helps!
Thomas
http://modern-carpentry.com/talk
Message: 2
Date: Fri, 4 Jan 2008 08:51:30 -0800 (PST)
From: |Mirko| <msabljic at gmail.com>
Subject: [Papervision3D] Attaching multiple planes to stage
To: papervision3D at osflash.org
Message-ID: <14620405.post at talk.nabble.com>
Content-Type: text/plain; charset=us-ascii
I am trying to create couple of planes and attach them to stage. This is my
code which doesn't work (i get blank stage) so i am obviously doing
something wrong:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20080104/aa524c01/attachment.html
More information about the Papervision3D
mailing list