Subject: scaleDown command 2004-03-06 - By Neto
Back No way to undo it, unless you have your textures stored as cast members and reload them into the 3D scene. ScaleUp will simply resize the texture by 200% (with filtering).
-- -- Original Message -- -- From: "Peter Bochan" <peb965@(protected)> To: <dir3d-l@(protected)> Sent: Saturday, March 06, 2004 10:54 AM Subject: RE: [Dir3d-l] scaleDown command
> From: Christophe Leske > > Sent: Saturday, March 06, 2004 3:13 PM > > To: dir3d-l@(protected) > > Subject: RE: [Dir3d-l] scaleDown command > > > > Just use it, as-is: > > > > > > boxModel.shader.texture.scaleDown() > > > > This will scale down the texture size. E.g. If your texture used to be > > 512 by 512 pixels, it will now be 256 by 256. > > > > Reapplying the command will bring it down further, to 128 by 128 pixels. > > Then to 64 by 64, 32 to 32, 16 by 16, 8 by 8, 4x4,2x2,1x1 > > > > > > > > Christophe Leske > > > > http://www.multimedial.de > > mail: info@(protected) > > tel. +49-(0)211 230 99 70 > > .:. f?rstenwall 157 .:. > > ::: 40215 d?sseldorf ::: > > Hi Christophe, > > It works! But is there a command to undo the process? I've tried scaleUp() > but it doesn't do exactly what I want. > > Cheers > peb965 > > > > > > __ ____ ____ ____ ____ ____ ____ ____ ____ ____ > Dir3d-l mailing list > Dir3d-l@(protected) > http://nuttybar.drama.uga.edu/mailman/listinfo/dir3d-l >
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ Dir3d-l mailing list Dir3d-l@(protected) http://nuttybar.drama.uga.edu/mailman/listinfo/dir3d-l
|
|