POV-Ray : Newsgroups : povray.binaries.scene-files : Water-and-foam-fringe along a coastline Server Time: 16 Dec 2018 01:18:39 GMT
  Water-and-foam-fringe along a coastline (Message 1 to 1 of 1)  
From: Thomas de Groot
Subject: Water-and-foam-fringe along a coastline
Date: 26 Mar 2017 11:43:13
Message: <58d7a951@news.povray.org>
I used the attached code in my latest image version of /Stranger Moon/. 
See p.b.i.

To my knowledge, only Zeger Knaepen and Jaime Vives Piqueres have added 
this feature to their landscape scenes, both back in 2004 so I do not 
know who was first.

- I studied both their - admittedly - very complex /isosurface/ 
landscapes and extracted the relevant codes for my own designs.

- I changed the code for height_field use as I generally find 
isosurfaces too slow for regular use.

- I 'improved' the work flow somewhat and 'improved' the foam texture 
more in particular.

- I put the code inside a demo scene for better accessibility of the 
feature, so that more people will be tempted to use it in future.

By all means, feel free to change and improve upon the code

-- 
Thomas


Post a reply to this message


Attachments:
Download 'waterandfoam.7z.zip' (1637 KB)

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