[GRASS-user] Control of camera position in NVIZ

Anna Kratochvílová kratochanna at gmail.com
Wed Feb 29 02:47:30 EST 2012


Hi,

On Wed, Feb 29, 2012 at 8:07 AM, Maris Nartiss <maris.gis at gmail.com> wrote:
> Hello,
> it's possible to control NVIZ from a script. You can export Your road
> via v.out.ascii and use the road vertices to set camera position and
> the next vertice to set a point where camera points to.
>
> I have been playing around with it some time a go. There might be a
> better way now thanks to recent developments in NVIZ scripting
> capabilities, still I'm attaching an old TCL script file that I was

I suggest you to look at m.nviz.image module [1] and its parameters -
position, height, perspective, focus.
You can also try integrated 3D view in GRASS 6.5 and 7 [2][3], there
is a limited way of creating animation. It is able to generate command
for m.nviz.image too.

Anna

[1] http://grass.osgeo.org/grass70/manuals/html70_user/m.nviz.image.html
[2] http://grass.osgeo.org/wiki/WxNviz
[3] http://grass.osgeo.org/grass65/manuals/html65_user/wxGUI.Nviz.html


More information about the grass-user mailing list