POV-Ray : Newsgroups : povray.binaries.utilities : DEM2POV v1.4 Server Time
27 Dec 2024 04:13:51 EST (-0500)
  DEM2POV v1.4 (Message 1 to 10 of 30)  
Goto Latest 10 Messages Next 10 Messages >>>
From: Melody
Subject: DEM2POV v1.4
Date: 2 Dec 2019 05:10:02
Message: <web.5de4e17e391124cf9da690110@news.povray.org>
so if you're going to do DEM, cant be stuck in user mode, one at a time.

Code::Blocks project
Command line parameters version and the sorter batch maker script for mirc.
includes Grand Canyon Elevation at spatial res 3 3 1, not 30.
 Example render script

not windows? make your own in C. DIY


Post a reply to this message


Attachments:
Download 'dem2pov14.zip' (2854 KB)

From: Thomas de Groot
Subject: Re: DEM2POV v1.4
Date: 2 Dec 2019 06:51:59
Message: <5de4fadf$1@news.povray.org>
Op 02/12/2019 om 11:07 schreef Melody:
> so if you're going to do DEM, cant be stuck in user mode, one at a time.
> 
> Code::Blocks project
> Command line parameters version and the sorter batch maker script for mirc.
> includes Grand Canyon Elevation at spatial res 3 3 1, not 30.
>   Example render script
> 
> not windows? make your own in C. DIY
> 
> 

thanks for this. I used DEM files (from the usgs) mor than 15 years ago 
iirc. I would need to dig deep for my work, or for what is left of it. 
In time (not soon unfortunately) I shall come back to this.

-- 
Thomas


Post a reply to this message

From: Melody
Subject: Re: DEM2POV v1.4
Date: 2 Dec 2019 07:05:00
Message: <web.5de4fdcd5aa06a409da690110@news.povray.org>
Thomas de Groot <tho### [at] degrootorg> wrote:
> Op 02/12/2019 om 11:07 schreef Melody:
> > so if you're going to do DEM, cant be stuck in user mode, one at a time.
> >
> > Code::Blocks project
> > Command line parameters version and the sorter batch maker script for mirc.
> > includes Grand Canyon Elevation at spatial res 3 3 1, not 30.
> >   Example render script
> >
> > not windows? make your own in C. DIY
> >
> >
>
> thanks for this. I used DEM files (from the usgs) mor than 15 years ago
> iirc. I would need to dig deep for my work, or for what is left of it.
> In time (not soon unfortunately) I shall come back to this.
>
> --
> Thomas
youre welcome,
found my mistake,

to batch files, seems a good idea to use default bias,
(you cant see min_elev and enter it, as in user mode)

just remove :
  if (hfType == 1) hfBias = atof(argv[5]);
  else

then you always set default bias with only 4 parameters.
doh. my bad. or let me know if you want the upgrade exe.


Post a reply to this message

From: Melody
Subject: Re: DEM2POV v1.4
Date: 2 Dec 2019 07:45:00
Message: <web.5de506615aa06a409da690110@news.povray.org>
i got time

if normalizing or not, 4 parameters is default bias
hfBias = -elevBounds[0];


Post a reply to this message


Attachments:
Download 'dem2pov14a.zip' (29 KB)

From: Melody
Subject: Re: DEM2POV v1.4
Date: 2 Dec 2019 17:50:00
Message: <web.5de5942f5aa06a409da690110@news.povray.org>
Thomas de Groot <tho### [at] degrootorg> wrote:
> thanks for this. I used DEM files (from the usgs) mor than 15 years ago
> iirc. I would need to dig deep for my work, or for what is left of it.
> In time (not soon unfortunately) I shall come back to this.
>
> --
> Thomas

hope to find better resolution.
that one site was the only *available data I could find.
..gov is not working for the people, obviously.


Post a reply to this message

From: Melody
Subject: Re: DEM2POV v1.4
Date: 3 Dec 2019 17:15:05
Message: <web.5de6ddc45aa06a409da690110@news.povray.org>
v3 SORTER for Mirc, ungraded more friendly.
no way anyone could easily use v2.
alias goDEMs3 {
  ; 30-meter with 7z.exe 7z.dll in folder or path
  ; http://www.webgis.com/terr_pages/AZ/dem1/coconino.html
  %WorkingDir = c:\ftp\dempov\bin
  ; New instructions
  ; Set %WorkingDir - download zips -- no pasting html to dems.txt
  ; /unzipall   ... make unzip_bat.txt - open and check it. resave as .bat
  ; unzip_bat   ... same-name files exist! a(u)to rename to keep all: u
  %parameters = 0 1 1 0
  ; /dems_batch ... make rename_bat.txt - open and check it. resave as .bat
  ; rename_bat  ... rename DEM files
  ; /dems_batch ... make dem2tga_bat, with renamed DEM files, for tga files
  ; dem2tga_bat ... DEMPOV nelson.dem nelson.tga 0 1 1 0
  demHeadRead
  demsort
}


Post a reply to this message


Attachments:
Download 'script_3.zip' (4 KB)

From: Melody
Subject: Re: DEM2POV v1.4
Date: 3 Dec 2019 17:35:05
Message: <web.5de6e2335aa06a409da690110@news.povray.org>
the files at webgis say spatial res 30 30 1, seems there is better by comparison
of the two Grand Canyon files,

3 arc seconds 90 meters World-wide SRTM
1 arc second 30 meters DEM from topo, USA SRTM
1/3 arc second 10 meters DEM from topo
1/9 arc second 3.4 meters Newer DEM from LIDAR

included Grand Canyon said,
[15] spatial resolution:   3 3 1

and all that leaves speculation room for spatial speculation.


Post a reply to this message

From: Melody
Subject: Re: DEM2POV v1.4
Date: 3 Dec 2019 18:30:00
Message: <web.5de6eecd5aa06a409da690110@news.povray.org>
add one more line to the sorter, last line, FYI.
good to know.
e saved to $mircdir $+ sortpov.txt

user friendly stuff


Post a reply to this message

From: Melody
Subject: Re: DEM2POV v1.4
Date: 3 Dec 2019 18:40:00
Message: <web.5de6f1eb5aa06a409da690110@news.povray.org>
savebuf -s %WorkingDir $+ \sortpov.pov
  e saved to %WorkingDir $+ \sortpov.pov
> better
> user friendly stuff


Post a reply to this message

From: Melody
Subject: Re: DEM2POV v1.4
Date: 3 Dec 2019 19:30:00
Message: <web.5de6fcf65aa06a409da690110@news.povray.org>
webgis page says
USGS 1-Degree Native Format - United States

Resolution: ~90 m, 3 arc-sec
Coverage: Contiguous United States, Hawaii and parts of Alaska
Projection: UTM
Datum: WGS 72
Vertical Units: Meter

AND HOW exactly does it explain the file data at 30 30 1
Vs
3 3 1, not seen there, but in gce.dem, included.


Post a reply to this message

Goto Latest 10 Messages Next 10 Messages >>>

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.