Papervision3D in MXML
This falls under the “just because I can” category
Just copy and paste this code into any Flex project with the Papervision3D.swc in the libs and you’re good to go!
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | <?xml version="1.0" encoding="utf-8"?> <view:BasicView xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:view="org.papervision3d.view.*" xmlns:scenes="org.papervision3d.scenes.*" xmlns:primitives="org.papervision3d.objects.primitives.*" xmlns:materials="org.papervision3d.materials.*" opaqueBackground="#ffffff" added="startRendering();" > <view:scene> <scenes:Scene3D> <scenes:objects> <primitives:Sphere x="300"> <primitives:material> <materials:ColorMaterial fillColor="0xcc0000"/> </primitives:material> </primitives:Sphere> </scenes:objects> </scenes:Scene3D> </view:scene> </view:BasicView> |
-
Marc Pelland
-
nordlicht
-
zszen
Search
Recommended Books
Speaking at FITC Toronto
Recent Posts
- Moving to johnlindquist.com
- AsyncCommand with Robotlegs, Signals, Flight, MinimalComps
- Search Widget – Robotlegs, Signals, Flight, Minimal Comps, Yahoo Astra
- FDT Super Awesome March Deal
- haXe Tutorial
- AS3 Signals Tutorial
- Preferred Video Tutorial Resolution?
- TweenMax – Tweening a timeline (Advanced Tweening)
- Robotlegs + Flight + Union Platform
- Back in the saddle
- Eclipse Theme Designer Preview
- RobotLegs Hello World Video Tutorial
- 10 Things Every Senior Flash Developer Should Know
- Efflex – 3D Effects for Flex
- MorphController – Mighty Morphing Papervision3D
Recent Comments
- شقق للبيع في الاردن on Moving to johnlindquist.com
- Annakhan006 on Augmented Reality – Recursive Webcam
- Yarout on Augmented Reality – Recursive Webcam
- Vivon on about
- Josh @ Wall Stickers on Moving to johnlindquist.com
- list of lpn courses on SpringCamera3D and Driving a Car
- rn to bsn in montgomery al on archive
- PowerPoint Recovery on Eclipse Theme Designer Preview
- cheat mw3 on Test if a plane is within the view of the camera (aka testing if culled)
- Goa Hotels on Looking around the inside of a Sphere
Categories
Archives
Preferred Video Tutorial Resolution
- 1024x768 (53%, 85 Votes)
- 1280x1024 (15%, 24 Votes)
- 1920x1080 (15%, 24 Votes)
- 800x600 (13%, 20 Votes)
- 480x320 (4%, 6 Votes)
- 640x480 (0%, 2 Votes)
Total Voters: 160

