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.

Re: lineWidth

Hi Cicero,

You are probably using the DirectX version of Java3D on
Windows. I recommend using the OpenGL version instead.

-Curtis

At 02:12 PM 5/29/2003, Cicero A. W. Zandonna wrote:
>Hello VisAD comunnity,
>
>I  am having some problems reguarding line width and the diferences betwen 2D 
>and 3D displays.
>
>This question have probabily already been explained on this list but I coudn´t 
>find then:
>
>- The setLineWidth() methos in the GraphicsModeControl works only on 2D 
>Displays?  It afects all lines, always?
>
>- I have tried to use a constant map in order to change the widths, something 
>like this:
>
>ConstantMap[] cores = { new ConstantMap(5.0, visad.Display.PointSize),
>                       new ConstantMap((double) color.getRed()/256, 
> visad.Display.Red ),
>                       new ConstantMap((double) color.getGreen()/256, 
> visad.Display.Green ),
>                       new ConstantMap((double) color.getBlue()/256, 
> visad.Display.Blue )
>                       };
>
>The colors worked, but not the width.
>
>If there is any information missing, please let me know...
>
>Thanks Already.
>
>Cicero A. W. Zandoná


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