[GRASS-dev] [GRASS GIS] #3600: m.nviz.image doesn't produce any output

Huidae Cho grass4u at gmail.com
Sat Jul 21 22:46:07 PDT 2018


Test run for the NC sample dataset.

g.region rast=elevation
m.nviz.image elevmap=elevation output=elev format=tif persp=10 --o


On Sun, Jul 22, 2018 at 1:43 AM, Huidae Cho <grass4u at gmail.com> wrote:

> For anyone who wants to try this patch on macOS.
>
> ---------- Forwarded message ----------
> From: Huidae Cho <grass4u at gmail.com>
> Date: Sun, Jul 22, 2018 at 1:41 AM
> Subject: Re: [GRASS-dev] [GRASS GIS] #3600: m.nviz.image doesn't produce
> any output
> To: Michael Barton <Michael.Barton at asu.edu>
>
>
> Michael,
>
> Please try this patch.
>
> cd grass_trunk
> for i in ~/*.diff; do
>   patch -p0 < $i
> done
> cp include/nviz.h dist.x86_64-apple-darwin17.0.0/include/grass/nviz.h
> echo "#define OPENGL_FBO 1" > dist.x86_64-apple-darwin17.0.0/include/grass/config.h
> # case 4 below
> (cd lib/nviz; make)
> (cd lib/ogsf; make)
>
> I tried AGL and CGL with/without framebuffer objects (FBO). AGL works with
> and without FBO, but CGL only works with FBO, again, on my VM. We know AGL
> without FBO doesn't work on your mac.
>
> 1. AGL, no FBO: OPENGL_AGL, no OPENGL_FBO in config.h works for me, but
> not for you.
> 2. AGL, FBO: OPENGL_AGL, OPENGL_FBO in config.h works for me.
> 3. CGL, no FBO: no OPENGL_AGL, no OPENGL_FBO in config.h doesn't work for
> me.
> 4. CGL, FBO: OPENGL_FBO, no OPENGL_AGL in config.h works for me.
>
> If you don't mind, please try cases 2-4.
>
> Best,
> Huidae
> --
> Huidae Cho, Ph.D., PE, M.ASCE, CFM, GISP
> Senior Geospatial Engineer, MapAnything
> Open Source GIS Developer, GRASS GIS Development Team
>



-- 
Huidae Cho, Ph.D., PE, M.ASCE, CFM, GISP
Senior Geospatial Engineer, MapAnything
Open Source GIS Developer, GRASS GIS Development Team
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20180722/fa6ec611/attachment.html>


More information about the grass-dev mailing list