POV-Ray : Newsgroups : povray.text.tutorials : Tips & tricks: How speed-up calculations in loops : Re: Tips & tricks: How speed-up calculations in loops Server Time
19 Apr 2024 04:30:06 EDT (-0400)
  Re: Tips & tricks: How speed-up calculations in loops  
From: Warp
Date: 28 Jan 2002 11:59:21
Message: <3c558368@news.povray.org>
You should also compare the speed when the macro is defined in an include
file instead of the same scene file (in theory it should be much slower).
  It would also be interesting to see what happens if the function is defined
in an external include file (AFAIK there should not be speed difference, but
who knows?).

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