POV-Ray : Newsgroups : povray.newusers : spherical height map? Server Time
30 Jul 2024 02:21:33 EDT (-0400)
  spherical height map? (Message 1 to 2 of 2)  
From: brandon
Subject: spherical height map?
Date: 2 Dec 2004 19:30:00
Message: <web.41afb2d6214ef2a978e133600@news.povray.org>
I'm trying to make a render of some data that will vary in amplitude over
azimuth and elevation (longitude and latitude). Is there a way to make a
spherical height map? Something like r(lat,lon) = x, so the radius at
lat,long on the sphere's surface would be equal to x.

I know I could use many many splines, but is there an alternative?


Post a reply to this message

From: Warp
Subject: Re: spherical height map?
Date: 3 Dec 2004 09:05:51
Message: <41b072be@news.povray.org>
brandon <moc.tibroni@drut backwards> wrote:
> Is there a way to make a spherical height map?

http://povray.org/documentation/view/3.6.1/468/#s02_07_12_01_01

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

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