[GRASS-dev] [GRASS GIS] #3600: m.nviz.image doesn't produce any output
Michael Barton
Michael.Barton at asu.edu
Fri Jul 20 10:20:53 PDT 2018
I don’t know how to add that to the C code but I can compile and test it.
Michael
______________________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Head, Graduate Faculty in Complex Adaptive Systems Science
Arizona State University
Tempe, AZ 85287-2402
USA
voice: 480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
fax: 480-965-7671(SHESC), 480-727-0709 (CSDC)
www: http://csdc.asu.edu, http://shesc.asu.edu
http://www.public.asu.edu/~cmbarton
From: Huidae Cho <grass4u at gmail.com>
Date: Friday, July 20, 2018 at 10:19 AM
To: Michael Barton <Michael.Barton at asu.edu>
Cc: Vaclav Petras <wenzeslaus at gmail.com>, GRASS developers list <grass-dev at lists.osgeo.org>
Subject: Re: [GRASS-dev] [GRASS GIS] #3600: m.nviz.image doesn't produce any output
Maybe, we can try the same thing I did for Windows. Create and hide a real window and draw to it?
--
Huidae Cho, Ph.D., P.E. (MD), M.ASCE, CFM, GISP
Sent from my phone
On Fri, Jul 20, 2018, 1:15 PM Huidae Cho <grass4u at gmail.com<mailto:grass4u at gmail.com>> wrote:
Michael, one thing weird is with no changes to the Mac code, it worked on my 10.12 Sierra VM yesterday. Maybe, VM vs. real hardware?
Regards,
Huidae
--
Huidae Cho, Ph.D., P.E. (MD), M.ASCE, CFM, GISP
Sent from my phone
On Fri, Jul 20, 2018, 1:07 PM Michael Barton <Michael.Barton at asu.edu<mailto:Michael.Barton at asu.edu>> wrote:
Unfortunately it didn’t seem to fix the Mac, since r72998 produces a black image.
Michael
______________________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Head, Graduate Faculty in Complex Adaptive Systems Science
Arizona State University
Tempe, AZ 85287-2402
USA
voice: 480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
fax: 480-965-7671(SHESC), 480-727-0709 (CSDC)
www: http://csdc.asu.edu<https://urldefense.proofpoint.com/v2/url?u=http-3A__csdc.asu.edu&d=DwMFaQ&c=l45AxH-kUV29SRQusp9vYR0n1GycN4_2jInuKy6zbqQ&r=lk-7X7CEOMDN8GaGVhiDsuO6gEp1wbG6nfT1XEEEtR0&m=9jrOUSQPWDI3rddWtf-ZUqVs8h0XU-FF_cmwVXZ4lT8&s=RkelB7kmXOhQ_uJ1rZrKmEaysHTvavTWoxuKzQDevbk&e=>, http://shesc.asu.edu<https://urldefense.proofpoint.com/v2/url?u=http-3A__shesc.asu.edu&d=DwMFaQ&c=l45AxH-kUV29SRQusp9vYR0n1GycN4_2jInuKy6zbqQ&r=lk-7X7CEOMDN8GaGVhiDsuO6gEp1wbG6nfT1XEEEtR0&m=9jrOUSQPWDI3rddWtf-ZUqVs8h0XU-FF_cmwVXZ4lT8&s=SAh2Xcebae_Q7oCRvs7h4cHs9NQgSrn-xO0tD7GkOFI&e=>
http://www.public.asu.edu/~cmbarton<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.public.asu.edu_-7Ecmbarton&d=DwMFaQ&c=l45AxH-kUV29SRQusp9vYR0n1GycN4_2jInuKy6zbqQ&r=lk-7X7CEOMDN8GaGVhiDsuO6gEp1wbG6nfT1XEEEtR0&m=9jrOUSQPWDI3rddWtf-ZUqVs8h0XU-FF_cmwVXZ4lT8&s=ZDRO1xxVAFhApE-3LKP79XgBeRa3zlO0-1nEJ-a-KXU&e=>
From: Huidae Cho <grass4u at gmail.com<mailto:grass4u at gmail.com>>
Date: Thursday, July 19, 2018 at 8:17 PM
To: Vaclav Petras <wenzeslaus at gmail.com<mailto:wenzeslaus at gmail.com>>
Cc: Michael Barton <Michael.Barton at asu.edu<mailto:Michael.Barton at asu.edu>>, GRASS developers list <grass-dev at lists.osgeo.org<mailto:grass-dev at lists.osgeo.org>>
Subject: Re: [GRASS-dev] [GRASS GIS] #3600: m.nviz.image doesn't produce any output
On Thu, Jul 19, 2018 at 10:12 PM, Vaclav Petras <wenzeslaus at gmail.com<mailto:wenzeslaus at gmail.com>> wrote:
On Thu, Jul 12, 2018 at 5:48 PM, Michael Barton <Michael.Barton at asu.edu<mailto:Michael.Barton at asu.edu>> wrote:
Here is a question to the memory of the dev group. Does anyone know if m.nviz.image has *ever* worked for Mac or Windows?
If it has, any idea when it last worked? We could do a diff of the last working code and the current code to see what has changed.
Just for the record: m.nviz.image (most probably) never worked on Windows. On Mac (and Linux) it worked, but since certain version of operating system(s) and/or hardware it stopped working. It was reported to work even now (before the fixes) on an old (not updated) Mac. (In other words, the code was not broken on the way, but still needed/needs to be fixed.)
r72997 fixed m.nviz.image on Windows 10 64-bit. The off-screen bitmap buffer never seemed to work, so I changed it to an invisible window DC, which also supports hardware acceleration unlike a memory DC.
If not, it may take considerable effort to make this work.
Trying to figure out an efficient way forward
For the future readers of this:
https://trac.osgeo.org/grass/ticket/2114<https://urldefense.proofpoint.com/v2/url?u=https-3A__trac.osgeo.org_grass_ticket_2114&d=DwMFaQ&c=l45AxH-kUV29SRQusp9vYR0n1GycN4_2jInuKy6zbqQ&r=lk-7X7CEOMDN8GaGVhiDsuO6gEp1wbG6nfT1XEEEtR0&m=ZnnPXW0twcYUOWXFNZdYsRvSZXOMp_rO1CfFCOFSRK4&s=nRsNivIboXPGHTrDGF31STph8_zOnKGRzOouxFfoUYc&e=>
https://trac.osgeo.org/grass/ticket/2998<https://urldefense.proofpoint.com/v2/url?u=https-3A__trac.osgeo.org_grass_ticket_2998&d=DwMFaQ&c=l45AxH-kUV29SRQusp9vYR0n1GycN4_2jInuKy6zbqQ&r=lk-7X7CEOMDN8GaGVhiDsuO6gEp1wbG6nfT1XEEEtR0&m=ZnnPXW0twcYUOWXFNZdYsRvSZXOMp_rO1CfFCOFSRK4&s=Zxy30tbTNgdvkXostj6_moCEYJBbkpjvTDYJgwdXiXw&e=>
https://trac.osgeo.org/grass/ticket/3600<https://urldefense.proofpoint.com/v2/url?u=https-3A__trac.osgeo.org_grass_ticket_3600&d=DwMFaQ&c=l45AxH-kUV29SRQusp9vYR0n1GycN4_2jInuKy6zbqQ&r=lk-7X7CEOMDN8GaGVhiDsuO6gEp1wbG6nfT1XEEEtR0&m=ZnnPXW0twcYUOWXFNZdYsRvSZXOMp_rO1CfFCOFSRK4&s=kEGItiiIu8ARkFXv6eg23Nt22iJbidrCAYXfUlZ4qto&e=>
https://trac.osgeo.org/grass/ticket/3606<https://urldefense.proofpoint.com/v2/url?u=https-3A__trac.osgeo.org_grass_ticket_3606&d=DwMFaQ&c=l45AxH-kUV29SRQusp9vYR0n1GycN4_2jInuKy6zbqQ&r=lk-7X7CEOMDN8GaGVhiDsuO6gEp1wbG6nfT1XEEEtR0&m=ZnnPXW0twcYUOWXFNZdYsRvSZXOMp_rO1CfFCOFSRK4&s=OK6s9jG8OjEMu2ScCHln3ANPQqY4SyUI_AwD05UgJ4w&e=>
https://trac.osgeo.org/grass/changeset/72939<https://urldefense.proofpoint.com/v2/url?u=https-3A__trac.osgeo.org_grass_changeset_72939&d=DwMFaQ&c=l45AxH-kUV29SRQusp9vYR0n1GycN4_2jInuKy6zbqQ&r=lk-7X7CEOMDN8GaGVhiDsuO6gEp1wbG6nfT1XEEEtR0&m=ZnnPXW0twcYUOWXFNZdYsRvSZXOMp_rO1CfFCOFSRK4&s=lUB4AnO2XyQLENDhcAA3xQoghGoc7LMH8NdiCrZOCI0&e=>
https://trac.osgeo.org/grass/changeset/72948<https://urldefense.proofpoint.com/v2/url?u=https-3A__trac.osgeo.org_grass_changeset_72948&d=DwMFaQ&c=l45AxH-kUV29SRQusp9vYR0n1GycN4_2jInuKy6zbqQ&r=lk-7X7CEOMDN8GaGVhiDsuO6gEp1wbG6nfT1XEEEtR0&m=ZnnPXW0twcYUOWXFNZdYsRvSZXOMp_rO1CfFCOFSRK4&s=C9YbVWu_5cyRn93BAD3u3WoyGpTdcGGoL95wfQllRQ0&e=>
https://trac.osgeo.org/grass/changeset/72970<https://urldefense.proofpoint.com/v2/url?u=https-3A__trac.osgeo.org_grass_changeset_72970&d=DwMFaQ&c=l45AxH-kUV29SRQusp9vYR0n1GycN4_2jInuKy6zbqQ&r=lk-7X7CEOMDN8GaGVhiDsuO6gEp1wbG6nfT1XEEEtR0&m=ZnnPXW0twcYUOWXFNZdYsRvSZXOMp_rO1CfFCOFSRK4&s=bo1yizz0k-JHfQDJ8NfUNtnomYKbbc1Me57MXylWjrg&e=>
https://trac.osgeo.org/grass/changeset/72972<https://urldefense.proofpoint.com/v2/url?u=https-3A__trac.osgeo.org_grass_changeset_72972&d=DwMFaQ&c=l45AxH-kUV29SRQusp9vYR0n1GycN4_2jInuKy6zbqQ&r=lk-7X7CEOMDN8GaGVhiDsuO6gEp1wbG6nfT1XEEEtR0&m=ZnnPXW0twcYUOWXFNZdYsRvSZXOMp_rO1CfFCOFSRK4&s=xN7aTGB9MAxAu-fivJHg73TQ8CJzdxIK610vb0YLCtg&e=>
https://trac.osgeo.org/grass/changeset/72974<https://urldefense.proofpoint.com/v2/url?u=https-3A__trac.osgeo.org_grass_changeset_72974&d=DwMFaQ&c=l45AxH-kUV29SRQusp9vYR0n1GycN4_2jInuKy6zbqQ&r=lk-7X7CEOMDN8GaGVhiDsuO6gEp1wbG6nfT1XEEEtR0&m=ZnnPXW0twcYUOWXFNZdYsRvSZXOMp_rO1CfFCOFSRK4&s=EWIPJQXmiRi9Iig0GY-uil4wGIk_dPI-yV4LQyC3f8w&e=>
https://trac.osgeo.org/grass/changeset/72980<https://urldefense.proofpoint.com/v2/url?u=https-3A__trac.osgeo.org_grass_changeset_72980&d=DwMFaQ&c=l45AxH-kUV29SRQusp9vYR0n1GycN4_2jInuKy6zbqQ&r=lk-7X7CEOMDN8GaGVhiDsuO6gEp1wbG6nfT1XEEEtR0&m=ZnnPXW0twcYUOWXFNZdYsRvSZXOMp_rO1CfFCOFSRK4&s=K9xlWATOkHogtD7DntVqCGyS413nCNLy1da8U0dkCNo&e=>
https://trac.osgeo.org/grass/changeset/72986<https://urldefense.proofpoint.com/v2/url?u=https-3A__trac.osgeo.org_grass_changeset_72986&d=DwMFaQ&c=l45AxH-kUV29SRQusp9vYR0n1GycN4_2jInuKy6zbqQ&r=lk-7X7CEOMDN8GaGVhiDsuO6gEp1wbG6nfT1XEEEtR0&m=ZnnPXW0twcYUOWXFNZdYsRvSZXOMp_rO1CfFCOFSRK4&s=jjqP-rb7lgVfKcukbp4DjubmJaG2-r2eNB5sz0cQebE&e=>
https://trac.osgeo.org/grass/changeset/72987<https://urldefense.proofpoint.com/v2/url?u=https-3A__trac.osgeo.org_grass_changeset_72987&d=DwMFaQ&c=l45AxH-kUV29SRQusp9vYR0n1GycN4_2jInuKy6zbqQ&r=lk-7X7CEOMDN8GaGVhiDsuO6gEp1wbG6nfT1XEEEtR0&m=ZnnPXW0twcYUOWXFNZdYsRvSZXOMp_rO1CfFCOFSRK4&s=IKz3nyWH9shL8O2JhJKyK_u1VllE79R-Ii1cxXvv2pk&e=>
https://trac.osgeo.org/grass/changeset/72990<https://urldefense.proofpoint.com/v2/url?u=https-3A__trac.osgeo.org_grass_changeset_72990&d=DwMFaQ&c=l45AxH-kUV29SRQusp9vYR0n1GycN4_2jInuKy6zbqQ&r=lk-7X7CEOMDN8GaGVhiDsuO6gEp1wbG6nfT1XEEEtR0&m=ZnnPXW0twcYUOWXFNZdYsRvSZXOMp_rO1CfFCOFSRK4&s=mj3VcTktzgNrSyJKzW9nBia5lWc6oZPt_-nz9wq_l6w&e=>
https://trac.osgeo.org/grass/changeset/72997<https://urldefense.proofpoint.com/v2/url?u=https-3A__trac.osgeo.org_grass_changeset_72997&d=DwMFaQ&c=l45AxH-kUV29SRQusp9vYR0n1GycN4_2jInuKy6zbqQ&r=lk-7X7CEOMDN8GaGVhiDsuO6gEp1wbG6nfT1XEEEtR0&m=ZnnPXW0twcYUOWXFNZdYsRvSZXOMp_rO1CfFCOFSRK4&s=Ztjvulp02CZTRUKl_qe7nGZwDTsZiSPNhQmC6ZUwlZ4&e=>
_______________________________________________
grass-dev mailing list
grass-dev at lists.osgeo.org<mailto:grass-dev at lists.osgeo.org>
https://lists.osgeo.org/mailman/listinfo/grass-dev<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.osgeo.org_mailman_listinfo_grass-2Ddev&d=DwMFaQ&c=l45AxH-kUV29SRQusp9vYR0n1GycN4_2jInuKy6zbqQ&r=lk-7X7CEOMDN8GaGVhiDsuO6gEp1wbG6nfT1XEEEtR0&m=ZnnPXW0twcYUOWXFNZdYsRvSZXOMp_rO1CfFCOFSRK4&s=5uvySsG2KqnB2wtK-o7AqOJxv6on7Wr2JfZvogt5X2M&e=>
--
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/20180720/4f02b3a7/attachment-0001.html>
More information about the grass-dev
mailing list