POV-Ray : Newsgroups : povray.binaries.scene-files : Color Fractals? Server Time
7 May 2024 10:00:01 EDT (-0400)
  Color Fractals? (Message 1 to 6 of 6)  
From: Psychomek
Subject: Color Fractals?
Date: 7 Oct 1998 19:37:50
Message: <361BECD9.D79B3A23@geocities.com>
I am tring too play around with Julian fractals in povray....  but it
seems that they have ABSOLUTELY no color....  meaning they are black...
how do i color the fractal.. the attached file is my pov file that i'm
using top test it...... PLEASE help me!


Post a reply to this message


Attachments:
Download 'base.pov.txt' (2 KB)

From: Ken
Subject: Re: Color Fractals?
Date: 7 Oct 1998 20:36:21
Message: <361BFAD3.60EA3A03@pacbell.net>
Psychomek wrote:

> I am tring too play around with Julian fractals in povray....  but it
> seems that they have ABSOLUTELY no color....  meaning they are black...
> how do i color the fractal.. the attached file is my pov file that i'm
> using top test it...... PLEASE help me!

The easy answer to your question is to add a texture
and pigment to your object. Where you have:

#declare Default =
texture{
 pigment{rgb<1,0,1>}
  finsish{ phong 1}
}

julia_fractal {the stuff you put here}

You need to add texture{Default} like this to make it work:

julia_fractal {the stuff you put here  texture{Default}}

It will then work correctly. I saw a light green background with
a purple looking julia fractal image when I rendered it. Pretty
neat looking too : )

Ken Tyler


Post a reply to this message

From: Psychomek
Subject: Re: Color Fractals?
Date: 8 Oct 1998 18:39:33
Message: <361D30AF.29476C6@geocities.com>
Ken wrote:

> Psychomek wrote:
>
> > I am tring too play around with Julian fractals in povray....  but it
> > seems that they have ABSOLUTELY no color....  meaning they are black...
> > how do i color the fractal.. the attached file is my pov file that i'm
> > using top test it...... PLEASE help me!
>
> The easy answer to your question is to add a texture
> and pigment to your object. Where you have:
>
> #declare Default =
> texture{
>  pigment{rgb<1,0,1>}
>   finsish{ phong 1}
> }
>
> julia_fractal {the stuff you put here}
>
> You need to add texture{Default} like this to make it work:
>
> julia_fractal {the stuff you put here  texture{Default}}
>
> It will then work correctly. I saw a light green background with
> a purple looking julia fractal image when I rendered it. Pretty
> neat looking too : )
>
> Ken Tyler

  Thanks...  now i'm tring to render this Fractal :


#declare W = 5
#declare P = 3.141592
#declare D = 21
#declare J = 47
#declare K = 640

julia_fractal {
    <-0.083,0.0,-0.83,-0.025>
    hypercomplex
    pwr(cos(W*P),max(exp(J/D)/P,K/P*W))
    max_iteration 9
    precision 40
    pigment {
    Blue
      }
    }

so far 10% in 20 minutes on a P120 with 24MB RAM....


Post a reply to this message

From: Peter Popov
Subject: Re: Color Fractals?
Date: 9 Oct 1998 22:07:41
Message: <361eb35d.0@news.povray.org>
Psychomek wrote in message <361### [at] geocitiescom>...
<snip>


>  Thanks...  now i'm tring to render this Fractal :


<code>

>so far 10% in 20 minutes on a P120 with 24MB RAM....


Complex julias (i.e. using those bizarre fxns like pow, atanh etc.) aren't
the fastest things to render, especially if the camera in inside the object.
I had the latter problem once and Ken nicely pointed it out to me, so make
sure POV doesn't report a "Camera is inside a non-hollow object" message.

Peter


Post a reply to this message

From: Peter Popov
Subject: Re: Color Fractals?
Date: 9 Oct 1998 22:07:42
Message: <361eb35e.0@news.povray.org>
Psychomek wrote in message <361BECD9.D79B3A23@geocities.com>...
>I am tring too play around with Julian fractals in povray....  but it
>seems that they have ABSOLUTELY no color....  meaning they are black...
>how do i color the fractal.. the attached file is my pov file that i'm
>using top test it...... PLEASE help me!


As Ken pointed, you need a texture. I have done several animations of julias
in which the object swirls and morphs, and I think that what looks best as a
texture is something like:

texture
{ pigment { White }
  finish { diffuse 1 ambient 0 brilliance 2.25 specular 0.6 roughness 0.005
phong 0.3 phong_size 6.675 metallic 0.5 }
}

Light up the julia with several differently coloured light sources and it
looks really nice.

Peter


Post a reply to this message

From: Psychomek
Subject: Re: Color Fractals?
Date: 10 Oct 1998 17:30:53
Message: <361FC394.DF5989FB@geocities.com>
Peter Popov wrote:

> Psychomek wrote in message <361BECD9.D79B3A23@geocities.com>...
> >I am tring too play around with Julian fractals in povray....  but it
> >seems that they have ABSOLUTELY no color....  meaning they are black...
> >how do i color the fractal.. the attached file is my pov file that i'm
> >using top test it...... PLEASE help me!
>
> As Ken pointed, you need a texture. I have done several animations of julias
> in which the object swirls and morphs, and I think that what looks best as a
> texture is something like:
>
> texture
> { pigment { White }
>   finish { diffuse 1 ambient 0 brilliance 2.25 specular 0.6 roughness 0.005
> phong 0.3 phong_size 6.675 metallic 0.5 }
> }
>
> Light up the julia with several differently coloured light sources and it
> looks really nice.
>
> Peter

  Thanks for the tip on the lights and on your previous post on camera in the
fractal.....   and as soon as I get a better pic of the fractal (the newone..the
code is in povray tutorial newsgroup) i'll post it in Images....


Post a reply to this message

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