[GRASS-dev] wxNviz volumes

Michael Barton Michael.Barton at asu.edu
Sat Jul 2 23:15:09 EDT 2011


Hi Anna,

Martin's fix allowed me to get wxNviz going and try it out. Your summer work has make great improvements in getting this to the level of functionality of the old tcltk nviz. The view controls work very well and the map updates automatically. The data controls work well too and alter the image as indicated. The lighting works really well too and I'm glad to see the cutting plane and fringe functional. This is all very much appreciated. I have a few observations and suggestions from going through and testing. 

1. Position controls. Works fine. But this seems to make more sense on the view page as it affects the orientation of the map display rather than the color or character of the image itself (other things on the data page). 

2. Z-exag. Works fine. It would be nice if this could be a float with at least 1 decimal so that z-exag. of 1.5 or 2.5 could be set. Not a high priority though.

3. Cutting plane. Most works fine. But the x and y sliders seem to do the same thing. Height doesn't seem to have any affect. Tilt make visual cutting planes disappear (same thing with TclTk). 

4. Fringe. All works well except the 'elevation from bottom' command. It doesn't seem to do anything.

I'll check on the volumes next.

Thanks for all your work.

Michael
____________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity 
Professor of Anthropology, School of Human Evolution & Social Change
Arizona State University

voice: 	480-965-6262 (SHESC), 480-727-9746 (CSDC)
fax:          480-965-7671 (SHESC),  480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu











On Jul 1, 2011, at 8:54 PM, <grass-dev-request at lists.osgeo.org> wrote:

> Date: Fri, 1 Jul 2011 23:16:22 -0400
> From: Helena Mitasova <hmitaso at ncsu.edu>
> Subject: Re: [GRASS-dev] wxNviz volumes
> To: Anna Kratochv?lov? <KratochAnna at seznam.cz>
> Cc: Martin Landa <landa.martin at gmail.com>,      GRASS developers list
>        <grass-dev at lists.osgeo.org>
> Message-ID: <6A39F8F7-9EB1-4151-9BEB-69D8603F3284 at ncsu.edu>
> Content-Type: text/plain; charset=windows-1252
> 
> 
> On Jul 1, 2011, at 10:00 AM, Anna Kratochv?lov? wrote:
> 
>> Hello,
>> 
>>> - I tried volumes in wxnviz but I did not get too far - the GUI does not see any
>>> of my 3d rasters -
>>> the browser for 3D raster maps shows the mapsets but nothing in them
>> 
>> It should be ok now.
> 
> It still does not work for me - when I am setting the 3D region (from set region to match this 3D raster) they show up,
> but not when I try to add it under wxnviz>Volume. Am I missing something? Should I be adding them as map layers
> first somewhere?
> 
>> I haven't tested volumes yet, but I saw that  "slices" are not implemented yet, is this another name for cross-sections or it's another functionality?
> 
> It is crossections - we called them slices because you are "slicing" through the volume
> but I guess that cross-sections is a more appropriate term - I have a few examples here:
> http://skagit.meas.ncsu.edu/~helena/publwork/MitSTCfigs2.ppt
> It is pretty important part of volume visualization.
>> 
>>> - there appears to be an issue with automatic loading of raster when opening the
>>> Data Tab:
>>> -- I have map1 and map2 in GIS manager.
>>> -- I switch off map1 but I keep map2 on
>>> -- switch view to 3d.
>>> -- wxnviz opens correctly with map2
>>> -- when I switch to tab Data, map1 is loaded as raster map - I would have
>>> expected map2
>>> --I tried with more rasters and it looks like it
>>> always picks up the raster that was added the first  (it is lowest in the list)
>>> rather than the one which is highlighted
>> 
>> I tried to fix this. Loading and unloading maps is a bit tricky and I'm afraid there are more such bugs.
> 
> this works now for various combinations and multiple surfaces as well
>> 
>>> -nviz2/cmd does not compile, when I run make on it I get the following
>>> /System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h:503:
>>> error: redefinition of ?struct Rect?
>>> lipo: can't figure out the architecture type of:
>>> /var/folders/-w/-wN910nTFamsDLR+fBkvB++++TI/-Tmp-//ccw2Iwjp.out
>>> make: *** [OBJ.i386-apple-darwin10.7.0/vector.o] Error 1
>>> 
>>> nviz does not compile either ( I have some issue with my TclTk ), perhaps that
>>> is causing problems with nviz_cmd?
>> .
>> Nviz_cmd is not connected with TclTk. Concerning the problem with compilation I'm afraid I cannot help. It might be connected with the changes in nviz_cmd vectors done by Martin recently and I'm sure he would now better how this could be solved.
> 
> OK, I will wait for this, it still complains about struct Rect
> 
> /System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h:503: error: redefinition of ?struct Rect?
> lipo: can't figure out the architecture type of: /var/folders/-w/-wN910nTFamsDLR+fBkvB++++TI/-Tmp-//cc4KN3CM.out
> make: *** [OBJ.i386-apple-darwin10.7.0/vector.o] Error 1
> 
> Thank you, Helena
>> 
>> Best regards,
>> Anna
> 



More information about the grass-dev mailing list