Re: text 3d

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


  • References:
  • 2001 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: