POV-Ray : Newsgroups : povray.binaries.images : Not a LOTW : Not a LOTW Server Time
7 Nov 2024 17:31:12 EST (-0500)
  Not a LOTW  
From: Thomas de Groot
Date: 14 Jul 2004 04:27:16
Message: <40f4ee64@news.povray.org>
In the margins of the LOTW projects running here, I try in my own way to
generate interesting landscapes.
I have a question about this isosurface one with a slope/altitude texture.
The bedding plane is vertical. However, I would like to rotate it so that it
shows inclined or even (sub)horizontal bedding. Using rotate doesn't work
(except around the vertical axis). Is that possible?
The relevant code is:

#declare Wrinkling = 1.0; // higher values give sharper features
#declare Wturb = <0.1, 0.5, 0.3>;   // turbulence in wrinkles warp
#declare Wscale = <0.1, 0.1, 0.5>; // wrinkling scale
#declare Wrotate = <0, 0, 0>;   // wrinkling rotation

#declare P1=function {pattern {wrinkles warp {turbulence Wturb octaves 3
omega 0.5 lambda 1} scale Wscale rotate Wrotate}}
#declare P4=function {f_hetero_mf(x,y,z, 0.8, 2, 5, 0, 0.9, 2) }
#declare P=function {  P4(x, 0, z) - P1(x, y, z)*Wrinkling }

isosurface {
  function {y - P(x, 1, 1-z)}
  //open
  max_gradient 10
  contained_by {box {<0.5-Xscale*0.5, -2, 0.5-Zscale*0.5>, <0.5+Xscale*0.5,
1, 0.5+Zscale*0.5>}}
  translate <-0.5, 0, -0.5>
  scale <Loc, 1, Loc>
  pigment {Landtex}
  //translate -Loc/2*x
}


Any help is much appreciated!!!

Thomas


Post a reply to this message


Attachments:
Download 'Geolandscape_02.jpg' (112 KB)

Preview of image 'Geolandscape_02.jpg'
Geolandscape_02.jpg


 

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