POV-Ray : Newsgroups : povray.binaries.images : Devil's RollerCoaster : Re: Devil's RollerCoaster Server Time
1 Apr 2025 16:36:56 EDT (-0400)
  Re: Devil's RollerCoaster  
From: Droj
Date: 23 Mar 2025 14:00:00
Message: <web.67e04b4afccb8b7eef371b9d3b2af915@news.povray.org>
kurtz le pirate <kur### [at] freefr> wrote:
> On 22/03/2025 12:12, yesbird wrote:
>
> > Looks good enough - I like the idea of strange geometric phenomena in
> > space. Also going through your site I found this image. Could you share
> > the code, please - I want to animate it. Mandelbulbs are too frightening
> > for animation :).
>
> The code is an isosurface fond on MathMod software.
> Translated in SDL :
>
>

> #declare R = function { k*(x/(x*x+y*y+z*z)) }
>
> #declare PSkeletalGraph = function {
> cos(x)+cos(y)+cos(z)+(51/100)*(cos(x)*cos(y)+cos(y)*cos(z)+cos(z)*cos(x))+(147/100)
> }
>
> #declare InvertPSkeletalGraph = function {
>   PSkeletalGraph(R(x,y,z),R(y,x,z),R(z,y,x))
>   }
>
> // --- Isosurface
> #declare Fxyz = function (x,y,z) { InvertPSkeletalGraph(x,y,z) }
>
> isosurface {
>  function { Fxyz(x,y,z) }
>  max_gradient 800 // 3500
>  contained_by { box { -L, +L } }
>  pigment { Yellow }
>  }

>
>
> Good luck
>
> --
> kurtz le pirate
> compagnie de la banquise

Hi klp,

yeah, that's the code but yours is more elegant than mine.
Droj


Post a reply to this message

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