POV-Ray : Newsgroups : povray.binaries.images : Moria inspired WIP (50kbu) : Re: Moria inspired WIP (50kbu) Server Time
11 Aug 2024 21:17:12 EDT (-0400)
  Re: Moria inspired WIP (50kbu)  
From: Gail Shaw
Date: 16 Jan 2004 14:59:59
Message: <400842bf@news.povray.org>
"Bill Naylor" <nay### [at] hotmailcom> wrote in message
news:40070ed6$1@news.povray.org...
> Nice composition. I really like this.
> I agree that a cloud of mist would be great, but how far down is the
bottom?

Hmmm, haven't thought about that. Probably quite some way. I still need
something
there, otherwise it looks like the river just disappears.

> Great water! (code???   please...)
>

Thanks. The water code is adapted from code I found elsewhere, can't
remember where.
If anyone recognises this code, please let me know so I can credit properly

#declare T_Water =
 texture {
  pigment { rgbf <0.975,0.975,1,0.8> }
  finish { reflection { 0 0.85 } diffuse 0.025 specular 0.3
conserve_energy }
 }

#declare F_Water= function { pigment { granite turbulence 0.2 scale
<1,1,4>*5 } }

isosurface {
 function
{y-f_noise3d(x,y,z)*0.075-f_noise3d(x*3,y*3,z*3)*0.05+F_Water(1.5*x,1.5*y,1.
5*z).gray*0.1+0.65 }
 contained_by { box { <-2.1,-15,-30> <2.1,1,20> } }
 accuracy 0.001
 max_gradient 4.5
 texture { T_Water }
 interior { ior 1.33 media { absorption <0.35,0.35,0.25> } }
 hollow
}

Gail
--
*************************************************************************
* gai### [at] mwebcoza        *  If one is going to lose one's mind,     *
* http://gail.rucus.net/     *  one might as well savor the experience  *
*************************************************************************
* This is how the world ends. Swallowed in fire, but not in darkness    *
*************************************************************************


Post a reply to this message

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