POV-Ray : Newsgroups : povray.binaries.images : Geometrical Problem : Re: Geometrical Problem Server Time
2 Aug 2024 08:15:42 EDT (-0400)
  Re: Geometrical Problem  
From: Tor Olav Kristensen
Date: 7 Oct 2007 05:38:20
Message: <4708a90c$1@news.povray.org>


> High!
> 
> After a six-week break, I returned to my self portrait project... as I
> firstly try to do a "cheap" (in terms of rendering time) CSG version, I
> started with a "skull ellipsoid" to which I would like to add face with
> upper jaw and an animatable mandible, as displayed in the three
> schematical drawings below.
> 
> The radii of the "skull ellipsoid" (centered at the origin) are as
> follows: <0.115, 0.108, 0.138>
> 
> To fit the front parts in, I vertically sliced off the skull shell at
> z=-0.097. Now I have to determine the width of the cut surface at y=0.
> With a non-stretched sphere, that would be easy:
> sqrt(radius^2-0.097^2)*2*radius - but how to transfer this to an
> ellipsoid? To determine the exact radius length at the intersection of x
> axis, cutoff box and ellipsoid, I would have to know its angle with the
> z axis...

Can't you just use a sphere, fit the other part to it
and then scale it all along an axis so that the sphere
becomes an ellipsoid ?

-- 
Tor Olav
http://subcube.com


Post a reply to this message

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