POV-Ray : Newsgroups : povray.general : problems to render a script : Re: problems to render a script Server Time
1 Aug 2024 18:23:52 EDT (-0400)
  Re: problems to render a script  
From: khayyam
Date: 29 Jun 2005 12:10:00
Message: <web.42c2c7a246d7bd25f3fe8ce80@news.povray.org>
> Add     #include "functions.inc"
>
> Change  #local fnBox = function { "superellipsoid", <Round, Round> }
> To      #local fnBox = function { f_superellipsoid(x,y,z,Round, Round) }
>
> Change  function { fnBox(x/(Xsz*0.5), y/(Ysz*0.5), z/(Zsz*0.5)) -
>         fnNoise((x+DX), (y+DY), (z+DZ)) }
> To      function { - fnBox(x/(Xsz*0.5), y/(Ysz*0.5), z/(Zsz*0.5)) +
>         fnNoise((x+DX), (y+DY), (z+DZ)).hf }
>
> Delete  sign -1
> Delete  method 2
>

wonderful, thanks a lot


Post a reply to this message

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