|
![](/i/fill.gif) |
Hi all,
Downloaded Chris Colefax's BEND.INC, but having problems running the example
file. It comes up with the error:
error: Domain error in atan2
and it highlights the line:
#declare _BN_roty = degrees(atan2(_BN_axisvec.x, _BN_axisvec.z))
Is BEND.INC compatible with POV 3.1g? Have I got an old version of this
include file?
Thanks
Reuben
doo### [at] breathemail net
Post a reply to this message
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
It sounds like you have given the include wrong parameters (ie. you are
trying to bend the object in an impossible way).
--
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}// - Warp -
Post a reply to this message
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
"Reuben Pearse" <reu### [at] presence-systems com> wrote:
> Downloaded Chris Colefax's BEND.INC, but having problems running the
example
> file. It comes up with the error:
> error: Domain error in atan2
> and it highlights the line:
>
> #declare _BN_roty = degrees(atan2(_BN_axisvec.x, _BN_axisvec.z))
>
> Is BEND.INC compatible with POV 3.1g? Have I got an old version of this
> include file?
It sounds like you might have an older copy of the file - you can download
the latest version of all the include files directly from my page:
http://www.geocities.com/ccolefax
Post a reply to this message
|
![](/i/fill.gif) |