[GRASSLIST:4115] Re: nviz and polygons
Markus Neteler
neteler at itc.it
Mon Jul 22 08:45:56 EDT 2002
(cc grass5)
On Sat, Jul 20, 2002 at 10:18:34PM +0200, Johannes Bühler wrote:
> thats probably the best idea. but not very elegant. so that is way i was
> looking for a more smartly way to solve this problem.
> thanks.
In general there should be a function in OpenGL to draw filled
polygons which needs to be implemented in NVIZ.
Does anyone know details how to fill vector polygons with OpenGL?
Markus
>
> On Sat, 20 Jul 2002 19:46:45 +0100 (BST)
> Paul Kelly <paul-grass at stjohnspoint.co.uk> wrote:
>
> > I think you could convert the vector layer containing the labelled
> > polygons to a raster, using v.to.rast, and display that. You might have to
> > use r.colors or something to make sure the lakes come out blue or whatever
> > colour you need. The rest of the raster layer would be null so it would be
> > transparent in NVIZ I think (haven't tried this)
> >
> > On Sat, 20 Jul 2002, Johannes Bühler wrote:
> >
> > > hi,
> > > does anyone know if it is possible to show filled polygons (lakes) in nviz.
> > >
> > > thanks
> > > Johannes Buehler
> > >
> > > --
> > > -- Johannes Buehler
> > > __O Feldtstr. 45
> > > =`\<, 14789 Greifswald
> > > (=)/(=) johannesbuehler at oderbruecke.de
> > > -----------
More information about the grass-user
mailing list