Tech drawing - ellipses in perspective

Click For Summary

Discussion Overview

The discussion revolves around the challenge of drawing an ellipse within a square in perspective, specifically focusing on how to ensure the ellipse is tangential to the midpoints of the square's sides. Participants explore the geometric relationships involved in perspective drawing and seek shortcuts or formulas for determining the correct orientation of the ellipse's axes.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant describes the need to offset the axes of the ellipse to align it properly within the square, noting that simply aligning the axes with the diagonals is not sufficient.
  • Another participant introduces the concept of cross-ratio conservation in perspective projection, suggesting a method to plot the midpoints of the square's sides.
  • There is a discussion about whether the inscribed shape before projection is a circle and how it transforms into an ellipse after projection, with conflicting views on the orientation of the major axis.
  • Some participants mention the complexity of the algebra involved in deriving the angle of rotation for the ellipse, with one suggesting that eyeballing the fit might be a practical approach.
  • A later reply discusses a specific mathematical formulation involving the tangent of the axis angle and the observer's position, indicating that there may be errors in the initial assumptions or calculations.

Areas of Agreement / Disagreement

Participants express differing views on the orientation of the ellipse's major axis after projection, with some asserting it should be parallel to the horizon line while others contest this. The discussion remains unresolved regarding the best method to determine the ellipse's axes and fit it within the square.

Contextual Notes

Participants acknowledge the complexity of the mathematical relationships involved, with some noting the potential for errors in calculations and assumptions about the perspective projection. The discussion highlights the challenges of accurately representing geometric shapes in perspective drawing.

DaveC426913
Gold Member
2025 Award
Messages
24,443
Reaction score
8,678
I'm doing some 2D pencil diagrams (CUD - computer-unaided design).

So I've got a square in perspective (2 point perspective but 1 point perspective is good enough). Now I want to draw an ellipse within it, so that the ellipse is properly tangential to all four midpoints of the square. I have an ellipse template to help draw the ellipses.

I know that you can't just align the long axis and short axis of the ellipse to the diagonals of the square (especially since it will be impossible - the square's diagonals are not perpendicular).

I know you have to offset the angle to the ellipse so that it looks right (lies in the same plane as the square).

Is there a formula for what angle one would offset an ellipse's axes to get it to sit right? (A long calculation would not be much good - I'm looking for a shortcut.)

Any takers?
 

Attachments

  • ellipse.gif
    ellipse.gif
    5.6 KB · Views: 948
Last edited:
Mathematics news on Phys.org
DaveC426913 said:
I'm doing some 2D pencil diagrams (CUD - computer-unaided design).

So I've got a square in perspective (2 point perspective but 1 point perspective is good enough). Now I want to draw an ellipse within it, so that the ellipse is properly tangential to all four midpoints of the square. I have an ellipse template to help draw the ellipses.

I know that you can't just align the long axis and short axis of the ellipse to the diagonals of the square (especially since it will be impossible - the square's diagonals are not perpendicular).

I know you have to offset the angle to the ellipse so that it looks right (lies in the same plane as the square).

Is there a formula for what angle one would offset an ellipse's axes to get it to sit right? (A long calculation would not be much good - I'm looking for a shortcut.)
If four equally spaced points in a straight line are seen in projection, their cross-ratio is conserved. See http://en.wikipedia.org/wiki/Cross-ratio#Definition
If we take two vertices of the square and their midpoint as z1, z3, z2 respectively, and put z4 at infinity it gives a x-ratio of 2. In the projected form, z4 is the vanishing point of the line. This should allow you to plot the midpoints of the sides. Is that enough to fit the ellipse (whih I assume was a circle before projection)?
 
You miss the point.
haruspex said:
If four equally spaced points in a straight line are seen in projection, their cross-ratio is conserved. See http://en.wikipedia.org/wiki/Cross-ratio#Definition
If we take two vertices of the square and their midpoint as z1, z3, z2 respectively, and put z4 at infinity it gives a x-ratio of 2. In the projected form, z4 is the vanishing point of the line. This should allow you to plot the midpoints of the sides. Is that enough to fit the ellipse (whih I assume was a circle before projection)?
I've got the midpoints of the square. How do I fit the ellipse? Eyeball it?
 
Since it's a square before projection, the inscribed shape was a circle before projection, right? After projection, the major axis of the ellipse will be parallel to the horizon line, no?
That doesn't look right in your thumbnail, but then the square doesn't either.
 
haruspex said:
Since it's a square before projection, the inscribed shape was a circle before projection, right
Right.

haruspex said:
After projection, the major axis of the ellipse will be parallel to the horizon line, no?
No. Why would it?

haruspex said:
That doesn't look right in your thumbnail, but then the square doesn't either.

Attached is a better pic.

There's no way an ellipse will fit into a perspective square without being rotated.
 

Attachments

  • ellipse.png
    ellipse.png
    9 KB · Views: 817
Ah yes, they do tilt. Quite subtle: in a line of circles straight across left to right, the one in the middle is level, and they must tend back to level at infinity, but they tilt in between.
I tried this, but the algebra gets heavy:
- start with ax2+by2=1
- apply a rotation through theta
- apply a shift of origin; we now have 5 unkowns
- use some combination of the 8 equations based on knowing the ellipse passes through the midpoints of the square's sides and is tangential to the square at those places.
- solve for theta (!)
 
Yeah, I solved it for theta some time ago (using the matrix representation of an ellipse).
It gets heavy.
I couldn't find a clear construction method to find the long and short axes, or the angle.

So I recommend eyeballing it, using the fact that the ellipse has to "touch" the square at its midpoints.

At least a circle in perspective is an ellipse.
 
Last edited:
Progress, perhaps.
I considered a simple example. Circle radius c at (a,b) in the XY plane. Observer at (0,0,z). Viewing pane at (*,1,*), i.e. parallel to XZ plane.
I get tan of the axis angle satisfies
t2 - kt = 1
where
k = (z2 - a2 - b2 - c2)/(za)

Postscript:
There's a sign wrong somewhere. Put negative z to view from above.
I plotted this up on a spreadsheet for 5 adjacent circles, i.e. stepping a by 2c. it looks right.
 
Last edited:

Similar threads

  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 6 ·
Replies
6
Views
32K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 71 ·
3
Replies
71
Views
10K
  • · Replies 21 ·
Replies
21
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K