POV-Ray : Newsgroups : povray.binaries.images : Wot no superellipsoids? - Boz_1.jpg : Re: Wot no superellipsoids? - Boz_1.jpg Server Time
19 Aug 2024 18:31:35 EDT (-0400)
  Re: Wot no superellipsoids? - Boz_1.jpg  
From: Jérôme M  Berger
Date: 31 Oct 2000 04:58:14
Message: <39FE97B3.1AB4C9F@enst.fr>
David Wilkinson wrote:
> 
> To make these functions randomly variable, whilst avoiding color reversals would
> be tricky even if a random function was available  It looks as if you will have
> to use individual bricks if you want random variation :-(
> 
	Wouldn't something like that work?

(sin((x+(floor(y)%2)/2)*2*pi)+0.9+noise3d(x, 0, 0)*0.1) *
(sin(2*y*2*pi)+0.9) * z

	(with a threshol of 0)

	Completely untested though...

	OTOH, you do have a "random" function (noise3d) and a modulus funtion
(it's written %) in isosurfaces


-- 

* Abandon the search for truth, * mailto:ber### [at] inamecom
* Settle for a good fantasy.    * http://www.enst.fr/~jberger
*********************************


Post a reply to this message

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