POV-Ray : Newsgroups : povray.binaries.images : Spherical displacement map Server Time
24 Apr 2024 04:50:49 EDT (-0400)
  Spherical displacement map (Message 11 to 16 of 16)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Bald Eagle
Subject: Re: Spherical displacement map
Date: 21 Jul 2020 20:25:01
Message: <web.5f178739b206640bfb0b41570@news.povray.org>
Le_Forgeron <jgr### [at] freefr> wrote:
> Le 21/07/2020 à 12:58, Bald Eagle a écrit :

> > I'm also curious as to why I got I got a core dump with no clipping, and no core
> > dump with half-clipping, if the domain input was the underlying issue.

Can you test this in POV-Ray and HGpovray38 to see if you get an error?

> > And I'm not even sure that the domain was out range now that we're back into
> > this again.

> > (I mean, can y ever exceed the vector length to give a quotient exceeding
> > unity?)

I did a quick spreadsheet calculation.   Aside from some numerical/binary
representation/rounding it shouldn't.


>... there is a
> preference for the haversine formula instead of basic acos.

Nice.   That was an interesting read - thanks!

> For your computation of latitude, you can use the complemented angle and
> asin instead, then complement the result, using the sign of y as final
> update.
>
> The loss of precision near 0 is far "better" than the loss of precision
> near 1, due to representation of floating point numbers.
>
> #declare Latitude = pi/2 - asin( sqrt( x*x+z*z)/sqrt(x*x+y*y+z*z) );
> #if (y<0)
> #declare Latitude = -1 * Latitude;
> #end


I dabbled with all of that.
It was "wrong" at first - since sin is opposite over hypotenuse, and y would be
the cathetus opposite the angle, it should be y/vlength instead of sqrt(
x*x+z*z)/vlength ... yes?

Which is kinda just what I had before, only using asin with a 90-deg phase
shift.

And I got the exact same result.
Which was disappointing at first, but which I recognized held promise.

So, after coffee, shower, and kicking back for a bit (it was NOT a nap...) I
realized that if, perhaps, it wasn't the math - then it had to be what the math
was mapping.
[TdG will back me up on the merits of considering these things behind closed
eyes.]
If the image was getting mapped correctly, but there were extra pixels in the
image...   And sure enough, comparing the elevation map to a different image map
showed that there is indeed a strip of pixels where there ought be none.

Damn it.

Stupid assumptions...

"We shall not cease from exploration
And the end of all our exploring
Will be to arrive where we started
And know the place for the first time...."

Thanks for spinning me around in this circle one more time, Jerome.   :)

Now maybe I can make some actual meaningful progress...


Post a reply to this message

From: Thomas de Groot
Subject: Re: Spherical displacement map
Date: 22 Jul 2020 02:39:04
Message: <5f17df08$1@news.povray.org>
Op 22/07/2020 om 02:24 schreef Bald Eagle:
[snip]
> Now maybe I can make some actual meaningful progress...
> 

As you said, just close your eyes... ;-)

When I do, I see that hole in Antarctica you showed us, to be the lost 
harbour of lost Lemuria. They just wait (with the help of climate 
change) for the ice to disappear and conquer the world again.

-- 
Thomas


Post a reply to this message

From: Bald Eagle
Subject: Re: Spherical displacement map
Date: 22 Jul 2020 16:50:05
Message: <web.5f18a560b206640bfb0b41570@news.povray.org>
Thomas de Groot <tho### [at] degrootorg> wrote:

> As you said, just close your eyes... ;-)

.... and tap my shoes together...

> When I do, I see that hole in Antarctica you showed us, to be the lost
> harbour of lost Lemuria. They just wait (with the help of climate
> change) for the ice to disappear and conquer the world again.

Don't be ridiculous.   It's obviously the Antarctic Ice Wall that guards the
secret entrance to the interior of the Hollow Earth - where all the spaceships
fly out of.


Post a reply to this message

From: Thomas de Groot
Subject: Re: Spherical displacement map
Date: 23 Jul 2020 02:23:51
Message: <5f192cf7$1@news.povray.org>
Op 22/07/2020 om 22:45 schreef Bald Eagle:
> Thomas de Groot <tho### [at] degrootorg> wrote:
> 
>> As you said, just close your eyes... ;-)
> 
> .... and tap my shoes together...
> 
>> When I do, I see that hole in Antarctica you showed us, to be the lost
>> harbour of lost Lemuria. They just wait (with the help of climate
>> change) for the ice to disappear and conquer the world again.
> 
> Don't be ridiculous.   It's obviously the Antarctic Ice Wall that guards the
> secret entrance to the interior of the Hollow Earth - where all the spaceships
> fly out of.
> 
> 
I had understood that Lemuria guarded /that/ entrance. Probably fake 
news casually dropped by the usual suspects... :-)

-- 
Thomas


Post a reply to this message

From: Bald Eagle
Subject: Re: Spherical displacement map
Date: 23 Jul 2020 06:45:00
Message: <web.5f1969cdb206640bfb0b41570@news.povray.org>
Thomas de Groot <tho### [at] degrootorg> wrote:

> I had understood that Lemuria guarded /that/ entrance. Probably fake
> news casually dropped by the usual suspects... :-)

Aye, Skull and bones, the Masons, the Illuminati, the Knights Templar, the
Knight of Malta, the Smithsonian, the Jesuits, the City of London, the Vatican,
the Illuminati...   But we're not believing their transparent attempts at
misinformation and misdirection now, are we?

https://allthatsinteresting.com/lemuria-continent


Post a reply to this message

From: Thomas de Groot
Subject: Re: Spherical displacement map
Date: 24 Jul 2020 02:25:45
Message: <5f1a7ee9$1@news.povray.org>
Op 23/07/2020 om 12:43 schreef Bald Eagle:
> Thomas de Groot <tho### [at] degrootorg> wrote:
> 
>> I had understood that Lemuria guarded /that/ entrance. Probably fake
>> news casually dropped by the usual suspects... :-)
> 
> Aye, Skull and bones, the Masons, the Illuminati, the Knights Templar, the
> Knight of Malta, the Smithsonian, the Jesuits, the City of London, the Vatican,
> the Illuminati...   But we're not believing their transparent attempts at
> misinformation and misdirection now, are we?
> 
> https://allthatsinteresting.com/lemuria-continent
> 
> 
> 

LOL! Thanks for this. Very... illuminating. :-)

-- 
Thomas


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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