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 Whittaker (tomw@xxxxxxxxxxxxx)
University of Wisconsin-Madison
Space Science and Engineering Center