POV-Ray : Newsgroups : povray.binaries.images : Weathered rock (86 kbbu) Server Time
13 Nov 2024 05:19:18 EST (-0500)
  Weathered rock (86 kbbu) (Message 1 to 7 of 7)  
From: John VanSickle
Subject: Weathered rock (86 kbbu)
Date: 17 Sep 2007 20:00:48
Message: <46ef1530@news.povray.org>
This is for the TC-RTC.  The rock face is a series of procedural height 
fields, made from a few different patterns averaged together.

I didn't use a smooth height field because the border between any two 
hfs is rather obvious until the resolution is high enough to make 
smoothing unecessary.

The texture is this:

#local rsA=seed(0);

   texture {
     pigment { marble frequency 1 ramp_wave turbulence <.1,01,.1> omega 
.4 lambda 1.5
       pigment_map {
#local sA=.5;
         [0 bumps scale <.1,1,.1> translate 0-64
           color_map { [0 rgb <.7,.675,.65>+<.1,.05,0>*sA][1 rgb 
<.9,.875,.85>+<.1,.05,0>*sA] }
         ]
#local iI=1;#while(iI<128)
         [(iI-.01)/128 bumps scale <.1,1,.1> translate iI-64
           color_map { [0 rgb <.7,.675,.65>+<.1,.05,0>*sA][1 rgb 
<.9,.875,.85>+<.1,.05,0>*sA] }
         ]
         #local sA=rand(rsA);
         [(iI+.01)/128 bumps scale <.1,1,.1> translate iI+1-64
           color_map { [0 rgb <.7,.675,.65>+<.1,.05,0>*sA][1 rgb 
<.9,.875,.85>+<.1,.05,0>*sA] }
         ]
#local iI=iI+1;#end
         [1 bumps scale <.1,1,.1> translate 128-64
           color_map { [0 rgb <.7,.675,.65>+<.1,.05,0>*sA][1 rgb 
<.9,.875,.85>+<.1,.05,0>*sA] }
         ]
       }
     }
     normal { marble 1 frequency 1 ramp_wave turbulence <.1,.01,.1> 
omega .4 lambda 1.5
       normal_map {
#local iI=0;#while(iI<129)
         [iI/128 bumps .031 scale <.1,1,.1> translate iI-64 ]
#local iI=iI+1;#end
       }
     }
     transform FlipXY
     scale <1000,150,1000>
   }

There will be a tunnel entrance here when I'm done.

Regards,
John


Post a reply to this message


Attachments:
Download 'cliff.jpg' (86 KB)

Preview of image 'cliff.jpg'
cliff.jpg


 

From: Alain
Subject: Re: Weathered rock (86 kbbu)
Date: 18 Sep 2007 00:18:59
Message: <46ef51b3$1@news.povray.org>
John VanSickle nous apporta ses lumieres en ce 2007/09/17 20:00:
> This is for the TC-RTC.  The rock face is a series of procedural height 
> fields, made from a few different patterns averaged together.
> 
> I didn't use a smooth height field because the border between any two 
> hfs is rather obvious until the resolution is high enough to make 
> smoothing unecessary.
> 
> The texture is this:
> 
> #local rsA=seed(0);
> 
>   texture {
>     pigment { marble frequency 1 ramp_wave turbulence <.1,01,.1> omega 
> .4 lambda 1.5
>       pigment_map {
> #local sA=.5;
>         [0 bumps scale <.1,1,.1> translate 0-64
>           color_map { [0 rgb <.7,.675,.65>+<.1,.05,0>*sA][1 rgb 
> <.9,.875,.85>+<.1,.05,0>*sA] }
>         ]
> #local iI=1;#while(iI<128)
>         [(iI-.01)/128 bumps scale <.1,1,.1> translate iI-64
>           color_map { [0 rgb <.7,.675,.65>+<.1,.05,0>*sA][1 rgb 
> <.9,.875,.85>+<.1,.05,0>*sA] }
>         ]
>         #local sA=rand(rsA);
>         [(iI+.01)/128 bumps scale <.1,1,.1> translate iI+1-64
>           color_map { [0 rgb <.7,.675,.65>+<.1,.05,0>*sA][1 rgb 
> <.9,.875,.85>+<.1,.05,0>*sA] }
>         ]
> #local iI=iI+1;#end
>         [1 bumps scale <.1,1,.1> translate 128-64
>           color_map { [0 rgb <.7,.675,.65>+<.1,.05,0>*sA][1 rgb 
> <.9,.875,.85>+<.1,.05,0>*sA] }
>         ]
>       }
>     }
>     normal { marble 1 frequency 1 ramp_wave turbulence <.1,.01,.1> omega 
> .4 lambda 1.5
>       normal_map {
> #local iI=0;#while(iI<129)
>         [iI/128 bumps .031 scale <.1,1,.1> translate iI-64 ]
> #local iI=iI+1;#end
>       }
>     }
>     transform FlipXY
>     scale <1000,150,1000>
>   }
> 
> There will be a tunnel entrance here when I'm done.
> 
> Regards,
> John
> 
> ------------------------------------------------------------------------
> 
Almost looks like a processed photo.

-- 
Alain
-------------------------------------------------
  My bologna has a first name.

                    Oscar Mayer


Post a reply to this message

From: Kenneth
Subject: Re: Weathered rock (86 kbbu)
Date: 19 Sep 2007 03:25:01
Message: <web.46f0cdd5a513c2d5ddc78dcc0@news.povray.org>
John VanSickle <evi### [at] hotmailcom> wrote:
> This is for the TC-RTC.  The rock face is a series of procedural height
> fields, made from a few different patterns averaged together.
>
> I didn't use a smooth height field because the border between any two
> hfs is rather obvious until the resolution is high enough to make
> smoothing unecessary.
>
> The texture is this....
>

Thanks for posting the code.  It uses some tricks I've never tried. Makes a
marvelous rocky cliff face.

Ken W.


Post a reply to this message

From: Stefan Viljoen
Subject: Re: Weathered rock (86 kbbu)
Date: 19 Sep 2007 11:07:02
Message: <46f13b15@news.povray.org>
John VanSickle wrote:

> This is for the TC-RTC.  The rock face is a series of procedural height
> fields, made from a few different patterns averaged together.

Good...

-- 
Stefan


Post a reply to this message

From: William Tracy
Subject: Re: Weathered rock (86 kbbu)
Date: 19 Sep 2007 11:30:29
Message: <46f14095@news.povray.org>
Some cracked earth that I whipped up for my entry. :-)

I could probably do this as a height field, but the way that the 
isosurface came out is so cool...

declare cracks = function {pigment {
         crackle
         turbulence 0.1
         color_map {[0 rgb 0][0.1 rgb 1][1 rgb 0.5]}
         scale 0.5
}}

isosurface {
         function {2 * y - cracks(x, y, z).red}
	// etc.
}

-- 
William Tracy
afi### [at] gmailcom wtr### [at] calpolyedu

You know you've been raytracing too long when you wonder if the human 
eye uses ray-tracing, and at what it's frames per second rate is?
     -- Vimal N. Lad / Gautam N. Lad


Post a reply to this message


Attachments:
Download 'crackedearth.jpg' (25 KB)

Preview of image 'crackedearth.jpg'
crackedearth.jpg


 

From: Samuel Benge
Subject: Re: Weathered rock (86 kbbu)
Date: 20 Sep 2007 16:17:48
Message: <46f2d56c@news.povray.org>
William Tracy wrote:
> Some cracked earth that I whipped up for my entry. :-)
> 
> I could probably do this as a height field, but the way that the 
> isosurface came out is so cool...

Looks pretty neat, but I think it's suffering from a low max_gradient.

I used to see cracked clay similar to this in the high desert of 
Southern California, near Desert Hot Springs.

Sam


Post a reply to this message

From: William Tracy
Subject: Re: Weathered rock (86 kbbu)
Date: 20 Sep 2007 19:22:27
Message: <46f300b3$1@news.povray.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Samuel Benge wrote:
> Looks pretty neat, but I think it's suffering from a low max_gradient.

I was just realizing this.

I actually like how it looks with the cracks; we'll see how this goes. :-)

- --
William Tracy
afi### [at] gmailcom wtr### [at] calpolyedu

You know you've been raytracing too long when you have ever brought your
computer to its knees by mistakenly launching 64 simultaneous frames to
be traced, while trying to maximizing the benefits of parallelizing them.
    -- Carsten Whimster
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG8wCzcCmTzQ++ZncRArLdAJ46d5RmdO+waSis6n/V7B9ndgDaoQCgn3ZZ
LZUpmYJ0DmqyRikcPy8YlK4=
=mzlE
-----END PGP SIGNATURE-----


Post a reply to this message

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