<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=utf-8">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Trebuchet MS";
        panose-1:2 11 6 3 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Trebuchet MS","sans-serif";
        color:#595959;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="2050" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor=white lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 color="#595959" face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:#595959'>>></span></font>
i assume it's there, but just to make sure, there is an onenterframe in your
code to render the scene?<o:p></o:p></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color="#595959" face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:#595959'>No
– you have to animate the scene / refresh frames in order for it to render? I’m
new to Papervision, so I’m unfamiliar with these kinds of requirements. I know
how to create onEnterFrame events of course, but what needs to animate/refresh
and how in the Papervision library?<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color="#595959" face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:#595959'><o:p> </o:p></span></font></p>
<div>
<p class=MsoNormal style='text-autospace:none'><b><font size=1 color="#76923c"
face="Trebuchet MS"><span style='font-size:9.0pt;font-family:"Trebuchet MS","sans-serif";
color:#76923C;font-weight:bold'><o:p> </o:p></span></font></b></p>
<p class=MsoNormal style='text-autospace:none'><b><font size=1 color="#76923c"
face="Trebuchet MS"><span style='font-size:9.0pt;font-family:"Trebuchet MS","sans-serif";
color:#76923C;font-weight:bold'>Jason Merrill</span></font></b><font size=1
color="#365f91" face="Trebuchet MS"><span style='font-size:8.0pt;font-family:
"Trebuchet MS","sans-serif";color:#365F91'> <br>
<br>
<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><b><font size=1 color="#0052c2"
face=Arial><span style='font-size:8.0pt;font-family:"Arial","sans-serif";
color:#0052C2;font-weight:bold'>Bank of America</span></font></b><font size=1
color="#365f91" face="Trebuchet MS"><span style='font-size:8.0pt;font-family:
"Trebuchet MS","sans-serif";color:#365F91'> </span></font><b><font size=1
color="#d1001d" face=Tahoma><span style='font-size:8.0pt;font-family:"Tahoma","sans-serif";
color:#D1001D;font-weight:bold'><img width=17 height=14 id="Picture_x0020_1"
src="cid:image001.jpg@01C9FA54.B9632850" alt=smallLogo></span></font></b><font
size=1 color="#595959" face="Trebuchet MS"><span style='font-size:8.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'> </span></font><font
size=1 color="#595959" face="Trebuchet MS"><span style='font-size:8.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'>Global Learning <o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=1 color="#595959"
face="Trebuchet MS"><span style='font-size:8.0pt;font-family:"Trebuchet MS","sans-serif";
color:#595959'>Shared Services Solutions Development <o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=1 color="#595959"
face="Trebuchet MS"><span style='font-size:8.0pt;font-family:"Trebuchet MS","sans-serif";
color:#595959'><br>
</span></font><i><font size=1 color="#7f7f7f" face="Trebuchet MS"><span
style='font-size:9.0pt;font-family:"Trebuchet MS","sans-serif";color:#7F7F7F;
font-style:italic'>Monthly meetings on the Adobe Flash platform for rich media
experiences - join the </span></font></i><i><font size=1 color="#548dd4"
face="Trebuchet MS"><span style='font-size:9.0pt;font-family:"Trebuchet MS","sans-serif";
color:#548DD4;font-style:italic'><a
href="http://sharepoint.bankofamerica.com/sites/tlc/flash/default.aspx"><font
color="#548dd4"><span style='color:#548DD4'>Bank of America Flash Platform
Community</span></font></a></span></font></i><i><font size=1 color="#7f7f7f"
face="Trebuchet MS"><span style='font-size:9.0pt;font-family:"Trebuchet MS","sans-serif";
color:#7F7F7F;font-style:italic'> </span></font></i><font size=1 color="#595959"
face="Trebuchet MS"><span style='font-size:8.0pt;font-family:"Trebuchet MS","sans-serif";
color:#595959'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color="#595959" face=Calibri><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#595959'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color="#595959" face=Calibri><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#595959'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color="#595959" face=Calibri><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#595959'><o:p> </o:p></span></font></p>
</div>
<p class=MsoNormal><font size=2 color="#595959" face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:#595959'><o:p> </o:p></span></font></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
papervision3d-bounces@osflash.org [mailto:papervision3d-bounces@osflash.org] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Eric McConkie<br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, July 01, 2009
12:23 AM<br>
<b><span style='font-weight:bold'>To:</span></b> papervision3d@osflash.org<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [Papervision3D]
Simple Cube w/Texture<o:p></o:p></span></font></p>
</div>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>i assume it's there, but just to make sure, there is an onenterframe in
your code to render the scene?<br>
<br>
[Sent from mobile...]<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'><br>
On Jun 30, 2009, at 1:35 PM, "Merrill, Jason" <<a
href="mailto:jason.merrill@bankofamerica.com">jason.merrill@bankofamerica.com</a>>
wrote:<o:p></o:p></span></font></p>
</div>
<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>
<div>
<div>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'>Thanks Javier – that
explains a lot more. However, I tried your code out, and while I didn’t
get any errors, I didn’t see any cube either (whereas I did when I made an
added a simple plane in the same file). The .jpg (my file is city.jpg,
and I changed that in your code) is in the same folder location as the host
HTML and .swf. I get this message:</span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'> </span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'>“INFO:
BitmapFileMaterial: Loading bitmap from city.jpg” </span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'> </span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'>Here is all my code (a
few things are irrelevant since I was messing around with some other things):</span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'> </span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'>package </span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'>{</span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'>
import flash.display.Bitmap;</span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'>
import flash.display.BitmapData;</span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'>
import flash.display.Sprite; </span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'>
import flash.events.Event;</span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'>
import flash.events.MouseEvent;</span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'>
import org.papervision3d.core.proto.MaterialObject3D;</span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'>
import org.papervision3d.materials.BitmapFileMaterial;</span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'>
import org.papervision3d.materials.BitmapMaterial;</span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'>
import org.papervision3d.materials.utils.MaterialsList;</span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'>
import org.papervision3d.materials.WireframeMaterial;</span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'>
import org.papervision3d.objects.primitives.Cube;</span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'>
import org.papervision3d.view.Viewport3D; </span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'>
import org.papervision3d.scenes.Scene3D; </span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'>
import org.papervision3d.cameras.Camera3D; </span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'>
import org.papervision3d.materials.ColorMaterial; </span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'>
import org.papervision3d.render.BasicRenderEngine; </span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'> </span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'>
public class MyPV3DTest extends Sprite</span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'>
{</span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'>
</span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'>
private var viewport: Viewport3D; </span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'>
private var scene: Scene3D; </span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'>
private var camera: Camera3D; </span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'>
private var material:MaterialObject3D;</span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'>
private var materials:MaterialsList;</span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'>
private var primitive:Cube</span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'>
private var renderer: BasicRenderEngine;</span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'>
</span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'>
public function MyPV3DTest ():void</span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'>
{</span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'>
//viewport = new Viewport3D(w, h, scaleToStage, interactive); </span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'>
viewport = new Viewport3D(550, 400, false, true); </span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'>
addChild(viewport); </span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'> </span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'>
//instantiates a Scene3D instance </span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'>
scene = new Scene3D(); </span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'> </span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'>
//instantiates a Camera3D instance </span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'>
camera = new Camera3D(); </span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'> </span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'>
//renderer draws the scene to the stage </span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'>
renderer = new BasicRenderEngine(); </span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'> </span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'>
var wireframeMaterial:WireframeMaterial = new WireframeMaterial(0x333333);</span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'>
wireframeMaterial.doubleSided = true;</span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'> </span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'>
var bitmapFileMaterial:BitmapFileMaterial = new BitmapFileMaterial("city.jpg");</span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'>
bitmapFileMaterial.doubleSided = true;</span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'>
</span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'>
var materialsList:MaterialsList = new MaterialsList(); </span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'>
materialsList.addMaterial(wireframeMaterial, "front"); </span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'>
materialsList.addMaterial(wireframeMaterial, "back"); </span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'>
materialsList.addMaterial(bitmapFileMaterial, "left"); </span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'>
materialsList.addMaterial(wireframeMaterial, "right"); </span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'>
materialsList.addMaterial(wireframeMaterial, "top"); </span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'>
materialsList.addMaterial(wireframeMaterial, "bottom"); </span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'> </span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'>
var cube:Cube = new Cube(materialsList, 200, 200, 200, 3, 3, 3);</span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'>
scene.addChild(cube);</span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'>
}</span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'>
}</span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'>}</span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'> </span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'> </span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'> </span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
text-autospace:none'><b><font size=1 color="#76923c" face="Trebuchet MS"><span
style='font-size:9.0pt;font-family:"Trebuchet MS","sans-serif";color:#76923C;
font-weight:bold'> </span></font></b><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
text-autospace:none'><b><font size=1 color="#76923c" face="Trebuchet MS"><span
style='font-size:9.0pt;font-family:"Trebuchet MS","sans-serif";color:#76923C;
font-weight:bold'>Jason Merrill</span></font></b><font size=1 color="#365f91"
face="Trebuchet MS"><span style='font-size:8.0pt;font-family:"Trebuchet MS","sans-serif";
color:#365F91'> <br>
<br>
<br>
</span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
text-autospace:none'><b><font size=1 color="#0052c2" face=Arial><span
style='font-size:8.0pt;font-family:"Arial","sans-serif";color:#0052C2;
font-weight:bold'>Bank of America</span></font></b><font size=1
color="#365f91" face="Trebuchet MS"><span style='font-size:8.0pt;font-family:
"Trebuchet MS","sans-serif";color:#365F91'> </span></font><b><font size=1
color="#d1001d" face=Tahoma><span style='font-size:8.0pt;font-family:"Tahoma","sans-serif";
color:#D1001D;font-weight:bold'><image001.jpg></span></font></b><font
size=1 color="#595959" face="Trebuchet MS"><span style='font-size:8.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'> Global
Learning </span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
text-autospace:none'><font size=1 color="#595959" face="Trebuchet MS"><span
style='font-size:8.0pt;font-family:"Trebuchet MS","sans-serif";color:#595959'>Shared
Services Solutions Development </span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
text-autospace:none'><font size=1 color="#595959" face="Trebuchet MS"><span
style='font-size:8.0pt;font-family:"Trebuchet MS","sans-serif";color:#595959'><br>
</span></font><i><font size=1 color="#7f7f7f" face="Trebuchet MS"><span
style='font-size:9.0pt;font-family:"Trebuchet MS","sans-serif";color:#7F7F7F;
font-style:italic'>Monthly meetings on the Adobe Flash platform for rich media
experiences - join the </span></font></i><i><font size=1 color="#548dd4"
face="Trebuchet MS"><span style='font-size:9.0pt;font-family:"Trebuchet MS","sans-serif";
color:#548DD4;font-style:italic'><a
href="http://sharepoint.bankofamerica.com/sites/tlc/flash/default.aspx"><font
color="#548dd4"><span style='color:#548DD4'>Bank of America Flash Platform
Community</span></font></a></span></font></i><i><font size=1 color="#7f7f7f"
face="Trebuchet MS"><span style='font-size:9.0pt;font-family:"Trebuchet MS","sans-serif";
color:#7F7F7F;font-style:italic'> </span></font></i><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face=Calibri><span style='font-size:11.0pt;font-family:
"Calibri","sans-serif";color:#595959'> </span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face=Calibri><span style='font-size:11.0pt;font-family:
"Calibri","sans-serif";color:#595959'> </span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face=Calibri><span style='font-size:11.0pt;font-family:
"Calibri","sans-serif";color:#595959'> </span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#595959" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'> </span></font><o:p></o:p></p>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><font
size=2 face=Tahoma><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
font-weight:bold'>From:</span></font></b><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> <a
href="mailto:papervision3d-bounces@osflash.org">papervision3d-bounces@osflash.org</a>
[mailto:papervision3d-bounces@osflash.org] <b><span style='font-weight:bold'>On
Behalf Of </span></b>Javier España | <a href="http://javierespana.com">javierespana.com</a><br>
<b><span style='font-weight:bold'>Sent:</span></b> Tuesday, June 30, 2009 4:13
PM<br>
<b><span style='font-weight:bold'>To:</span></b> <a
href="mailto:papervision3d@osflash.org">papervision3d@osflash.org</a><br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [Papervision3D]
Simple Cube w/Texture</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=3 face="Times New Roman"><span style='font-size:12.0pt'> <o:p></o:p></span></font></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;margin-bottom:12.0pt'><font
size=3 face="Times New Roman"><span style='font-size:12.0pt'>Try this out
instead, it seems that you are using a cube and aren't loading the material
list correctly.<br>
<br>
<i><span style='font-style:italic'>
wireframeMaterial = new WireframeMaterial(0x333333);<br>
wireframeMaterial.doubleSided = true;<br>
///<br>
//BitmapFileMaterial,
doubleSided draws the color on both sides of the geometry normals<br>
bitmapFileMaterial =
new BitmapFileMaterial("AJ.png");<br>
bitmapFileMaterial.doubleSided = true;<br>
///<br>
var
materialsList:MaterialsList = new MaterialsList(); <br>
materialsList.addMaterial(wireframeMaterial, "front"); <br>
materialsList.addMaterial(wireframeMaterial,
"back"); <br>
materialsList.addMaterial(bitmapFileMaterial, "left"); <br>
materialsList.addMaterial(wireframeMaterial, "right"); <br>
materialsList.addMaterial(wireframeMaterial, "top"); <br>
materialsList.addMaterial(wireframeMaterial,
"bottom"); <br>
///<br>
//cube = new
Cube(MaterialList applied to object, width, depth, height, wSegments,
dSegments, hSegments);<br>
cube = new
Cube(materialsList, 200, 200, 200, 3, 3, 3);<br>
scene.addChild(cube);</span></i><br>
<br>
That's a quick example that loads a bitmap on a side of the cube, and renders a
wireframe material on the other sides...<br>
<br>
Hope it helps =)<br>
<br>
Javier<o:p></o:p></span></font></p>
<div>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=3 face="Times New Roman"><span style='font-size:12.0pt'>On Tue, Jun 30,
2009 at 4:48 PM, Merrill, Jason <<a
href="mailto:jason.merrill@bankofamerica.com">jason.merrill@bankofamerica.com</a>>
wrote:<o:p></o:p></span></font></p>
<div>
<div>
<p><font size=2 color="#595959" face="Trebuchet MS"><span style='font-size:
10.0pt;font-family:"Trebuchet MS","sans-serif";color:#595959'>Hey all,</span></font><o:p></o:p></p>
<p><font size=2 color="#595959" face="Trebuchet MS"><span style='font-size:
10.0pt;font-family:"Trebuchet MS","sans-serif";color:#595959'> </span></font><o:p></o:p></p>
<p><font size=2 color="#595959" face="Trebuchet MS"><span style='font-size:
10.0pt;font-family:"Trebuchet MS","sans-serif";color:#595959'>I’m new
developing with Papervision3d (though not new to Flash/Flex/Actionscript) and
have a really basic problem. I was able to display my first code-generated
plane and rotate it, and also load a model collada file built with
Swift3d. Now I am trying to create a box with texture, but having
problems. Here is the relevant part of my code:</span></font><o:p></o:p></p>
<p><font size=2 color="#595959" face="Trebuchet MS"><span style='font-size:
10.0pt;font-family:"Trebuchet MS","sans-serif";color:#595959'> </span></font><o:p></o:p></p>
<p><font size=2 color="#595959" face="Trebuchet MS"><span style='font-size:
10.0pt;font-family:"Trebuchet MS","sans-serif";color:#595959'>(CubeTexture is a
bitmap in Flash CS3 with linkage exported as class: CubeTexture and base class:
flash.display.BitmapData)</span></font><o:p></o:p></p>
<p><font size=2 color="#595959" face="Trebuchet MS"><span style='font-size:
10.0pt;font-family:"Trebuchet MS","sans-serif";color:#595959'> </span></font><o:p></o:p></p>
<p><font size=2 color="#595959" face="Trebuchet MS"><span style='font-size:
10.0pt;font-family:"Trebuchet MS","sans-serif";color:#595959'>var bitmap:Bitmap
= new Bitmap(new CubeTexture(0,0));</span></font><o:p></o:p></p>
<p><font size=2 color="#595959" face="Trebuchet MS"><span style='font-size:
10.0pt;font-family:"Trebuchet MS","sans-serif";color:#595959'>material = new
MaterialObject3D();</span></font><o:p></o:p></p>
<p><font size=2 color="#595959" face="Trebuchet MS"><span style='font-size:
10.0pt;font-family:"Trebuchet MS","sans-serif";color:#595959'>material.bitmap =
bitmap.bitmapData;</span></font><o:p></o:p></p>
<p><font size=2 color="#595959" face="Trebuchet MS"><span style='font-size:
10.0pt;font-family:"Trebuchet MS","sans-serif";color:#595959'> </span></font><o:p></o:p></p>
<p><font size=2 color="#595959" face="Trebuchet MS"><span style='font-size:
10.0pt;font-family:"Trebuchet MS","sans-serif";color:#595959'>materials = new
MaterialsList();</span></font><o:p></o:p></p>
<p><font size=2 color="#595959" face="Trebuchet MS"><span style='font-size:
10.0pt;font-family:"Trebuchet MS","sans-serif";color:#595959'>materials.addMaterial(material);</span></font><o:p></o:p></p>
<p><font size=2 color="#595959" face="Trebuchet MS"><span style='font-size:
10.0pt;font-family:"Trebuchet MS","sans-serif";color:#595959'> </span></font><o:p></o:p></p>
<p><font size=2 color="#595959" face="Trebuchet MS"><span style='font-size:
10.0pt;font-family:"Trebuchet MS","sans-serif";color:#595959'>primitive = new
Cube(materials, 200, 200, 200);</span></font><o:p></o:p></p>
<p><font size=2 color="#595959" face="Trebuchet MS"><span style='font-size:
10.0pt;font-family:"Trebuchet MS","sans-serif";color:#595959'>scene.addChild(primitive);</span></font><o:p></o:p></p>
<p><font size=2 color="#595959" face="Trebuchet MS"><span style='font-size:
10.0pt;font-family:"Trebuchet MS","sans-serif";color:#595959'> </span></font><o:p></o:p></p>
<p><font size=2 color="#595959" face="Trebuchet MS"><span style='font-size:
10.0pt;font-family:"Trebuchet MS","sans-serif";color:#595959'>I get this error:</span></font><o:p></o:p></p>
<p><font size=2 color="#595959" face="Trebuchet MS"><span style='font-size:
10.0pt;font-family:"Trebuchet MS","sans-serif";color:#595959'> </span></font><o:p></o:p></p>
<p><font size=2 color="#595959" face="Trebuchet MS"><span style='font-size:
10.0pt;font-family:"Trebuchet MS","sans-serif";color:#595959'>“WARNING:
Required material not found in given materials list. Supported materials are:
front, back, right, left, top, bottom & all.”</span></font><o:p></o:p></p>
<p><font size=2 color="#595959" face="Trebuchet MS"><span style='font-size:
10.0pt;font-family:"Trebuchet MS","sans-serif";color:#595959'> </span></font><o:p></o:p></p>
<p><font size=2 color="#595959" face="Trebuchet MS"><span style='font-size:
10.0pt;font-family:"Trebuchet MS","sans-serif";color:#595959'>Any ideas what
I’m doing wrong? Thanks.</span></font><o:p></o:p></p>
<div>
<p><b><font size=1 color="#76923c" face="Trebuchet MS"><span style='font-size:
9.0pt;font-family:"Trebuchet MS","sans-serif";color:#76923C;font-weight:bold'> </span></font></b><o:p></o:p></p>
<p><b><font size=1 color="#76923c" face="Trebuchet MS"><span style='font-size:
9.0pt;font-family:"Trebuchet MS","sans-serif";color:#76923C;font-weight:bold'> </span></font></b><o:p></o:p></p>
<p style='margin-bottom:12.0pt'><b><font size=1 color="#76923c"
face="Trebuchet MS"><span style='font-size:9.0pt;font-family:"Trebuchet MS","sans-serif";
color:#76923C;font-weight:bold'>Jason Merrill</span></font></b><font size=1
color="#365f91" face="Trebuchet MS"><span style='font-size:8.0pt;font-family:
"Trebuchet MS","sans-serif";color:#365F91'> </span></font><o:p></o:p></p>
<p><b><font size=1 color="#0052c2" face=Arial><span style='font-size:8.0pt;
font-family:"Arial","sans-serif";color:#0052C2;font-weight:bold'>Bank of
America</span></font></b><font size=1 color="#365f91" face="Trebuchet MS"><span
style='font-size:8.0pt;font-family:"Trebuchet MS","sans-serif";color:#365F91'> </span></font><font
size=1 color="#d1001d" face=Tahoma><span style='font-size:8.0pt;font-family:
"Tahoma","sans-serif";color:#D1001D'>Error! Filename not specified.</span></font><font
size=1 color="#595959" face="Trebuchet MS"><span style='font-size:8.0pt;
font-family:"Trebuchet MS","sans-serif";color:#595959'> Global
Learning </span></font><o:p></o:p></p>
<p><font size=1 color="#595959" face="Trebuchet MS"><span style='font-size:
8.0pt;font-family:"Trebuchet MS","sans-serif";color:#595959'>Shared Services
Solutions Development </span></font><o:p></o:p></p>
<p><font size=1 color="#595959" face="Trebuchet MS"><span style='font-size:
8.0pt;font-family:"Trebuchet MS","sans-serif";color:#595959'><br>
</span></font><i><font size=1 color="#7f7f7f" face="Trebuchet MS"><span
style='font-size:9.0pt;font-family:"Trebuchet MS","sans-serif";color:#7F7F7F;
font-style:italic'>Monthly meetings on the Adobe Flash platform for rich media
experiences - join the </span></font></i><i><font size=1 color="#548dd4"
face="Trebuchet MS"><span style='font-size:9.0pt;font-family:"Trebuchet MS","sans-serif";
color:#548DD4;font-style:italic'><a
href="http://sharepoint.bankofamerica.com/sites/tlc/flash/default.aspx"
target="_blank"><font color="#548dd4"><span style='color:#548DD4'>Bank of
America Flash Platform Community</span></font></a></span></font></i><i><font
size=1 color="#7f7f7f" face="Trebuchet MS"><span style='font-size:9.0pt;
font-family:"Trebuchet MS","sans-serif";color:#7F7F7F;font-style:italic'> </span></font></i><o:p></o:p></p>
<p><font size=2 color="#595959" face=Calibri><span style='font-size:11.0pt;
font-family:"Calibri","sans-serif";color:#595959'> </span></font><o:p></o:p></p>
</div>
</div>
</div>
<p class=MsoNormal style='mso-margin-top-alt:auto;margin-bottom:12.0pt'><font
size=3 face="Times New Roman"><span style='font-size:12.0pt'><br>
_______________________________________________<br>
Papervision3D mailing list<br>
<a href="mailto:Papervision3D@osflash.org">Papervision3D@osflash.org</a><br>
<a href="http://osflash.org/mailman/listinfo/papervision3d_osflash.org">http://osflash.org/mailman/listinfo/papervision3d_osflash.org</a><o:p></o:p></span></font></p>
</div>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=3 face="Times New Roman"><span style='font-size:12.0pt'> <o:p></o:p></span></font></p>
</div>
</div>
</blockquote>
<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>_______________________________________________<br>
Papervision3D mailing list<br>
<a href="mailto:Papervision3D@osflash.org">Papervision3D@osflash.org</a><br>
<a href="http://osflash.org/mailman/listinfo/papervision3d_osflash.org">http://osflash.org/mailman/listinfo/papervision3d_osflash.org</a><o:p></o:p></span></font></p>
</div>
</blockquote>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
</div>
</body>
</html>