POV-Ray : Newsgroups : povray.binaries.animations : Mechism Problems : Mechism Problems Server Time
19 Jul 2024 11:34:31 EDT (-0400)
  Mechism Problems  
From: Andrew
Date: 1 Feb 2003 15:13:12
Message: <3e3c2a58@news.povray.org>
(Apologies for originally posting on p.a. - it looked like p.b.a to my
tired eyes...)

OK, I've been trying out the Mechsim part of Megapov, and I'm running
into problems.  Could anyone explain why the fourth domino is
"transparent" to the one that should push it over, but everything else
works?  Here's the topology block I'm using:

topology {

#declare Move = transform {rotate <0,90,10> translate <2,0.001,0.001>}

group {MechSim_Generate_Box(<0,0,0>, 0.025, 100, 20000, 5000, true,
<0.25,0.25,0.05>, <3,5,3>, Move, 3)}

#declare loop = 0;
#while (loop < 5)

    #declare Move = transform {rotate <0,90,0> translate
<1.5-(loop*0.5),0.001,0>}

    group {MechSim_Generate_Box(<0,0,0>, 0.025, 100, 20000, 5000, true,
<0.25,0.25,0.05>, <3,5,3>, Move, 3)}

    #declare loop = loop + 1;
    #end

save_file "dominoes.mech"
}


Post a reply to this message


Attachments:
Download 'Dominoes.m1v.mpg' (235 KB)

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