[GRASS-dev] [GRASS GIS] #2175: m.nviz.image: adding transparency_value= changes raster layer stacking order

GRASS GIS trac at osgeo.org
Mon Jan 27 01:56:57 PST 2014


#2175: m.nviz.image: adding transparency_value= changes raster layer stacking
order
----------------------------------------+-----------------------------------
 Reporter:  hamish                      |       Owner:  grass-dev@…              
     Type:  defect                      |      Status:  new                      
 Priority:  normal                      |   Milestone:  6.4.4                    
Component:  Default                     |     Version:  svn-trunk                
 Keywords:  m.nviz.image, transparency  |    Platform:  Linux                    
      Cpu:  x86-64                      |  
----------------------------------------+-----------------------------------
 Hi,

 adding the m.nviz.image transparency_value= option changes the layer
 stacking order, making constant surface overlays not-very-useful. Tested
 in trunk and devbr6, & I assume relbr64 has the same trouble.


 North Carolina example:
 {{{
 g.region rast=elevation

 m.nviz.image \
   output=test_img \
   size=650,600 \
   height=2000 \
   zexag=7 \
   perspective=30 \
   position=0.24,0.16 \
   elevation_map=elevation \
   color_map=elevation \
   elevation_value=100 \
   color=red \
   resolution_fine=1,10 \
   resolution_coarse=100,1000 \
   mode=fine,fine \
   style=surface,surface \
   wire_color=grey,grey \
   shading=gouraud,gouraud \
 #  transparency_value=0,50
 }}}

 Attached to the ticket are screenshots with and without the transparency
 option.


 thanks,
 Hamish

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/2175>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list