POV-Ray : Newsgroups : povray.unofficial.patches : MegaPOV MechSim: Grouping & Gravity Server Time
12 Jun 2024 04:07:35 EDT (-0400)
  MegaPOV MechSim: Grouping & Gravity (Message 1 to 1 of 1)  
From: Tom Bates
Subject: MegaPOV MechSim: Grouping & Gravity
Date: 28 Jul 2003 00:00:29
Message: <3f249fdd$1@news.povray.org>
Greetings Ladies and Gentlemen of the forum,

I have lately been experimenting with the MechSim feature
of MegaPOV 1.0.

I have created a somewhat complicated structure of masses
and connections that resembles a small animal.

I start it in the "air" and let it fall as the connections
reach a steady state of sorts by the time it lands on the
"ground".

However, I'm having a little difficulty with collision
detection and gravity.

"Huh?" you say.

I am attaching 4 test renders in follow-up messages to
the thread in p.b.animations of the same name as this
thread that should demonstrate my problem.

I am also attaching (in p.b.a) the source that produced
the test renders.

I have selected level 2 collision detection which is
supposed to detect collisions between components of
different groups, but not within the same group.

In the first, Test2-0.mpg, no grouping was done, and the
objects are not connected.  This works as expected.

In the second, Test2-1.mpg, the objects are separated into
groups, and they are still not connected.  This works as
expected.

In the third, Test2-2.mpg, no grouping was done, and the
objects are connected.  This works as expected.

In the fourth, Test2-3.mpg, the objects are separated into
groups, and the objects are connected.  This does not work
as expected.  For some reason, it seems that this
arrangement affects the objects response to gravity.

I'm wondering is this a bug?  a feature?  or something
that I'm missing?

I would be extremely grateful if someone could enlighten
me as to what I need to do.  If you need more information
than what I've provided here, please let me know.

Thank you,

Tom Bates

--
#macro T(B)#local m=mod(B,8);#local B=floor(B/8);m#end#local C=126981491245202;#
local D=115694168992822;sphere_sweep{b_spline 16#local i=0;#while(i<16)<T(C)-4,T
(D)-4,10-i/10>.1#local i=i+1;#end pigment{rgb 1}}light_source{-10,1} //Tom Bates


Post a reply to this message

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