POV-Ray : Newsgroups : povray.general : Status of Moray? : Re: New SDL for POVRay Server Time
1 Jul 2025 10:06:35 EDT (-0400)
  Re: New SDL for POVRay  
From: Tim Attwood
Date: 15 Oct 2007 04:07:03
Message: <47131fa7$1@news.povray.org>
I think this is getting to be how to implement something
vrs what would be a good language feature.

It might be nice to have better animation support in
the language itself, something like ...

#declare leg = MOB {
   skeleton {
      thigh connected_to knee
      knee connected_to shin
      shin connected_to foot
      thigh { length 1 elasticity 0 mass 1.5 }
      knee { length 0.1 elasticity 0 joint_spring 1 mass 0.1 rest_bend 
<0,0,0>}
      shin { length 1 elasticity 0 joint_spring 1 mass 0.75 rest_bend 
<30,0,0>}
      foot { length 0.3 elasticity 0.1 joint_spring 0.5 mass 0.2 rest_bend 
<90,0,0>}
   }
   skin {
      thigh looks_like {cylinder{..}}
      knee looks_like {sphere{..}}
      thigh looks_like {cylinder{..}}
      foot looks_like {box{...}}
   }
},

MOB {
   start_at_location <...> at_time 0
   waypoint <...> at_time 0.5
   end_at_location <...> at_time 1
   movement {bend knee <80,0,0> velocity 0.25} at_time 0.51
}
post_process {save_animation "leg.mpg"}

The end user probably doesn't care if the data is stored in memory,
or written to the disk, how the inverse kinematics is implemented.
just that there's an easy way to do things like knee-jerking,
and save and view the animations.

-----
500 Internal Server Error
A team of highly trained monkeys has been dispatched to deal with this 
situation. Please report this incident to customer service.
Also, please include the following information in your error report: BANANAS


Post a reply to this message

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