POV-Ray : Newsgroups : povray.general : Transforming Warps : Re: Transforming Warps Server Time
11 Aug 2024 23:16:14 EDT (-0400)
  Re: Transforming Warps  
From: Michael Andrews
Date: 27 Apr 1999 13:26:47
Message: <3725E5F2.648F330@remove-this.reading.ac.uk>
Ron Parker wrote:
> The difference is that while black_hole has a location parameter, the same
> cannot be said for every type of warp.  For example, how would you rotate
> or translate a turbulence or repeat warp?

Hmm, absolutely true.
In fact I do usually do it the way you suggested - I was just feeling
contrary :-)
Here's a snippet from some code I'm currently working on to produce
clouds:

density { 
	spherical
	scale scaleVal
	warp { turbulence turbVal octaves 5 lambda 3 omega 1/3 }
	scale cloudHSize
	colour_map { [0 rgb 0][mapVal rgb 1] }
}

It uses scale rather than rotate, but the ideology is the same.

	Bye for now,
		Mike Andrews.


Post a reply to this message

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