Jump to content

Implicit surface


Recommended Posts

How do you parametrize an implicit surface? The surface in question is quadratic in terms of x, y, and z. Ie., 0 = ax squared + bx + cy squared + dy + ez + fz + gxy + hxz + uyz +j. I want general parametrization for all arbitrary constants from a-j. Answer should probably involve some combination of trigonometric functions of uv.

I am asking this question for my son who does not have internet access. I will copy, paste, print, and send the answer to him. My mathematics background is far short of being able to understand this. Thank you.

Link to comment
Share on other sites

Whomsoever it is for, is this homework or coursework ?

Before trying to generate a parametrisation you need to confirm some things.

1) Why are there two coefficients of z (e and f) ?

2) Why is the coefficient of yz (u) and what is its relationship to uv?

3) What is v ?

Link to comment
Share on other sites

Neither, independent study, preparing for college.  He is interested in ray-tracing.  He apologizes-- he wrote the formula wrong and I have a hearing loss.  This is by telephone. ax2 + bx + cy2 + dy + ez2 + fz + gxy + hxz + iyz + j =0

  x,y,z are all functions of u and v  

He thanks you.  So do I.

 

 

 

Link to comment
Share on other sites

1 hour ago, Richard Baker said:

He is interested in ray-tracing.

Typical way ray-tracing is implemented is divide geometry to triangles (at startup) and find intersection between each triangle and ray (origin and direction vectors).

Link to comment
Share on other sites

12 hours ago, Richard Baker said:

I don't know how relevant the current area of exploration is to this stated interest.  But I will relay this.  Difficult, but no-one where he is has can answer these questions.  And neither can I.  So this is the tenth-best solution.

It's very complicated because of the cross products (xy, xz, yz) in the general equation.

Surfaces have a general equation f(x,y,z) = 0

The equation you refer to is called a quadric and the surfaces are called quadric surfaces.

Obtaining a parameterisation means obtaining three equations

x = f1 (u,v)

y = f2(u,v)

z = f3(u,v)

So that each RHS only contains the parameters u and v and each LHS only contains one of the coordinates.

For 3 dimensions there are many more possibilities than for 2 so the surfaces are often split into further sub categories, each with its own parametrisation.
As with 2D to eliminate the efects of the cross products you would normally perform a coordinate transformation first.

These are purely analytical methods,

I was preparing a detailed explanation, but this often takes me some time so here are five references to be going on with.

Sensei mentioned computer methods which work on a different plan and the last reference is about that.

https://opentextbc.ca/calculusv3openstax/chapter/quadric-surfaces/

https://www.win.tue.nl/~sterk/Bouwkunde/hoofdstuk3.pdf

https://tutorial.math.lamar.edu/classes/calciii/parametricsurfaces.aspx

https://www.researchgate.net/publication/241165348_A_Simple_Method_for_the_Parameterization_of_Quadric_Surfaces

http://staff.ustc.edu.cn/~dengjs/files/papers/47 mu23.pdf

 

What sort of college course has this stuff as a pre requisite ?

 

 

Edited by studiot
Link to comment
Share on other sites

I will copy and mail what is in those links.  Thank you.  

While he is waiting, he has another question: I have nine points in 3d space and would like to find with the same formula previously discussed the coefficients a-j.  I applied Kramer's rule but determinant equals 0.  Am I missing something? 

Link to comment
Share on other sites

3 hours ago, Richard Baker said:

I will copy and mail what is in those links.  Thank you.  

While he is waiting, he has another question: I have nine points in 3d space and would like to find with the same formula previously discussed the coefficients a-j.  I applied Kramer's rule but determinant equals 0.  Am I missing something? 

In order that a quadric through 9 given points may be determinate:-

1)  No four of the nine points may lie on one straight line

2) No more than six may lie in one plane

3) No more than 5 may lie on one conic.

Link to comment
Share on other sites

If I added cubic terms and made it a cubic surface, would there be the same limitations?

If I added cubic terms and try to match it up with sixteen points, would there be the same limitations?

 

Edited by Richard Baker
Link to comment
Share on other sites

12 minutes ago, Richard Baker said:

If I added cubic terms and made it a cubic surface, would there be the same limitations?

If I added cubic terms and try to match it up with sixteen points, would there be the same limitations?

 

Have you a particular example in mind ?

Link to comment
Share on other sites

Suppose I had a triangular mesh that formed a Tyrannosaurus Rex, for example.  Would it be possible to divide that model into quadric surfaces or cubic surfaces?  I am concerned about the problem of the double hyperboloid or analogous surface of the third degree.  That would split up the model and make the t. rex disconnected. 

Link to comment
Share on other sites

18 minutes ago, Richard Baker said:

Suppose I had a triangular mesh that formed a Tyrannosaurus Rex, for example.  Would it be possible to divide that model into quadric surfaces or cubic surfaces?  I am concerned about the problem of the double hyperboloid or analogous surface of the third degree.  That would split up the model and make the t. rex disconnected. 

Start here for mesh modelling of real world solid objects. (if a T Rex is real world 🙂)

https://en.wikipedia.org/wiki/Coons_patch

Link to comment
Share on other sites

Since we are leaning towards (computer) applications, rather the the pure Math of Analytical or Algebraic Geometry i would recommend the any/all of the following books.

The first three are particularly applicable to CAD, meshes and so on,

The last (Cundy) is a fun book about the practical side of making physical models of Mathematical objects such as polyhedra, the cone that runs uphill and many more.

CAD1.jpg.0607f59bf2965fb97230c1bbec3b270c.jpgCAD2.jpg.bd619d9968958af6ae8303173e22e9ed.jpgCAD3.jpg.23f52d33afdfc9f8c65d6ca88959a836.jpgCAD4.jpg.1114c2ec89226b76fa58add1b6b46f22.jpg

Link to comment
Share on other sites

Thank you all.  One last question.  Relating to the case of the hyperbolic paraboloid.  I have a paraboloid in the form of a*x2-b*y2= c*z. I have a very messy parametrization for the hyperbolic paraboloid that has many if...then conditions.  Is there a simpler way to do parameterizations in terms of u and v?  

Link to comment
Share on other sites

On 7/24/2021 at 1:14 AM, Richard Baker said:

Thank you all.  One last question.  Relating to the case of the hyperbolic paraboloid.  I have a paraboloid in the form of a*x2-b*y2= c*z. I have a very messy parametrization for the hyperbolic paraboloid that has many if...then conditions.  Is there a simpler way to do parameterizations in terms of u and v?  

Hyperbolic functions. It's done in relativity all the time. Whistle if you need more help. ;) 

Clues: Rescale x and y; then assign hyperbolic cosine (cosh) and sine (sinh). z goes along for the ride. 

Link to comment
Share on other sites

  • 1 month later...

Suppose I have that hyperbolic paraboloid rotated in space so the saddle is pointed to the right or left or any other direction.  I would have to parameterize that in terms of hyperbolic sine and hyperbolic cosine, correct?  How would I go about doing that?  I worked out the implicit expression by rotating the coordinate system but whenever I use hyperbolic sine or cosine in my parametrization it only captures the upper half of the saddle.  (he had to leave the phone, says you can figure out the rest of the question.)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.