Phong Shading on loaded materials and Environment Mapping in Papervision3D

Using lights in Papervision3D to create objects having a Phong Shading on flat coloured materials are easy enough, but what about when you want dynamic highlights on jpg/png materials that you load in? After making a light like below… var light:PointLight3D = new PointLight3D(false, false); //(showlight, flipped) light.x = 0; light.y = 0; light.z =…

Rate this:

Embedding Collada and texture files to Papervision3D

One bad thing about not embedding collada and texture files in your swf file is that it can take quite a while for flash to load in external files, even if they’re pretty small. To embed collada and material files, declare them as a class. The paths are relative to your flash src file, rather…

Rate this:

Baking lights and shadows in Maya using Mental Ray Renderer

I’ve written how to bake lights and shadows onto texture files using the Maya Software renderer before, but this post is for the more exciting Mental Ray renderer. (Yes, smooth shading, final gather, normal maps!) Here’s a simple scene set up with a few spheres and lights. This is the mental ray render that I…

Rate this:

Importing Maya 2012 models to Papervison3D

Maya 2012 has a Collada exporter that enables you to export .dae files. But unfortunately it can’t be read by the Papervision3D Collada/Dae class as the tags don’t match up. I found that the best way to fix this problem is to use Autodesk’s standalone FBX 2011 Converter; Instead of Maya –> DAE, we need…

Rate this:

Kakes’ Papervision3D Site

So I’ve been uploading a few posts about Papervision3D. Now I’ve finally whipped up a website! Jump to http://kakes3d.com/3dflash/ and drag your mouse to rotate the scenes around. Five scenes in total for now. I started to use the Collada parser rather than the DAE one. It seemed to load much faster, and I could…

Rate this:

Fixing skew and z-sort in Papervision3D

Above is Azusa in Pv3d. She is made up of a very thin cube with her front render on the front face of the cube, and her back render on the back face of the cube. Since I first had each plane made of two triangles, when I rotated the plane in Flash, the texture…

Rate this:

Baking shadows to textures in Maya

When you import meshes into realtime 3D engines, you’d probably want to bake some shadows so less calculation needs to be done. In this instance, I wanted to import 3D meshes into Flash using Papervision 3D. Before I get into baking shadows, I just noticed that Papervision3D doesn’t recognise UVs that are outside the first…

Rate this:

Importing Maya Animation into Flash with Papervision 3D

The low poly mesh for May worked pretty well even around her elbows and knees. The joints for the elbows and knees were placed very close to the outline of the mesh so she deforms better. And now I wanted to see if joint animation can be imported into Flash. I first tested something very…

Rate this:

Maya 3D model in Flash Papervision3D

I thought I’d have a go at using Papervision3D to import my 3D character into Flash. They say that the total triangle count for Flash should be under 3000, which meant that I needed to create a low polygon 3D model – lower than Azusa. Since I may want to add more objects to the…

Rate this: