POV-Ray : Newsgroups : povray.binaries.animations : Booster test (245k mpeg 1) : Re: Booster test (245k mpeg 1) Server Time
19 Jul 2024 09:24:56 EDT (-0400)
  Re: Booster test (245k mpeg 1)  
From: Kitsune e
Date: 12 Mar 2003 14:40:20
Message: <web.3e6f8cef6a92b86cc7e180360@news.povray.org>
Tek wrote:
>This is an animated version of the still I posted on p.b.i
>
>Basically I've come up with a fairly simplistic way of lighting up the boosters
>on this rocket ship according to the acceleration and angular acceleration it's
>experiencing. The physics is a bit unrealistic, because it's inverse kinematics
>it's quite possible for the ship to move in a direction where it has no boosters
>to propel it. Also at present it pays no attention to the size and number of
>boosters.
>
>In this test I have a simple spline that I use to set the rotation of the ship
>object, then I run a few calculations to approximate the angular acceleration. I
>dot product this with the angular thrust vector for each booster (just the cross
>product of the booster direction and position relative to the centre of mass).
>I'm probably getting way too technical here :) but anyway the result is a value
>telling me how much to light up the booster.
>
>The next stage will be to insert this into a full scene, then eventually I'll
>have an irtc entry!
>
>Comments, criticisms, and suggestions are greatly appreciated.
>
>--
>Tek
>http://www.evilsuperbrain.com
>

The animation looks very good, and I like the way your media looks.  There
is one issue I can see though.  The thrusters fire in response to the
spline.  This makes it seem that they are firing in response to the change
in direction, not causing it.  It is fairly simple to fix though, just pass
the thrusters spline values shifted toward one.
i.e.

thrust_time = my_spline[clock]+.1


Post a reply to this message

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