Engine5.06
Another quick update
Bugs fixed in this release
==========================
TextStore003: when checking for renderlength of text (how many pixels) I wasn't skipping the line break ~ tilda characters so this was considerd part of the font with no texture region to support it.
Menu004: hadn't made use of new renderlength code for all tag alignment cases
changes
============
Engine
============
focalLength - added, determines the focal length for perspective projections
ZRange - added, lets you specify the depth of Z values that are acceptable to render, this value is halfed to form the -ve Z back value and +ve front value. The default is 10,000 which give -5000 to 5000 as the range
ZFront - added, retrieves the current maximum allowable Z value for rendering, sprites with values larger than this will not be rendered
ZBack - added, retrieves the current minimum allowable Z value for rendering, sprites with values smaller than this will not be rendered
============
TextureProcessor
============
GetRegionAlphaList() - added, gets a byte array for a given transparent region of a processed texture
GetRegionAlphaGrid() - added, does same as above but produces a 2d array of alpha bytes
============
TextManager
============
GetCharacterAlphaGrid() - added, gets the 2d array of alpha values for a particular character in a particular font
============
Sprite
============
AutoFadeFront - added, this lets you dynamically change the front fade value
AutoFadeBack - added, this lets you dynamically change the back
PerspectiveProjectionOn() - added, lets you turn on perspective rendering for a sprite - EXPENSIVE in terms of CPU
PerspectiveProjectionOff() - added, turns off perspective rendering
Tuesday, 4 January 2011
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment