POV-Ray : Newsgroups : povray.binaries.images : Procedural craters test Server Time
17 Nov 2024 00:15:35 EST (-0500)
  Procedural craters test (Message 1 to 3 of 3)  
From: Johannes Dahlstrom
Subject: Procedural craters test
Date: 2 Nov 2002 18:16:52
Message: <3dc45cda@news.povray.org>
Inspired by Gail's cool Spectacular Landscapes WIP: a fully procedural 
cratered terrain. My first attempt on this involved some creative use of 
functions and f_noise3d. It wasn't half-bad, but way too slow. This image 
uses another method I came up with: crackle form <1,0,0> pattern, some 
fiddling with functions and a spline to get the right kind of slope. If 
someone is interested, I can describe the technique more accurately and/or 
post the source to the newsgroups.


Post a reply to this message


Attachments:
Download 'craters.jpg' (103 KB)

Preview of image 'craters.jpg'
craters.jpg


 

From: Gail Shaw
Subject: Re: Procedural craters test
Date: 3 Nov 2002 11:54:42
Message: <3dc554d2@news.povray.org>
"Johannes Dahlstrom" <sad### [at] tkukoulufi> wrote in message
news:3dc45cda@news.povray.org...
> Inspired by Gail's cool Spectacular Landscapes WIP: a fully procedural
> cratered terrain. My first attempt on this involved some creative use of
> functions and f_noise3d. It wasn't half-bad, but way too slow. This image
> uses another method I came up with: crackle form <1,0,0> pattern, some
> fiddling with functions and a spline to get the right kind of slope. If
> someone is interested, I can describe the technique more accurately and/or
> post the source to the newsgroups.

I like that!!! Please do describe, I've never got a good crater even out
of a height field program.

Gail
--
#macro G(H,S)disc{0z.4pigment{onion color_map{[0rgb<sin(H/pi)cos(S/pi)*(H<6)
cos(S/pi)*(H>6)>*18][.4rgb 0]}}translate<H-5S-3,9>}#end G(3,5)G(2,5.5)G(1,5)
G(.6,4)G(.5,3)G(.6,2)G(1,1)G(2,.5)G(3,.7)G(3.2,1.6)G(3.1,2.5)G(2.2,2.5)G(9,5
)G(8,5.5)G(7,5)G(7,4)G(7.7,3.3)G(8.3,2.7)G(9,2)G(9,1)G(8,.5)G(7,1)///GS


Post a reply to this message

From: Johannes Dahlstrom
Subject: Re: Procedural craters test
Date: 5 Nov 2002 03:16:52
Message: <3dc77e74@news.povray.org>
Gail Shaw wrote:

> I like that!!! Please do describe, I've never got a good crater even out
> of a height field program.

Thanks :) I posted the quite extensively-commented source to p.t.s-f.


Post a reply to this message

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