POV-Ray : Newsgroups : povray.unofficial.patches : Mechsim messing things up : Mechsim messing things up Server Time
25 May 2024 10:10:29 EDT (-0400)
  Mechsim messing things up  
From: macgorilla
Date: 20 Apr 2012 06:25:00
Message: <web.4f91394b28f6f2685eb666730@news.povray.org>
I am trying to build a simulation with mechsim (on MegaPOV) and things seem to
be totally wrong. So I stripped lots of code trying to pin down the problem and
I ended with this:

global_settings {
 mechsim {
  gravity -9.81*y
  method 1
  step_count 10000
  time_step 1/24/10000
  topology {
    transform {rotate x*80 translate y*1.5*3},4

(some values are random and just due to experimentation)

In this form, the box generated by MechSim_Generate_Block is deformed into a
trapezoid (!)
If I change <-.06,.02,-.98>,<.06,.14,.98> to <-.1,-.1,1>,<.1,.1,1> everything
works fine.
Also removing gravity everything works fine.
I can't get my head around it. It seems like a serious bug in the mechsim patch
but it should have been noticed before, right? Every help is appreciated!

Post a reply to this message

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