POV-Ray : Newsgroups : povray.unofficial.patches : MegaPOV Mechsim Motion Question : Re: MegaPOV Mechsim Motion Question Server Time
28 Sep 2024 16:41:55 EDT (-0400)
  Re: MegaPOV Mechsim Motion Question  
From: Tom Bates
Date: 24 Jul 2003 11:57:31
Message: <3f2001eb@news.povray.org>
> > so I also
> > replaced the save_file command with my own macro that created a file that used
only
> > floats and vectors.  I've included the macros "DoMyLoadFile" and "DoMySaveFile".
>
> Without analyzing your code in depth - it can't work since you call your
> 'DoMySaveFile' immediately after 'DoMyLoadFile' so you save exactly what
> you read.  The simulation is done at the end of the mechsim{} block so you
> will have to save your data afterwards (the internal 'save_file' waits
> until after the simulation of course).

Well, that makes sense.  Although, there's apparently more to my problems than just
that.

Out of curiosity, though, I moved the DoMySaveFile call to just after the machsim{}
block, as suggested, to see if that change alone would make a difference.  Sadly it
did not.

>
> Christoph
>

Tom Bates


--
#macro T(B)#local m=mod(B,8);#local B=floor(B/8);m#end#local C=126981491245202;#
local D=115694168992822;sphere_sweep{b_spline 16#local i=0;#while(i<16)<T(C)-4,T
(D)-4,10-i/10>.1#local i=i+1;#end pigment{rgb 1}}light_source{-10,1} //Tom Bates


Post a reply to this message

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