Papervision 3D Programming Tutorial - Transparency
Learn how to make Papervision 3D objects transparent with this tutorial. Demo and source code included.
VIEW THE DEMO
DOWNLOAD THE CODE
Transparency can be achieved in Papervision quite easily by changing a default parameter in the MovieMaterial constructor. The parameter called transparent (which is the second parameter in the MovieMaterial constructor) is set to false by default. This is because transparent materials are more computationally expensive than opaque ones. However if you do need to make a material transparent all you need to do is set this parameter to true.
The sample application displays the animated MD2 dragon model from the last sample, and adds a skybox. The Dragon is semi-transparent by default, but you can toggle between a transparent and opaque material using the checkbox in the top left hand corner.
The transparent material itself is coming from a PNG instead of the original JPG. This is because JPG’s don’t support an alpha channel. If you need a good ((and free) tool for modifying images check out paint.net.
Go back to Papervision Tutorials

Check out these other Papervision examples:
-
Papervision 3D Programming Tutorial - Creating a Papervision Component
| By mcasperson | in Programming
See how Papervision can be packaged into a SWC Flash component, which allows you to drag and drop Papervision into ...
-
Papervision 3D Programming Tutorial - Traer Physics
| By mcasperson | in Programming
See how to implement cloth physics in Papervision 3D. Demo and source code included....
-
Papervision programming tutorial - 3D Text
| By mcasperson | in Programming
Learn how to display animated 3D text with Papervision 3D...
-
Papervision 3D Programming Tutorial - Texture Smoothing
| By mcasperson | in Programming
See the difference texture smoothing can make to your Papervision 3D applications. Demo and source code included....
-
Papervision 3D programming tutorials - Clipping & Culling
| By mcasperson | in Programming
See how to use Papervisions clipping and culling options to improve performance and visual integrity. Demo and sour...
-
iPhone Resizing a UIImage | By eh9212 | in Programming
How to resize a UIImage in a UIImageView and a UIButton...
-
Threading in dot net 2.0 - separate copy of static variable among different threads using ThreadStatic attribute | By xxris | in Programming
How each thread keeps a separate copy of same static variable using ThreadStatic attribute ....
-
ADAPATIVE ALGORITHM TO FINDOUT DUPLICATE RECORDS | By pinakbhusanmishra | in Programming
Records are list of row that are stored inside database . this is an efficient technique to find out the duplicatin...
-
ALGORITHM TO FIND OUT HIDDENLINKS IN WEBSITES | By pinakbhusanmishra | in Programming
Here we can find out the hidden links in the websites that basically people uses for the browsing ads....
-
PHP and MySQL | By ChaimChaikin | in Programming
PHP is a server side programming language that is used mainly for dynamically creating and mantaining websites. PHP...
-
AS3IsoLib Tutorial Series - Interaction | By mcasperson | in Programming
In this tutorial we add mouse interactivity to the scene....
-
AS3IsoLib Tutorial Series - Camera | By mcasperson | in Programming
In this tutorial we allow the view of the isometric scene to be moved with the mouse....
-
AS3IsoLib Tutorial Series - Height | By mcasperson | in Programming
In this tutorial we show the height of an isometric object by adding a shadow....
-
AS3IsoLib Tutorial Series - Materials | By mcasperson | in Programming
In this tutorial we modify the appearance of the isometric cube at runtime....
-
AS3IsoLib Tutorial Series - Moving Boxes | By mcasperson | in Programming
In this tutorial we add some animated isometric boxes to the scene....








No comments yet.