POV-Ray : Newsgroups : povray.binaries.images : Tek's sea revisited : Re: Tek's sea revisited Server Time
6 Aug 2024 23:24:21 EDT (-0400)
  Re: Tek's sea revisited  
From: Thomas de Groot
Date: 22 Nov 2006 07:35:46
Message: <45644422@news.povray.org>
Experimenting further.
To align apparent wind direction and ship behaviour, I mirrored the 
isosurface's function around x. Of course, I could have turned the ship, but 
that is the easy way out and I prefer to experiment.

What I did was change: f_ridged_mf( (x+y*.2)/4, Q+y*.4, z/4, etc.  into: 
f_ridged_mf( ((x+y*.2)/4)/-1, Q+y*.4, z/4, etc

and: (f_spotted(x/5+y/5, 0, z/5)-.5)*1  into: (f_spotted((x/5+y/5)/-1, 0, 
z/5)-.5)*1

To stay on the save side, I added the parenteses before multiplying by -1. 
This should be faster than mirroring the isosurface itself. But maybe this 
introduces unwanted things. What do you think?

Thomas


Post a reply to this message


Attachments:
Download 'Tek_RoughSea.jpg' (180 KB)

Preview of image 'Tek_RoughSea.jpg'
Tek_RoughSea.jpg


 

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