[Therion] Calibrating surface map

Xavier Robert xavier.robert at univ-grenoble-alpes.fr
Tue Feb 20 18:00:21 CET 2024


Hi all,

I have a similar behavior, for some of my huge lox files, the map texture does not show on the DEM when loaded. But if I push the Ω-button « entrances », the overlay loads. They open OK with Caveview.

If it is needed to find the bug, I am running Therion and Loch on a MacOS 12.6.9, and I have installed Therion and Loch from sources:
$ therion  --version
therion 6.1.7+dev (compiled on 2023-06-02)
  - using Proj 9.3.1, compiled against 9.2.1
Loch version 6.1.7 (compiled on 2023-06-02)

Cheers

Xavier



> Le 14 janv. 2024 à 00:57, Andrey via Therion <therion at speleo.sk> a écrit :
> 
> Hello Jonny,
>  
> Thanks for the hint! 
>  
> I’ve tried to open few old models which were surely working and half of them did not show any map texture.
>  
> Trying to open the same models on other computer proved that they all work fine.
> There must be something wrong with graphics on my laptop.  Will try updating drivers etc.
>  
> Cheers,
> Andrey
>  
> Суббота, 13 января 2024, 18:36 UTC от Jonny Prouty <jonathanprouty at gmail.com>:
>  
> Hello Andrey,
>  
> Are you able to see _any_ bitmap overlays in other loch models? I had an issue long ago where an issue with my video card caused textures to load incorrectly or not at all. 
>  
> Also, in the scene settings options in loch, do you have it set to actually show the bitmap overlay?
>  
> Cheers,
> Jonny
>  
> On Fri, Jan 12, 2024, 5:22PM Andrey via Therion <therion at speleo.sk <x-msg://e.mail.ru/compose/?mailto=mailto%3atherion@speleo.sk>> wrote:
> Dear Therion users,
>  
> I am struggling to make a 3D model with terrain overlaid by a raster map.
>  
> Everything is done according to the Thbook however  Loch is only showing me a semi-transparent grid without any map overlay.   
>  
> Here is what I put into my Surface.th file:
>  
> surface
> cs epsg:32637 #UTM zone 37N Datum WGS84
>  
> bitmap Khipsta_DEM_utm.jpg [0 0 634154.048728 4787812.294106 13345 10428 642161.048728 4794069.094106] # 0 0 - SW corner
>  
> grid-units meter
> grid 634148.414 4787799.503 10 10 803 628  # x lower leftt, y lower left SW
> 1088.598 1088.548 1088.4978 1088.4384 1088.3688 1089.3929 1090.4301 1091.0236 1089.8979 1088.7723 1087.3954 1085.6592 1083.9077 1080.9875 1077.3958 1073.8142 1065.2386 1055.7455 1046.4127 1039.4907 1032.5994 1025.662 1018.52 1011.3781 1004.0082 996.3887 988.7744 982.0675 975.7867 969…….
> --------------------------------------------------------------------------------------------------------------------------------------------------------------
>  
> The corner point coords for the image:
>   File "Khipsta_DEM_utm.jpg"
>   Type "RASTER"
>   (634154.048728, 4794069.094106) (0, 0) Label "NW",
>   (634154.048728, 4787812.294106) (0, 10428) Label "SW",
>   (642161.048728, 4794069.094106) (13345, 0) Label "NE",
>   (642161.048728, 4787812.294106) (13345, 10428) Label "SE"
>   CoordSys Earth Projection 8, 104, "m", 39, 0, 0.9996, 500000, 0
>   Units "m"
>  
> If I comment ‘bitmap’ line the .lox file will be a lot smaller and vice versa if uncommented so I assume that overlay is being written into .lox
>  
> Could this be due to the .jpg file size which is 10.5Mb?  
>  
> I was able to make 3D models with terrain overlay in the past but image size was under 10Mb.
>  
> Many thanks,
> Andrey
>  
>  
>  
>  
>  
> --
> Kind regards,
> Andrey
>  
> _______________________________________________
> Therion mailing list
> Therion at speleo.sk <x-msg://e.mail.ru/compose/?mailto=mailto%3aTherion@speleo.sk>
> https://mailman.speleo.sk/listinfo/therion <https://mailman.speleo.sk/listinfo/therion> 
>  
> --
> Kind regards,
> Andrey
>  
> _______________________________________________
> Therion mailing list
> Therion at speleo.sk <mailto:Therion at speleo.sk>
> https://mailman.speleo.sk/listinfo/therion <https://mailman.speleo.sk/listinfo/therion>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20240220/2410eb9a/attachment.htm>


More information about the Therion mailing list