[GRASS5] 3d point vectors in nviz

Markus Neteler neteler at itc.it
Mon Jul 4 09:44:21 EDT 2005


On Sun, Jul 03, 2005 at 01:57:11PM -0700, Michael Barton wrote:
> There was a discussion about this about a month ago after I tried r.random
> and found that all the points clustered along the top edge of the region.
> Apparently it is something to do with how the random function was/is
> implemented. For a Mac, it makes the y dimension far too small. Glynn
> explained the issue. What I don't remember is if it was fixed in the cvs or
> not.

I don't think so. A cleanup is needed (volunteers?)

Markus
 
> Michael
> 
> 
> On 7/3/05 11:21 AM, "Markus Neteler" <neteler at itc.it> wrote:
> 
> > Michael,
> > 
> > I don't have a Mac, so I don't know...
> > 
> > Generally I would suggest to move the rand() etc code which
> > is scattered around to aa central place.
> > 
> > Markus
> > 
> > On Sat, Jul 02, 2005 at 09:18:13PM -0700, Michael Barton wrote:
> >> Markus,
> >> 
> >> Does the random point generator now work on Mac's too? It didn't work on
> >> Mac's a month back.
> >> 
> >> Michael
> >> 
> >> 
> >> On 7/1/05 8:23 AM, "Markus Neteler" <neteler at itc.it> wrote:
> >> 
> >>> Yes, it works. I have right now extended v.random to optional 3D support
> >>> to easily generate test data:
> >>> 
> >>> - launch GRASS with Spearfish60
> >>> - run
> >>>    g.region rast=elevation.dem -p
> >>>    v.random -z out=rand3d n=25 zmin=1200 zmax=2500
> >>>    v.info rand3d
> >>>    nviz elevation.dem
> >>>    # load vector points in "Vector points" menu, "NEW" button
> >>>    # then select "3D Points", draw
> >>> 
> >>> Works well...
> >>> 
> >>> Markus
> >>> 
> >>> On Fri, Jul 01, 2005 at 10:33:24AM +0200, benducke at compuserve.de wrote:
> >>>> Yes, I did, but the results were no different
> >>>> rom the Display on Surface option.
> >>>> Is the "3D Points" option known to work?
> >>>>  
> >>>>> ----- Originalnachricht -----
> >>>>> Von: Markus Neteler <neteler at itc.it>
> >>>>> Datum: Freitag, 1. Juli 2005 8:54 am
> >>>>> Betreff: [GRASSLIST:7400] Re: 3d point vectors in nviz
> >>>>> 
> >>>>>> On Thu, Jun 30, 2005 at 03:32:16PM +0200, benducke at compuserve.de
> >>>>>> wrote:> Has anyone successfully managed to get a 3D points cloud
> >>>>>>> to display correctly in nviz?
> >>>>>>> I checked 3D region settings and the structure of the
> >>>>>>> vector file itself. The data and settings seem fine.
> >>>>>>> I can display the zcoords with d.vect and it looks
> >>>>>>> ok.
> >>>>>>> However, when I load the map into nviz, I only get
> >>>>>>> to see the top points of the vector map (i.e. I get
> >>>>>>> to see as much as the top-down view by d.vect),
> >>>>>>> the remaining points do not get displayed.
> >>>>>>> 
> >>>>>>> I would very much appreciate any help!
> >>>>>> 
> >>>>>> Did you activate "3D Points" in the Vector points menu?
> >>>>>> 
> >>>>>> Markus
> >>>>>> 
> >>>>>> 
> >>>>> 
> >>>> 
> >> 
> >> ____________________
> >> C. Michael Barton, Professor of Anthropology
> >> School of Human Evolution and Social Change
> >> PO Box 872402
> >> Arizona State University
> >> Tempe, AZ  85287-2402
> >> USA
> >> 
> >> Phone: 480-965-6262
> >> Fax: 480-965-7671
> >> www: <www.public.asu.edu/~cmbarton>
> >> 
> 
> ____________________
> C. Michael Barton, Professor of Anthropology
> School of Human Evolution and Social Change
> PO Box 872402
> Arizona State University
> Tempe, AZ  85287-2402
> USA
> 
> Phone: 480-965-6262
> Fax: 480-965-7671
> www: <www.public.asu.edu/~cmbarton>
> 

-- 
Markus Neteler     <neteler itc it>       http://mpa.itc.it
ITC-irst -  Centro per la Ricerca Scientifica e Tecnologica
MPBA - Predictive Models for Biol. & Environ. Data Analysis
Via Sommarive, 18        -       38050 Povo (Trento), Italy




More information about the grass-dev mailing list