POV-Ray : Newsgroups : povray.binaries.images : Operation timed out? : Re: Operation timed out? Server Time
16 Apr 2024 18:00:57 EDT (-0400)
  Re: Operation timed out?  
From: Jörg "Yadgar" Bleimann
Date: 9 Aug 2020 18:14:03
Message: <5f30752b$1@news.povray.org>
Hi(gh)!

On 09.08.20 23:39, Alain Martel wrote:

> When you add the flattening or oblatenes, how do you do it ?

With the calculation of the mesh2 vertices:

#declare V_vec_Arr[c] = 
(rd+hval)*<sin(radians(-longstart-(b/xdim)*longsize))*(1-flattening)*cos(radians(latstart+(a/ydim)*latsize)),

(1-flattening)*sin(radians(latstart+(a/ydim)*latsize)), 
cos(radians(-longstart-(b/xdim)*longsize))*(1-flattening)*cos(radians(latstart+(a/ydim)*latsize))>;

> 
> Normally, just adding a scale after the modelling should do the trick.
> 
> scale<Oblatenes, 1, Oblatenes>

Worth a try...

See you in Khyberspace!

Yadgar


Post a reply to this message

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