POV-Ray : Newsgroups : povray.programming : Using julia_fractal as a pattern type : Using julia_fractal as a pattern type Server Time
28 Jul 2024 18:20:53 EDT (-0400)
  Using julia_fractal as a pattern type  
From: Nieminen Juha
Date: 7 Dec 1999 07:34:21
Message: <384cfecd@news.povray.org>
I was thinking that it would be cool to add the existing julia_fractal
object type as a pattern type to the fractal patch. The syntax would be
something like:

  pigment
  { julia_fractal { (julia fractal things) }
    color_map { (colors) }
  }

  The julia_fractal block could be exactly as in the object (it could be
cool if a previously declared julia_fractal identifier could be used as
a pattern type as well...)

  This, however, is a bigger work than I expected. I certainly don't know
enough about the povray source to make this easyly.
  I have some questions:

  1) Can I use an object definition as a pattern type? If yes, what would be
the easiest way?

  2) Is there any way in the existing julia_fractal code to get the number
of iterations (and other information) for a specific point in space?

  I would like to do this myself, but if some of you patch gurus feel like
making this by yourselves would be a piece of cake, I would not mind at all.
I would really like to see this feature in povray and would definitely not
care at all who makes it.

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

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