skip to main | skip to sidebar

I Didn't Know This Yesterday

Things that I didn't know until today. Generally of a work-related technical nature.

Tuesday, 1 July 2008

Correcting texture distortion in Away3D

Use the precision attribute of the material.

i.e

var videomaterial: BitmapMaterial = new BitmapMaterial(this.myBitmapData);

videomaterial.precision = 2;


This will slow rendering down, but remove perspective distortion from the textures. Increasing the value improves render speed at the price of quality.
Posted by LJ at 15:30

1 comment:

Anonymous said...

HELL YEA!

12 December 2008 at 18:24

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ►  2010 (4)
    • ►  July 2010 (1)
    • ►  April 2010 (1)
    • ►  March 2010 (1)
    • ►  January 2010 (1)
  • ►  2009 (4)
    • ►  November 2009 (1)
    • ►  September 2009 (1)
    • ►  May 2009 (1)
    • ►  January 2009 (1)
  • ▼  2008 (44)
    • ►  December 2008 (3)
    • ►  October 2008 (2)
    • ►  September 2008 (5)
    • ►  August 2008 (6)
    • ▼  July 2008 (12)
      • To create a continuous pipe to stream a real-time ...
      • To pipe data into ffplay over a network
      • Compiling against libavcodec
      • Blender real-time engine
      • stdout over IP
      • mkfifo
      • Streaming raw image data into Flash
      • BitmapData.copyChannel
      • Improving Z depth rendering in Away3D
      • Mapping flv video to geometry in Actionscript
      • Correcting texture distortion in Away3D
      • Javascript
    • ►  June 2008 (16)