Warp Perspective

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Warp Perspective

Angelos58
Good morning everyone.
This is my first post.
Is there in LibreCad a warp perspective tool?
A workaround too.

Thank you

Angelo
Reply | Threaded
Open this post in threaded view
|

Re: Warp Perspective

dxli
Currently, no.

Of course, if you want to construct perspective manually, we have enough line methods for that.

I think that's a very interesting method to add:

1, perspective of conic sections are conic sections, so we have enough geometry primitives for the method;
2, I have started to add a new skew method, and only the engine supprt is implemented so far;
3, we can add those two methods together completing our projection support: with skew for orthogonal.

Angelos58 wrote
Good morning everyone.
This is my first post.
Is there in LibreCad a warp perspective tool?
A workaround too.

Thank you

Angelo
Reply | Threaded
Open this post in threaded view
|

Re: Warp Perspective

flywire
In reply to this post by Angelos58
Reply | Threaded
Open this post in threaded view
|

Re: Warp Perspective

dellus
In reply to this post by Angelos58
What exactly do you want to use this for?
Reply | Threaded
Open this post in threaded view
|

Re: Warp Perspective

dxli
In reply to this post by flywire
I want to support conic sections as well
flywire wrote
Reply | Threaded
Open this post in threaded view
|

Re: Warp Perspective

Angelos58
In reply to this post by dxli
Thank you very much for link.
A lot of interesting issues.

Is there also tutorial for wrapping perspective a shape? For example a circle.

Reply | Threaded
Open this post in threaded view
|

Re: Warp Perspective

dxli
This post was updated on .
Not really a tutorial.

In LibreCAD, there's a drawing method to create an inscribed ellipse of a generic quadrilateral. The algorithm is based on:

A quadrilateral is a perspective of a square;
Finding the inscribed circle of a square is trivial;
The perspective of this circle gives the inscribed ellipse of the quadrilateral;
so the ellipse is found from the perspective of a circle.

My goal is to implement a way to allow specifying a perspective transform from GUI, and transform any selected entities (point, line, circle, ellipse, parabolas, splinepoints, cubic splines(need to verify the math)) to their perspective projection.
Angelos58 wrote
Thank you very much for link.
A lot of interesting issues.

Is there also tutorial for wrapping perspective a shape? For example a circle.