Hey, I'll commit dynamic vector text capability in away3d if you need it. Im still developing it, but if you think it would help i could commit it and shortly explain how to use it?
On Wed, Jun 17, 2009 at 2:25 PM, MadMax <[email protected]> wrote: > > Thankyou for the reply. > > I like the globe example, very nice. > > I've had a go prior to asking, and sounds like the sort of thing I was > trying to make work and couldn't get the text to sit above the objects > and got really frustrated and abandoned my attempt at a game, for a > month now. > > I want to display the numbers 0 -5 , or a ? or the words King, Queen, > Rook , Bishop , Knight above the 3d objects and chess board. Such a > simple concept yet it's frustrated me no end no getting desired > result. > > I may want to have the text rotate while they sit above the object. I > don't want the text to have a background. > > Sounds like I could have had a zsort issue. > > Any links to code anywhere, or is the 3d text going to be implemented > any time soon? > > Cheers, > Max > > On Jun 17, 9:43 pm, elguapoloco <[email protected]> > wrote: > > Personally I would consider 2 approaches. > > > > If the text needs to be full 3D (rotated, with perspective, etc) you > > could just use a function to generate dynamically a bitmap with the > > desired text and use that as a texture on a Plane or use a > > MovieclipMaterial (if the text or sprite has animation). This was a > > little experiment using Dynamic text + MovieMaterial + Plane: > http://clients.stcassociates.com/stc/rss3D/index.html > > > > If the text just needs to z sorted and always faces the camera, I > > would use Sprite2D to display it. The advantage of this is that the > > user can always read the text. > > This is an example of Sprite2D text in a project I am working on: > http://clients.stcassociates.com/stc/locationsMap/demo2/STC_Locations... > > > > The base is the same in both approaches. You generate a sprite with a > > textfield draw it into BitmapData and use that as a texture. > > > > There is a branch with a Type class inside Away3D but I haven't tried > > it yet. > > > > Hope this helps, > > > > Cheers, > > > > Jerome. >
