POV-Ray : Newsgroups : povray.general : report and question : Re: report and question Server Time
3 Aug 2024 14:19:15 EDT (-0400)
  Re: report and question  
From: Warp
Date: 21 Jan 2004 04:11:07
Message: <400e422b@news.povray.org>
I don't know the answer to your question per se (except that the
parametric object has always seemed extremely slow to me...),
but on a side note, I think the section 5, which contains the
iterative sierpinski tetrahedron, could perhaps create the
iterations in a loop.
  Like it is now it gives the impression that if you want to do
something like that you'll need to copy-paste that #declare as
many times as there are iterations, editing each one of them.
The POV-Ray SDL is more powerful than this.
  You can make an array (as large as the number of iterations),
each item containing one iteration, and you can fill this array
in a loop, each item using the previous one. Thus if you want
to change the number of iterations it's enough to simply change
one number (eg. a "#declare Iterations=6;" at the beginning).

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

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