Papervision 3D Programming Tutorial - Texture Smoothing
See the difference texture smoothing can make to your Papervision 3D applications. Demo and source code included.
VIEW THE DEMO
DOWNLOAD THE CODE
Texture smoothing is something that PC gamers have come to expect ever since the very first Voodoo 3D cards came out on the market way back when. Even today the most basic of integrated graphics chipsets will display smoothed textures. Unfortunately before Flash Player 10 there was no hardware rendering available to Flash programs, and as a result 3D engines lie Papervision typically default back to rendering textures in the same old school blocky format that now days is associated with software renderers.
While a version of Papervision is being made to take advantage of the new hardware rendering available in Flash Player 10, for now the only way to achieve the smooth look that hardware rendering gives us natively is to modify the smooth property of a MaterialObject3D. Thankfully this is pretty trivial, as all you need to do is set smooth to true and Papervision takes care of the rest.
As always the trade off for better visuals is lower performance. The sample application demonstrates 2 different models, one with smoothing enabled and one without, so you can compare the effect side by side.
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.