<div>I had a quick play with this and with a bit of fiddling with the nviz controls I at least managed to get a view of something that could be my 360 degree view. </div>
<div>Than I saved this as a 3d.view file, which looks like this:</div>
<div>&nbsp;</div>
<blockquote dir="ltr" style="MARGIN-RIGHT: 0px">
<div># 4.01<br>PGM_ID: Nvision-ALPHA!<br>north: 22.200000<br>south: 22.100000<br>east: 105.100000<br>west: 105.000000<br>rows: 120<br>cols: 120<br>TO_EASTING: 105.041183<br>TO_NORTHING: 22.117983<br>TO_HEIGHT: 66.926193<br>
FROM_EASTING: 105.220001<br>FROM_NORTHING: 21.980000<br>FROM_HEIGHT: 2024.140015<br>Z_EXAG: 0.000010<br>TWIST: 0.000000<br>FIELD_VIEW: 359.000000<br>MESH_FREQ: 1<br>POLY_RES: 1<br>DOAVG: 0<br>DISPLAY_TYPE: 2<br>DOZERO: 1<br>
COLORGRID: 0<br>SHADING: 1<br>FRINGE: 0<br>BG_COL: black<br>GRID_COL: white<br>OTHER_COL: red<br>SURFACEONLY: 0<br>LIGHTS_ON: 1<br>LIGHTPOS: 0.296000 -0.344000 0.580000 0.000000<br>LIGHTCOL: 0.320000 0.592000 0.616000<br>
LIGHTAMBIENT: 0.000000<br>SHINE: 32.000000</div>
<div>&nbsp;</div></blockquote>
<div>My idea was to take this file as a template and insert my on-the-fly parameters and run&nbsp;nivz like this</div>
<div>&nbsp;</div>
<blockquote dir="ltr" style="MARGIN-RIGHT: 0px">
<div>nviz elevation=DEM state=statefile </div></blockquote>
<div>&nbsp;</div>
<div>to get the image I want. But as the first thing is that Grass does not like the file it has saved, and throws out lots of error messages, like this</div>
<div>&nbsp;</div>
<blockquote dir="ltr" style="MARGIN-RIGHT: 0px">
<div>Diagnostic: invalid command name &quot;Nviz_# 4.01_load&quot; --&nbsp; Load procedure for panel # 4.01 may not be defined<br>Diagnostic: invalid command name &quot;Nviz_PGM_ID: Nvision-ALPHA!_load&quot; --&nbsp; Load procedure for panel PGM_ID: Nvision-ALPHA! may not be defined
<br>Diagnostic: invalid command name &quot;Nviz_north: 22.200000_load&quot; --&nbsp; Load procedure for panel north: 22.200000 may not be defined<br>Diagnostic: invalid command name &quot;Nviz_south: 22.100000_load&quot; --&nbsp; Load procedure for panel south: 
22.100000 may not be defined<br>Diagnostic: invalid command name &quot;Nviz_east: 105.100000_load&quot; --&nbsp; Load procedure for panel east: 105.100000 may not be defined<br>Diagnostic: invalid command name &quot;Nviz_west: 
105.000000_load&quot; --&nbsp; Load procedure for panel west: 105.000000 may not be defined<br>Diagnostic: invalid command name &quot;Nviz_rows: 120_load&quot; --&nbsp; Load procedure for panel rows: 120 may not be defined<br>... (more one for every line)
</div></blockquote>
<div>So NVIZ does not really understand its own file format, yet loading&nbsp;the file&nbsp;from the GUI does not throw out all these error messages, but does not exactly recreate my view either. </div>
<div>&nbsp;</div>
<div>Plus: is there a way to make nviz save the view from as an image from the command line? The tiff file I can output via the GUI would be good enough with some post-processing with one of the many image programs...</div>

<div>&nbsp;</div>
<div>I have just tested this on XP, with Grass version grass-6.1.cvs-i686-pc-cygwin-13_02_2006, so if anybody thinks this is a version or platform issue, give me a shout.</div>
<div>&nbsp;</div>
<div>Ludwig</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div><span class="gmail_quote">On 7/2/06, <b class="gmail_sendername">Paul Kelly</b> &lt;<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:paul-grass@stjohnspoint.co.uk" target="_blank">paul-grass@stjohnspoint.co.uk
</a>&gt; wrote:</span> 
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hello Ludwig<br><br>On Sun, 2 Jul 2006, Ludwig Max Brinckmann wrote:<br><br>&gt; Just had a quick look through the old manual pages, so I guess it might do 
<br>&gt; the trick.<br>&gt; Does anybody have an idea how much porting effort is involved? What is the<br>&gt; reason it is not maintained?<br><br>As far I remember the two different versions (cmd and inter - command-line 
<br>and interactive) had slightly different functionality but the code was all<br>mixed up together (i.e. not in separate cmd and inter directories as in other<br>pre-GRASS 6 modules) and some was shared and some separate. It would be a 
<br>lot of work to merge it all cleanly into one definitive set of functionality.<br>Might not be quite as much work work to get *most* of the functionality ported.<br><br>Bob Covill has added support to NVIZ for setting an explicit viewer 
<br>location and centre of view, and for saving this as a 3d.view file in the<br>GRASS database - I think this works now but I have never tested it.<br>Before this was added, and if you didn't have access to a Silicon Graphics 
<br>machine to run SG3d on, d.3d was the only choice if you wanted fine<br>control (by typing in co-ordinates and angles etc; not using the mouse)<br>over the 3-D view parameters.<br><br>FWIW SG3d was quite amazing and years ahead of its time; still has some 
<br>features that (as far as I'm aware) aren't in NVIZ such as projecting a<br>global Lat-long location onto a sphere.<br><br>Paul<br></blockquote></div><br><br clear="all">