|
|
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
|
|