|
![](/i/fill.gif) |
Tim McMurdo wrote:
>>My request is for an example code showing the location of a specific mass
>>being assigned to a variable.
>
>
> Never mind...I poked around inside of mechsimn.inc and found an example.
>
> Here is and example.....
>
> sphere {
> mechsim:mass(39):position,
> mechsim:mass(39):radius
> pigment{Blue}
> }
>
>
Note that you usually don't need to litarally give the 39 but you can
store 'mechsim:mass_count' in a variable in the 'topology' block and use
this index to access the same mass later. The sample scenes coming with
MegaPOV also include examples for this.
Christoph
--
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 2 Sep. 2003 _____./\/^>_*_<^\/\.______
Post a reply to this message
|
![](/i/fill.gif) |