POV-Ray : Newsgroups : povray.binaries.images : Isosurface gears : Re: Isosurface gears Server Time
14 Nov 2024 00:19:38 EST (-0500)
  Re: Isosurface gears  
From: laurent artaud[AT]free fr
Date: 15 Apr 2004 15:47:41
Message: <407ee6dd$1@news.povray.org>
> 
> I guess I could still post the source, but trust me, you don't want to see
> it until I get some documentation in there....its really ugly looking
> 
> ( mod(atan2(y,x)+( (twist>0)*(z*twist) + (twist<0)*(abs(twist)*(1-z)) +
> pi*(1+mod(freq,2)*pi/freq)*(y<0) ),2*pi/freq) > flat           ) *
> ( mod(atan2(y,x)+( (twist>0)*(z*twist) + (twist<0)*(abs(twist)*(1-z)) +
> pi*(1+mod(freq,2)*pi/freq)*(y<0) ),2*pi/freq) < pi/freq        ) *
> ( (mod(atan2(y,x)+( (twist>0)*(z*twist) + (twist<0)*(abs(twist)*(1-z)) +
> pi*(1+mod(freq,2)*pi/freq)*(y<0) ),2*pi/freq)-flat)/((pi/freq)-flat)*depth
> ) +
> 
> See what I'm saying? :)

(shudder) Yeah! I see...

>  And that's just one quarter of the isosurface
> function.  Actually, it looks alot better in the povray edit window, but it
> still could use explanations of what each little part does, not to mention
> variable names.
> 

That would help a lot. I'm waiting for it.

Regards,

-- 
Laurent ARTAUD (lau### [at] freefr)


Post a reply to this message

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