I am liveblogging from Mark Gason’s presentation at FlashMN. These are my notes.
Check out Mark’s page of resources. It contains links to tutorials as well as all sorts of other Papervision 3D-related stuff. http://gasolicious.com/flashstuff/PV3D_presentation.html
Swift 3D is better than Papervision 3D in some ways:
– You can model in Swift 3D, but AutoCAD also works.
– Blender is a better option for 3D modeling (water simulation, partical physics, bump maps, etc.) – IT’S FREE and open source!!! …but it is also “incredibly complicated”.
Swift 3D costs $$$!
Papervision 3D is on Google Code and is open source.
You need an SVN client to download.
Grab the code specific to your code (as2 or as3) and Flash version (CS3 or CS4).
Within the code, there is a basic template that is needed every time (get it on Mark’s links page).
There is a lot of discussion and confusion in the group surrounding the “viewport”. The viewport is analogous to the LCD viewscreen on your digital camera.
When something rotates on the “Y” axis, it rotates like a merry-go-round.
By default, the axis is at (0,0).
Make sure that “doubleSided” = true.
Make sure to add a “material” to your object. Without a material, you cannot see the 3D object.
Mark is a designer and didn’t have a tough time figuring Papervision 3D out. Great news for us designers!
Great example: http://taggalaxy.de/
To make complex objects such as cars, people, etc., a .dae file is needed. It’s like an xml file. It can be exported from Swift 3D and other programs. You need to create a model and then export it to Papervision 3D.
More posts from themightymo.com
A while back, I started using WPMUDEV’s Defender Pro plugin for security on all my WordPress sites. I made a decision this week to switch to WordFence. The conversation was forced on me, because I had a site using Defender Pro that was hacked. I do not blame Defender Pro for the hack, however, this…
use a plugin to do a bunch of optimizations on this site, but for some reason, the preloading of fonts is broken. So I rolled my own font preloading function and placed it in my functional plugin (You could also put it in functions.php). Here’s the code.
Beaver Builder doesn’t give you an interface to change the background color of the sticky menu after scrolling. Here’s a simple bit of CSS that can help.