Questions tagged [perspective]

In Eclipse, a perspective defines the initial set and layout of views in the Workbench window. In CSS, perspective is a property and concept used in 3D transforms.

In Eclipse, a perspective defines the initial set and layout of views in the Workbench window. Within the window, each perspective shares the same set of editors. Each perspective provides a set of functionality aimed at accomplishing a specific type of task or works with specific types of resources. Perspectives control what appears in certain menus and toolbars. They define visible action sets, which you can change to customize a perspective. You can save a perspective that you build in this manner, making your own custom perspective that you can open again later.

In CSS, the perspective property determines the distance between the user and the z=0 plane, affecting the amount of distortion caused by 3D transforms. The perspective-origin property is related.

733 questions
19
votes
1 answer

Skew one corner of image

I'm trying to skew one single corner of my div background as shown at the green checkmark in the image below: In CSS3 I'm however unable to achieve that, skewing completely skews every corner. I just want to skew the bottom right corner to the left…
bartjansen
  • 203
  • 1
  • 2
  • 7
18
votes
2 answers

OpenCV Homography, Transform a point, what is this code doing?

I'm working with a homography calculated by OpenCV. I currently use this homography to transform points using the function below. This function performs the task I require however I have no clue how it actually works. Can anyone explain, line by…
Jayson
  • 221
  • 1
  • 2
  • 6
17
votes
2 answers

'git' cannot be made visible because all of its children are in unavailable action sets

I have this problem and I have no idea how to get the Git section on the toolbar. The image below shows the specific error : Thank you for all your answers!
SDG
  • 2,260
  • 8
  • 35
  • 77
17
votes
2 answers

Understanding Perspective Projection Distortion ImageMagick

For a project I am trying to create a perspective distortion of an image to match a DVD case front template. So I want to automate this using ImageMagick (CLI) but I have a hard time understanding the mathematical aspects of this…
Jurgen
  • 311
  • 3
  • 10
16
votes
2 answers

Curvilinear perspective: Convert 3D to 2D

I'm looking for the mathematical expression converting a 3D coordinate (x0,y0,z0) to a 2D (x1,y1) coordinate in a curvilinear perspective of radius R where the values of x1 and y1 are the angles of views {-90° .. +90°} of the original…
Pierre
  • 34,472
  • 31
  • 113
  • 192
15
votes
2 answers

Mode7-like perspective transform in canvas?

I'm making a canvas-based game engine and am wondering if anyone has any good info on how to achieve an overhead view perspective. What I'm looking for is somewhere halfway between the traditional birds eye view and the old SNES mode7 view. Just a…
Stephen Belanger
  • 6,251
  • 11
  • 45
  • 49
15
votes
3 answers

Export single Eclipse Perspective and Settings

I customized my Eclipse for a special Latex Perspective and saved this perspective as "MyLatex". I even added shortcuts in my texlipse preferences, so that I can type "tab"+strg+space to insert a table. Now I would like to offer this to friends. I…
Philipp Andre
  • 997
  • 3
  • 11
  • 18
12
votes
3 answers

square to trapezoid

I know that transforming a square into a trapezoid is a linear transformation, and can be done using the projective matrix, but I'm having a little trouble figuring out how to construct the matrix. Using the projective matrix to translate, scale,…
Andrew Prock
  • 6,900
  • 6
  • 40
  • 60
12
votes
2 answers

Inverse Homography

I get an H matrix using findHomography function. H = findHomography(points_src, points_dst); Then, I use H with warpPerspective to get a perspective projection of the image warpPerspective(im_src, im_dst, H, Size(100, 100)); and from here I get…
11
votes
2 answers

Can you do an isometric perspective with HTML5 ?

It is possible to do an isometric perspective with HTML5 ? It is with setTransform? Or does it exist another way? Example: ctxt.setTransform (1, -0.2, 0, 1, 0, 0); Something like the perspective of Farmville. Thanks a lot.
anvd
  • 3,997
  • 19
  • 65
  • 126
11
votes
2 answers

Distorting an image to a quadrangle fails in some cases on Android

I'm using matrix.setPolyToPoly function to transform a selected region (4 corners) of a bitmap into a rectangle and normally it works amazing. But in the next example: The polyToPoly function fails the perspective transform: I have drawn two lines…
Pep Santacruz
  • 487
  • 3
  • 11
11
votes
3 answers

How can I change custom perspective's icon in eclipse?

I want to change my custom perspective's icon in eclipse. I have searched a lot but I didn't find any solution.
fatihsuat
  • 111
  • 1
  • 5
10
votes
3 answers

Perspective Projection with OpenGL

I am confused about perspective projection. Here is the scenario that is confusing me. My frustrum's front plane is basically positioned at at positive z-axis and the back plane at a negative axis and rotated about some deg along the posive…
John Cassidy
  • 103
  • 1
  • 1
  • 4
10
votes
3 answers

Opengl perspective distortion

I'm having this weird issue and I'm hoping someone could clear this up for me so I can understand what's wrong and act accordingly. In OpenGL (fixed-function) I'm rendering a tube with inner faces in an orthographic projection. The image below shows…
Will Kru
  • 5,164
  • 3
  • 28
  • 41
10
votes
5 answers

Origami transition using CATransform3D perspective

I'm trying to achieve a kind of origami transition on two UIView using only layer capabilities. The idea is to fold two views with a perspective effect. Both views have a perspective, the transition is defined by a rotation on each view, as well as…
Phil
  • 2,784
  • 2
  • 28
  • 26
1
2
3
48 49