POV-Ray : Newsgroups : povray.general : Modelling the Earth's shape : Re: Modelling the Earth's shape Server Time
30 Jul 2024 10:25:53 EDT (-0400)
  Re: Modelling the Earth's shape  
From: Jaap Frank
Date: 7 Apr 2009 12:29:53
Message: <49db7f81$1@news.povray.org>
I was a bit to fast. The 180 degrees is for top down. The 360 degrees is 
around the earth.

Jaap

"Jaap Frank" <jjf### [at] casemanl> schreef in bericht 
news:49da3f5d$1@news.povray.org...
> ----- Original Message ----- 
> From: "Jellby" <me### [at] privacynet>
>> The other solution is creating a mesh out of this data. I tried using the
>> HF_Sphere macro, but I'm afraid I need much better resolution than
>> possible. The maximum resolution vector I could use was about <500,1000>
>> (larger dimensions gave parsing errors in shapes.inc), and I'd need
>> <10801,21600>. For a total vertex number larger than a few million, this
>> number is written in exponential notation, and I don't think the mesh2
>> parser likes that. Besides, I'm afraid the file created (if I want
>> HF_Sphere to write a file) would be really huge.
>>
>
> I took a look at HF_Sphere and I think you can let it produce pieces of 
> for
> instance 15 degrees in stead of 180 degrees (just like the pieces inside 
> an
> orange).
> You have to produce 24 of them for the whole earth and use the pieces that
> are visible. You don't need the back side of earth.
> Experiment with the line:
>
> #local Dir = vrotate( 
> vrotate(x,(-89.9999+179.9998*UV.z)*z), -360*UV.x*y );
>
> If I understand the macro correctly it rotate from -90 until +90 degrees.
>
> Just a thought.
>
> Success
>
> Jaap Frank
>
>
>


Post a reply to this message

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