POV-Ray : Newsgroups : povray.general : Help to set this product on Pov-Ray : Re: Help to set this product on Pov-Ray Server Time
3 May 2024 17:23:24 EDT (-0400)
  Re: Help to set this product on Pov-Ray  
From: Bald Eagle
Date: 25 Dec 2017 10:50:01
Message: <web.5a411dc19a3fbe025cafe28e0@news.povray.org>
Hi Alain,

I gave that a whirl, and needed to modify it a bit to get it to work.

Not sure if I'm getting the same shape as you're suggesting.



#include "functions.inc"

#declare F_Ribs =
function {
 pattern {
  radial
  frequency 10 sine_wave
 }
}

#declare Central = isosurface {
 function {f_sphere (x*(y/2+1.00001), y, z*(y/2+1.00001), 1)
 + F_Ribs (x*(y/2+1.000011), 0, z*(y/2+1.000011)) -0.3
 }
 threshold 0
 accuracy 0.0001
 max_gradient 145
 contained_by {box {<-1,-1,-1>*2, < 1, 1, 1>*2}}
 scale <1, -3, 1>
}


Post a reply to this message

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