[Papervision3D] [NEW REVISION] Papervision3D AS3 RC1 (Revision 77)

Steven de la Torre | BLITZ SdelaTorre at blitzagency.com
Mon Jun 18 15:12:27 EDT 2007


Does this work even if I don't have the new Beta version of the Flash Player? Or should I get the new player first, before updating my repository copy?

Thanks,
dela

From: Papervision3D-bounces at osflash.org [mailto:Papervision3D-bounces at osflash.org] On Behalf Of Carlos Ulloa
Sent: Monday, June 18, 2007 10:22 AM
To: Papervision3D at osflash.org
Subject: [Papervision3D] [NEW REVISION] Papervision3D AS3 RC1 (Revision 77)

Hello,

I've just committed a new AS3 RC1 revision that implements automatic mip mapping for all textured materials.

As you probably have read, mip mapping is already automatic in the new beta release of the Flash Player, but it requires textures to be of a certain size for mip maps to be generated.

Auto mip mapping in Papervision3D supports textures of any size, just recompile your existing code and it should work.

This feature has been implemented in all the textured materials, to adjust it you will find a couple of static variables in BitmapMaterial:

AUTO_MIP_MAPPING :Boolean // Enables auto mip mapping. Defaults to true.

MIP_MAP_DEPTH :Number // Minimum depth of mip mapping. The number of levels produced is 2^n. Defaults to a depth of 4, creating at least 16 mip maps.

It works by creating a bigger bitmap than requested, and then adjusting the UV matrix accordingly. I haven't played much with this, just recompiled the shark and carlosulloa.com <http://carlosulloa.com> , so if anything breaks, please let me know asap.

Cheers,

C4RL05
// papervision3d.org<http://papervision3d.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20070618/9624457a/attachment-0001.htm


More information about the Papervision3D mailing list