Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.
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: