orthographic Questions
2
Solved
I have fov angle = 60, width = 640 and height = 480 of window, near = 0.01 and far = 100 planes and I get projection matrix using glm::perspective()
glm::perspective(glm::radians(fov),
width / he...
Ge asked 4/3, 2019 at 16:29
4
Solved
I am trying to create spinning globe with bars like in this example. You can see my example here. And everything goes fine until bars go over horizon. I have no idea how to cut bars from the bottom...
Claudetta asked 17/7, 2015 at 15:51
2
Solved
I am trying to draw circles at a given geographical coordinate with a certain radius using cartopy. I want to draw using an orthographic projection, which is centred at the centre of the circle.
I...
Edinburgh asked 30/8, 2018 at 21:23
2
I am not able to what gluOrtho2D() function is doing? Is it fixing the origin at some particular point on the OpenGL window or something else?
This is because gluOrtho2D(1,1,1,1) fixes the origin ...
Danford asked 7/4, 2018 at 7:36
1
Solved
I try to switch between Perspective and Orthographic cameras in my script.
I want object on some depth to keep it's projection size.
I gave up to understand the geometry...
Could you provide some l...
Sonni asked 10/1, 2018 at 12:22
1
Solved
I have developed a simple three.js application that renders a cube, and which have several buttons to set fixed camera positions. I have a demo of my code here: https://jsfiddle.net/ph0ropg7/9/
In...
Vesuvianite asked 11/9, 2017 at 9:52
4
Solved
I am creating a game which has up to 4 orthographic cameras (for up to 4 players), which take up various amounts of the screen, depending on the amount of players.
I have a script which contro...
Land asked 3/1, 2015 at 7:48
2
Solved
I am running into a bit of difficulty selecting objects with the orthographic camera using the raycaster. Though, I have no problem with it when I use a perspective camera. The only thing I am chan...
Matte asked 31/8, 2013 at 22:1
1
Solved
I'm an android developer, building my first game using LibGDX. After reading A LOT, there is still one thing I don't understand.
I realize I should have one set of images, for the highest resoluti...
Ingravescent asked 18/4, 2016 at 9:26
2
I have an orthographic camera and would like to implement a zoom feature to a specific point. I.e., imagine you have a picture and want to zoom to a specific part of the picture.
I know how to zoo...
Cornered asked 2/9, 2013 at 11:7
2
Solved
I'm currently studying how to use libgdx and now I'm wrestling with the idea of an orthographic camera. I've watched a video explaining the difference between a perspective camera and an orthograph...
Abiotic asked 12/10, 2013 at 4:45
3
I'm new to libGDX and android game dev. And I want to achieve this:
I have a Screen and within it, a ball sprite that is moving along the X axis. Now I want to center the viewport to the sprite wh...
Poesy asked 26/7, 2012 at 9:58
1
Solved
I'm working on this and I'm having trouble with clipping the red circle elements as they appear on the globe even past the 90˚ clip angle. Also, is there a way you can apply the projection to the r...
Stipulation asked 3/4, 2013 at 4:25
3
Solved
I have done programming in OpenGL and I know how to set the viewable area in it with gluOrtho(), but a function like this does not exist in OpenGL ES 2.0.
How would I do this in OpenGL ES 2.0?
P...
Depicture asked 23/6, 2011 at 3:46
1
Solved
I have the scene with one simple triangle. And i am using perspective projection. I have my MVP matrix set up (with the help of GLM) like this:
glm::mat4 Projection = glm::perspective(45.0f, 4.0f ...
Floss asked 5/3, 2012 at 20:49
2
Solved
I've rendered a 3D scene using glFrustum() perspective mode. I then have a 2D object that I place over the 3D scene to act as a label for a particular 3D object. I have calculated the 2D position o...
Kragh asked 24/1, 2012 at 16:51
1
Solved
On OpenGL-ES i'm confused on what the difference is between setting
glOrthof()
glViewPort()
GLU.gluOrtho2D()
with it's respective parameters. Since I believe it's all setting the part you can ...
Claribelclarice asked 27/9, 2011 at 16:55
1
Solved
This is how I turn on ortho projection after drawing 3D objects:
glMatrixMode(GL_PROJECTION);
glLoadIdentity();
glOrtho(0,Screen_Width,Screen_Height,0,0,1);
And this is how I turn on blending an...
Incompletion asked 10/9, 2011 at 17:14
2
Solved
I am having trouble setting a orthographical projection matrix of dimensions 4x2 with (0,0) being in the center, (-2, -1) being at the bottom left corner, and (2, 1) being at the top right corner.
...
Purge asked 5/11, 2010 at 5:53
1
© 2022 - 2024 — McMap. All rights reserved.