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.

Re: Display.LineWidth Gridded3DSet

Hi Rakesh,

Are you using the DirectX version of Java3D? Last I checked,
the DirectX version had a problem where line and point sizes
were broken. Try the OpenGL version instead.

-Curtis

At 01:23 PM 8/14/2003, Rakesh Rathod wrote:
>    hi everyone,
>                  I am using Gridded3DSet to construct a line. I want the line 
> to  be of different width and color.I used constantMaps ...color works fine 
> but i am not getting LineWidth as expected.Can anyone give me some idea?      
> 
>       ConstantMap[] nclColorMap = {new ConstantMap(0.0f, Display.Red),
>                                        new ConstantMap(1.0f, Display.Green),
>                                        new ConstantMap(0.5f, Display.Blue),
>                                        new ConstantMap(2.0f, 
> Display.LineWidth)};
>        
>        display.addReference(nclLine_ref, nclColorMap); 
> 
>thanks,
>Rakesh
>
>
>Do you Yahoo!?
><http://us.rd.yahoo.com/evt=10469/*http://sitebuilder.yahoo.com>Yahoo! 
>SiteBuilder - Free, easy-to-use web site design software 


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