POV-Ray : Newsgroups : povray.unofficial.patches : Showing two shiny spheres. : Re: Showing two shiny spheres. Server Time
20 Sep 2024 18:22:04 EDT (-0400)
  Re: Showing two shiny spheres.  
From: Andy Cocker
Date: 29 Oct 2004 06:32:39
Message: <41821c47$1@news.povray.org>
> 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.

Yes, as Christoph says, I find by far the easiest way (for me) is to #debug the
numbers to the
message window. Inserting them manually for just two spheres takes seconds, and unless
you
change the topology only needs to be done once.

In fact, the easiest way would be to #declare the numbers outside of topology
generation
rather than insert them into the MechSim_Show_Sphere() macro directly. So..:

#declare Start_Idx1=0;// Add number returned from #debug here
#declare Start_Idx2=80;// Add number returned from #debug here

//Then..

MechSim_Show_Sphere(Start_Idx1, Start_Idx2-Start_Idx1, ...)
MechSim_Show_Sphere(Start_Idx2, mechsim:face_count-Start_Idx2, ...)

...would work

Andy


Post a reply to this message

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