Sphere and hyperboloid intersection

In summary, to improve the look of the eggplant in the C++ graphics library Renderman, you can increase the radius of the smaller sphere, adjust the positions and shape of the spheres and hyperboloid, and experiment with different materials and textures.
  • #1
malenkylizard
2
0
Hello all,

I'm not sure if there's a simple answer to this, and if there isn't, I won't waste your time; I have so much more to do that I can only devote so much time to this little subproblem. I'm trying to model an eggplant in C++, using a graphics library called Renderman, by way of two partial spheres of different sizes, connected by a hyperboloid. So my first attempt was to have the two ruling points of the hyperboloid be at the equator of one sphere, and the equator of the other, offset by 90 degrees. So for example, in my case, one sphere is of r=1, the other sphere is of r=0.7, and their centers are at coordinates (0,0,0) and (0,0,2), that is, their centers are separated by a distance of 2 units, along the Z axis. Then the two points of the hyperboloid are at (1,0,0) and (0,0.7,2). The result is seen here: http://userpages.umbc.edu/~fraha1/eggplant.jpg

This isn't quite what I was hoping for. I was hoping that the derivatives at the intersecting circles would be the same; instead there's a ridge I'd like to do away with. Any ideas for how I could change the parameters to make this look nicer? Thanks!
 
Physics news on Phys.org
  • #2
</code>One way to improve the look of the eggplant is to increase the radius of the smaller sphere. By increasing the radius of the smaller sphere, you can create a smoother transition between the two spheres and eliminate the ridge. You can then adjust the positions of the spheres and hyperboloid to ensure that they still intersect at the equator of the two spheres. You may also want to tinker with the shape of the hyperboloid to get the desired result. You can do this by adjusting the parameters that define the hyperboloid, such as its eccentricity and its curvature. Finally, you can experiment with different materials and textures for the eggplant to give it a more realistic look. I hope this helps!
 

Related to Sphere and hyperboloid intersection

What is a sphere and hyperboloid intersection?

A sphere and hyperboloid intersection refers to the points where a sphere and a hyperboloid intersect in 3-dimensional space.

What is a hyperboloid?

A hyperboloid is a quadric surface in 3-dimensional space that can be described by a quadratic equation. It has two distinct families of parallel planes and is often found in mathematical models and engineering designs.

How is the intersection between a sphere and hyperboloid calculated?

The intersection between a sphere and hyperboloid is calculated by setting the equations of the two surfaces equal to each other and solving for the common variables. This will result in either a single point, a circle, or a hyperbola, depending on the specific equations of the surfaces.

What are the possible outcomes of a sphere and hyperboloid intersection?

The possible outcomes of a sphere and hyperboloid intersection include a single point, a circle, or a hyperbola. It is also possible for the two surfaces to not intersect at all.

What is the significance of studying sphere and hyperboloid intersections?

Studying sphere and hyperboloid intersections is important in the field of mathematics and engineering, as it allows for the understanding and analysis of complex geometric relationships. This knowledge can then be applied to various real-world problems and designs.

Similar threads

  • Differential Geometry
Replies
7
Views
4K
  • Introductory Physics Homework Help
Replies
12
Views
4K
Replies
3
Views
3K
  • Introductory Physics Homework Help
Replies
10
Views
1K
Replies
4
Views
882
  • Introductory Physics Homework Help
Replies
12
Views
1K
  • Special and General Relativity
Replies
3
Views
905
  • Precalculus Mathematics Homework Help
Replies
17
Views
2K
  • Introductory Physics Homework Help
3
Replies
97
Views
3K
Replies
35
Views
3K
Back
Top