[GRASSLIST:9052] Re: 3D blocks again

Ing.Peter Misovic peter.misovic at gmail.com
Mon Nov 14 08:00:13 EST 2005


Jachym,
thank you for your reply. I'm currently at work but by 19-20 o'clock I
will be able to try this.


Peter

On 11/14/05, Jachym Cepicky <jachym.cepicky at centrum.cz> wrote:
> hi,
>
> trees were made by script, written by my own. in general: it takes
> vector points and creates ascii file with 3D-polygons, which is later
> imported to grass
>
> there is someone in german mailing list solving some problem, like you:
> he wants to visualise houses.
>
> is this:
>
> echo "F  5 1
>  0 0 0
>  5 0 0
>  5 0 5
>  0 0 5
>  0 0 0
> 1 1 # 1
> F  5 1
>  5 0 0
>  5 5 0
>  5 5 5
>  5 0 5
>  5 0 0
> 1 1 # 2
> F 5 1
>  0 0 0
>  0 0 5
>  0 5 5
>  0 5 0
>  0 0 0
> 1 1 # 3
> F 5 1
>  0 5 0
>  0 5 5
>  5 5 5
>  5 5 0
>  0 5 0
> 1 1 # 4"| v.in.ascii -zn out=cube format=standard
> g.region vec=cube
> r.mapcalc elev=0
> d.vect cube
> nviz vect=cube elev=elev
>
> example, which would help you?
>
> jachym
>
>
> On Mon, Nov 14, 2005 at 10:41:57AM +0100, Ing.Peter Misovic wrote:
> > Hi Jachym,
> > this is actually not what I meant but really thank you for your time
> > and effort. In regard of yor picture, how did you create 3D trees ?
> > Maybe If I would be able to create block instead of tree it could be
> > the righ way.
> >
> >
> > Thank you,
> > Peter
> >
> >
> >
> > On 11/13/05, Jachym Cepicky <jachym.cepicky at centrum.cz> wrote:
> > > hi,
> > >
> > > I did not follow your discusion, but is this:
> > >
> > >     http://les-ejk.cz/img/grass_debian2.png
> > >
> > > not what something you are trying to do? (should by trees on dem)
> > >
> > > if so, tell me, I'll try to explane how to do this
> > >
> > > Jachym
> > >
> > >
> > > this is simple grass
> > > On Sat, Nov 12, 2005 at 09:37:58PM +0100, Ing.Peter Misovic wrote:
> > > > Dear all,
> > > > we're back after 2 weeks of everyday effort with displaying primitive
> > > > 3D geometry - cube. We tried to use many solutions (ASCII, POSTGIS,
> > > > POSTGRES, GML ...) but with no effect. As I (and my friend Peter)
> > > > already wrote, our only need is to display cubes. Anyhow. Our last try
> > > > was with GML files. But independently of input formats the result is :
> > > > we are not able to display vertical multipolygons or areas. Only
> > > > horizontal objects (multipolygons and area) or line model with no
> > > > fills. Please, this is probably our last ask for help : How would be
> > > > able to do that ?
> > > >
> > > >
> > > > Thank you all,
> > > >
> > > > Peter Misovic
> > > > Peter Sasvari
> > > >
> > >
> > > --
> > > Jachym Cepicky
> > > e-mail: jachym.cepicky at centrum.cz
> > > URL: http://les-ejk.cz
> > > GPG: http://les-ejk.cz/gnupg_public_key/
> > > -----------------------------------------
> > > OFFICE:
> > > Department of Geoinformation Technologies
> > > LDF MZLU v Brně
> > > Zemědělská 3
> > > 613 00 Brno
> > > e-mail: xcepicky at node.mendelu.cz
> > > URL:    http://mapserver.mendelu.cz
> > > Tel.:   +420 545 134 514
> > >
>
> --
> Jachym Cepicky
> e-mail: jachym.cepicky at centrum.cz
> URL: http://les-ejk.cz
> GPG: http://les-ejk.cz/gnupg_public_key/
> -----------------------------------------
> OFFICE:
> Department of Geoinformation Technologies
> LDF MZLU v Brně
> Zemědělská 3
> 613 00 Brno
> e-mail: xcepicky at node.mendelu.cz
> URL:    http://mapserver.mendelu.cz
> Tel.:   +420 545 134 514
>




More information about the grass-user mailing list