|
![](/i/fill.gif) |
Greg M. Johnson wrote:
> In a thread I brought up elsewhere, Christoph suggested:
>
> << For two spheres you just do:
>
> #declare Start_Idx1=mechsim:face_count;
> MechSim_Generate_Sphere(...)
> #declare Start_Idx2=mechsim:face_count;
> MechSim_Generate_Sphere(...)
>
>
> and later:
>
> MechSim_Show_Sphere(Start_Idx1, Start_Idx2-Start_Idx1, ...)
> MechSim_Show_Sphere(Start_Idx2, mechsim:face_count-Start_Idx2, ...)
>
>
> However, the _Generate_Sphere _ code would only be used in frame 1, and you
> need to show the objects on frames 2 through the end.
For the other frames you would need to write the numbers to a file. A
set of MechSim_Write_Index()/MechSim_Read_Index() macros could be useful
but is fairly straight away to write. You can also simply print the
numbers in the message window using #debug and insert them manually.
This is not a flaw in the system but completely intentional. It is the
only way it can work.
Christoph
--
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 23 Sep. 2004 _____./\/^>_*_<^\/\.______
Post a reply to this message
|
![](/i/fill.gif) |