|
![](/i/fill.gif) |
Philippe_Gibone wrote:
>
> Hi Andrew,
>
> I've been playing around with the mechsim patch for a while, but did'nt find
> out how to give different textures to different masses : how did you do that
> ?
You can access the mass positions everywhere in the scene file so you can
place spheres, glows or anything else at their position. Something like:
#local Cnt=0;
#while (Cnt<mechsim:mass_count)
sphere {
mechsim:mass(Cnt):position,
mechsim:mass(Cnt):radius
}
#local Cnt=Cnt+1;
#end
will show all masses - nothing prevents you from texturing them
differently.
Christoph
--
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 31 Dec. 2002 _____./\/^>_*_<^\/\.______
Post a reply to this message
|
![](/i/fill.gif) |