Re: ISo surface ...with custom color

On Fri, 20 Jun 2003, Rakesh Rathod wrote:

>         I got yellow color of the surface but the surface hasn't got light 
> effects ...I mean it is not colored according to peaks.

The default DataRenderers of VisAD use simple Gouraud
shading. If you want highlights, you'll need to write a
custom DataRenderer that creates extensions of the default
visad.java3d ShadowTypes, that override the
ShadowTypeJ3D.makeAppearance() method. See the DataRenderer
tutorial - its not a simple task.

Good luck,
Bill


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