POV-Ray : Newsgroups : povray.general : Sphere sweep along the surface of a sphere : Sphere sweep along the surface of a sphere Server Time
31 Jul 2024 14:24:44 EDT (-0400)
  Sphere sweep along the surface of a sphere  
From: quickfur
Date: 23 Jan 2007 21:55:01
Message: <web.45b6c979c55022a1dd5364bf0@news.povray.org>
Hi all, I'm making a simple model of a creature for my scene using CSG, and
I'm having some trouble modelling the creature's eyelids. Basically, I'm
using a sphere_sweep object to model the eyelids, and I want the eyelids to
lie on the surface of a sphere. I have 5 spheres in the sweep, 3 of which
lie on the sphere and the first and last are adjusted by a macro that
models (or tries to) different eye expressions, interpolated by
cubic_spline. How do I mathematically ensure that these two "control
points" are placed so that the resulting sphere_sweep object always lies on
the surface of a sphere? (Well, actually, half sunken into the sphere since
all I'm doing is modelling the bulge along the edge of the eyelids.) I can
hand-adjust specific cases of the eyelids to make this happen, but I'm
making a little animation and want this to be automatically handled by a
macro.

Also, there is the harder question of how to create the right shape (given
the parameters that specify the sphere sweep) to subtract from the sphere
to make the eye socket so that the eyeball inside is visible. Any help
would be appreciated. Thanks!


Post a reply to this message

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