[GRASS-dev] TclTk animator finished - replaces xganim

Helena Mitasova hmitaso at unity.ncsu.edu
Fri Sep 14 00:39:01 EDT 2007


On Sep 14, 2007, at 12:13 AM, Hamish wrote:

> Michael Barton wrote:
>>
>> I finished updating the new TclTk animation module and committed  
>> it to
>> the cvs. It does pretty much what xganim did, but with somewhat nicer
>> interface. It also has several important improvements over xganim.
>
>
> One thing I have wanted in a GRASS animation tool is the ability to  
> take
> a 3D raster block and animate through the z-layers without having  
> to do
> run r3.to.rast first then remove all the sections after.

we have included few examples of such use of xganim in the new GRASS  
book -
I have found it very useful for pre-viewing the volume data in a  
quick and efficient way
before going into nviz - probably a script could be written to  
automate the procedure.
I have also used d.slide.show along with xganim. So a script - volume  
slicer? - that will
either slice through the volume using xganim or display the slices as  
a series of still slides
would be really useful

Helena

one of the (very simple) examples from the book using the nc_spm data
# create a volume
g.region rural_1m res3=3 t=132 b=102 tbres=2 -ap3
r.to.rast3elev -l soils_Kfactor elev=elev_lid792_1m out=soils_Kvol
r3.info soils_Kvol

# convert to horiz. slices and display
r3.to.rast soils_Kvol out=soils_Kvolslice
d.slide.show soils_Kvolslice
xganim view1="soils_Kvolslice*"



> Especially if the
> z-axis represents a time-series. A more advanced version could slide
> through the x or y axis, or, if you want to get really tricky,  
> normal to
> an arbitrary plane. Maybe the fancy stuff is better left for nviz  
> cutting
> planes and just try for the z-layers.
>
>
> Hamish
>
> _______________________________________________
> grass-dev mailing list
> grass-dev at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass-dev




More information about the grass-dev mailing list