[GRASS-dev] [GRASS GIS] #2381: lighting/shading for vector objects backward in nviz

GRASS GIS trac at osgeo.org
Fri Jul 25 12:07:33 PDT 2014

#2381: lighting/shading for vector objects backward in nviz
 Reporter:  cmbarton     |       Owner:  grass-dev@…              
     Type:  defect       |      Status:  new                      
 Priority:  normal       |   Milestone:  7.1.0                    
Component:  Tcl/Tk NVIZ  |     Version:  svn-trunk                
 Keywords:               |    Platform:  Unspecified              
      Cpu:  Unspecified  |  
 I just tried to display a map with an overlay of vector points and they
 all looked black, regardless of the color I chose. Turns out that when the
 view is from the SE and the light is also from the SE (both defaults), the
 vector spheres are in shadow. If I switch the light to the NW, the face of
 the spheres are lit--but of course the shadows on the surface are going
 the other way. This reversal also applies to light height. When the light
 is low, a sphere is lit from the top; when the light is high, there is
 very oblique lighting--again reversed from the surface. So there is a
 flipped variable somewhere.

 I've attached a screenshot of a surface and points with a view from the SE
 and lighting from the SE. The shadows on the surface are to the NW
 (correct), but the spheres in completely in shadow (incorrect).

Ticket URL: <http://trac.osgeo.org/grass/ticket/2381>
GRASS GIS <http://grass.osgeo.org>

More information about the grass-dev mailing list