I tried to deform a circle like it was distorted by perspective.
Seems easy : draw circle bounding box – cage edit – rectangle – u and v 2pts – degree 1.
CageEdit is not the correct tool. In the perspective projection point which was at the center of the circle is no longer equal distance from the top and bottom of the circle.
I do have many differents circles like this to deform over a sketch (maybe 30 in different directions). This might be tedious. Any other tool you might think of ?
There is a 1-parameter family of possible ellipses tangent to all 4 sides of a quadrilateral.
Here’s a construction that looks like it gives you the one corresponding to the perspective transformation of a circle in a square:
@Normand, You are right, elipse tool is enough, and circle deformed will always give an elipse, if not an hyperbola or parabola like @Lagom and @DanielPiker point it out.
The challeng is, I need to trace the elipse of my maquette (easy part) AND finding the elipse correct distorted plan (hardest part)…
So depending on its vanishing point location, it proves there is an infinite number of answers…
So I guess I’ll have to determine a random vanishing point/define a random cone, to proceed… Isn’t that quantum physics…
The construction in that post gives a purely geometrical way to get 5 points of the single ellipse which is the perspective deformation of a circle. From there you can use the new TryFitEllipseToPoints function. I’ll post a script later
I’m failing to understand what you are trying to achieve. If you want a perspective drawing of your maquette, draw the circles in the top view as circles, set their height in the front view, and orient the perspective view to the view you want.
What am I missing that requires you to do old school perspective constructions on a 2d drawing surface?
@jeremy5,
This is almost it, except, cones arn’t trimmed with parrallel planes. Cone cutting planes have different orientations. So I’m trying to reconstruct the correct plane for each elipse, meaning finding the deformed square associated with the deformed circle.
I indeed could try to eye ball it this way. Will see if @DanielPiker script is more accurate and easy to use.
CC
The circle/ellipse is not a good choice to try to determine perspective from a single photo. With a single ellipse there are an infinite number of cones which fit the ellipse and therefore an infinite number of possibilities for the perspective/vanishing points. For some situations with multiple circles/ellipses in theory you may be able to determine the perspective/vanishing points.
If you have sufficient number of photos then points based photogrammetry software such as Photomodeler may be used to create 3D geometry from the photos. https://www.photomodeler.com/
If you have Rhino 8 (commercial or educational license) then you can download and use Rhino 9 WIP to draw ellipses. The Ellipse command in Rhino 9 WIP has a FitPoints option which can be used to create an ellipse from a drawing. Just create points around the drawn ellipse and use those points as inputs. Ellipse | Rhino 3-D modeling
FitPoints
Draws an ellipse passing through the selected points as close as possible.