POV-Ray : Newsgroups : povray.binaries.images : 3D/4D Mandelbrot fractal (HACK via recursive isosurface) : Re: I want to render animations like this Server Time
29 Apr 2024 16:20:25 EDT (-0400)
  Re: I want to render animations like this  
From: Stephen
Date: 1 Aug 2017 16:45:32
Message: <5980e86c$1@news.povray.org>
On 8/1/2017 8:04 PM, Bald Eagle wrote:
> Stephen <mca### [at] aolcom> wrote:
>
>> I did, thanks.
>> I downloaded Mandelbulb 3D today but still need to find how to texture
>> the mesh.
>
> Do you mean color-code the different areas of the mesh?
>
> You'll probably need to define a pigment function that mirrors the shape.
>

Yes, I guessed as much.

> So, for instance, Paul Nylander colors his Calabi-Yau "mesh" using:
>
> pigment {
> function {atan2(y-x,sqrt(2)*z)/(2*pi)}
>
> color_map{
> [0 rgbt <1,0,0,0.5>]
> [1/6 rgbt <1,1,0,0.5>]
> [1/3 rgbt <0,1,0,0.5>]
> [1/2 rgbt <0,1,1,0.5>]
> [2/3 rgbt <0,0,1,0.5>]
> [5/6 rgbt <1,0,1,0.5>]
> [1 rgbt <1,0,0,0.5>]}}
>
> finish {reflection 0.4}
> }
>
> That produces the HSV-style hue gradient going around the 5-fold symmetry.
>

Thanks I'll try that.

> Perhaps you can search around for color functions that people have used and come
> up with something along those lines.
>

I intend to but I've just found the s/ware and there is so much to do 
and only one life to do it in.


-- 

Regards
     Stephen


Post a reply to this message

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