POV-Ray : Newsgroups : povray.binaries.images : Ghurghusht: artifacts at dawn : Re: Ghurghusht: artifacts at dawn Server Time
31 Jul 2024 08:28:13 EDT (-0400)
  Re: Ghurghusht: artifacts at dawn  
From: Jörg 'Yadgar' Bleimann
Date: 15 Jun 2010 17:35:32
Message: <4c17f224@news.povray.org>
High!

On 06/14/2010 06:32 PM, Alain wrote:

> You can still use the isosurface, in a much smaller containing object.

No, this does not work - if I try to constrain the isosurface to a 
sphere rotated to the chosen camera position (in geographical 
coordinates), such as:

     isosurface
     {
       function { Terrain_Function(x, y, z) }
       contained_by
       {
	sphere
	{
	  <0, 15, 0>/5178, <20, 25, 20>/5178
	  rotate <0, 0, 90-lat>
	  rotate <0, -long+90, 0>
	  translate <sin(radians(-long))*cos(radians(lat)), sin(radians(lat)), 
cos(radians(-long))*cos(radians(lat))>
	}
       }
       max_gradient 5
       accuracy 0.0001
       double_illuminate
       texture { T_Ghurghusht }
       scale 5178
     }

// end of code

I get error messages like "rotate found instead"... the container sphere 
may not even scaled non-uniformly!

See you in Khyberspace!

Yadgar


Post a reply to this message

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