POV-Ray : Newsgroups : povray.binaries.images : Sparky (for Dave VanHorn) : Re: Sparky (for Dave VanHorn) Server Time
13 Nov 2024 17:45:05 EST (-0500)
  Re: Sparky (for Dave VanHorn)  
From: Ger
Date: 20 May 2004 10:59:52
Message: <40acc7e7@news.povray.org>
Dave VanHorn wrote:

> 
> Very nice!  I had to scale it to inches, and I think then the translate
> needs to be "Count * Inch" but it looks good. I've put it in a test scene
> with the large discharge spark as you saw, plus 20 switching sparks, which
> I limited to 5 lights since they are small, and not so detailed anyway.
> 
> It's going to be a while, I'll post the image when it's done baking.

Glad you like it. :)
Btw, there is an error in the Spark_Light macro

#local Distance = (End - Start) / NumberOfLights+1;
should be
#local Distance = (End - Start) / (NumberOfLights+1);

I forgot the second set of brackets

Sorry :(
-- 
Ger


Post a reply to this message

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