NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
gaoming fu wrote: > > Hi, All: > I can use text or string to label my objects using Java 3D, i.e., I can > put text in a specific location (e.g, (1.0f,1.0f,1.0f) ), and I also can > set its alignment and path. Can I do the same thing using VisAD? I studied > examples test 69 and 70. I did not find the answer. Take a look at Test47.java -- it plots the text using shapes (look for PlotText). While there might be an easier way, this one gives you access (in the PlotText class) to the alignment and path vectors. Others may wish to point out better solutions. I've also recently added a "drawString()" method to the Python suite in subs.py, which also allows you access to these parameters. tom -- Tom Whittaker (tomw@xxxxxxxxxxxxx) University of Wisconsin-Madison Space Science and Engineering Center Phone/VoiceMail: 608/262-2759 Fax: 608/262-5974
visad
archives: