POV-Ray : Newsgroups : povray.advanced-users : Segmentation fault (core dumped) with function {pigment{image_map{}}} : Segmentation fault (core dumped) with function {pigment{image_map{}}} Server Time
23 Apr 2024 05:38:00 EDT (-0400)
  Segmentation fault (core dumped) with function {pigment{image_map{}}}  
From: Bald Eagle
Date: 11 Jul 2020 18:20:00
Message: <web.5f0a39f9cf006aefb0b41570@news.povray.org>
I was working on creating a displacement map for a globe, using a function to
vary the radius of a spherical isosurface.

I got bogged down in a bit of math to convert x,y,z into a latitude/longitude
map in the 0-1 range, but then when I thought I had that fixed, I started
getting:

oem@oem-Inspiron-N5110 ~/Desktop $ qtpovray
Segmentation fault (core dumped)
oem@oem-Inspiron-N5110 ~/Desktop $ qtpovray
[17:15:58.834] WARN QTextCursor::setPosition: Position '3012' out of range
((null):0)
Segmentation fault (core dumped)
oem@oem-Inspiron-N5110 ~/Desktop $ qtpovray
[17:18:28.307] WARN QTextCursor::setPosition: Position '3012' out of range
((null):0)
Segmentation fault (core dumped)
oem@oem-Inspiron-N5110 ~/Desktop $ qtpovray
[17:27:29.126] WARN QTextCursor::setPosition: Position '3012' out of range
((null):0)


I posted the code in the text files section:

http://news.povray.org/povray.text.scene-files/message/%3Cweb.5f0a367094a0d6d2fb0b41570%40news.povray.org%3E/#%3Cweb.5f
0a367094a0d6d2fb0b41570%40news.povray.org%3E

You can likely use any image map you have lying around.
I used:
https://holtz.org/Library/Images/Natural%20Science/Astronomy/Earth/Maps/NOAA%20Globe%20topo%20shaded.gif

Perhaps someone can play with it a bit and see what triggers the core dump, and
maybe also come up with some better equations for converting cartesian to lat /
long and then to 0-1


Post a reply to this message

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