[GRASS-user] Trento3D screenshots redone

Dylan Beaudette dylan.beaudette at gmail.com
Thu May 18 21:54:43 EDT 2006


On Thursday 18 May 2006 18:04, Hamish wrote:
> > > > How would you go about adding 3D objects like trees?  Or are you
> > > > only dreaming?
> > >
> > > http://les-ejk.cz/?cat=grass
> > >
> > > Not dreaming... :D
> >
> > Neat module Jachym !
> >
> > g.region res=4
> > r.mapcalc "trees= if(ndvi >= 0.5, 1, null())"
> > g.region res=8
> > r.to.vect in=trees out=trees_pts feature=point
> > g.region res=4
> > v.trees3d in=trees_pts out=t3d elevation=elev_4m oak=50 pine=50 \
> > spruce=0  nviz elev=elev_4m color=ikonos.rgb vect=t3d
> >
> > output:
> > http://169.237.35.250/~dylan/temp/pinn_trees.jpg
>
> I see your trees are in geometric lines. For a more natural looking
> picture I would suggest perturbing your vector points (v.perturb) by
> a random amount up to about 1/2 of the initial raster resolution.
>
>
> Hamish

Hamish:

yet again your sage advice saves the day. Thanks for the tip!

completely forgot about that command...

I'll try it tomorrow and post the results.

-- 
Dylan Beaudette
Soils and Biogeochemistry Graduate Group
University of California at Davis
530.754.7341




More information about the grass-user mailing list